-
Notifications
You must be signed in to change notification settings - Fork 86
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Confused on how to add the library to a project #9
Comments
Hi @mitchellporter, You'll want to clone the repository within a folder in your project (I usually use a folder called "Library"), then drag the TheAmazingAudioEngine.xcodeproj file into your project. Find your app's build target, then go into Build Phases and add the TheAmazingAudioEngine target to the Target Dependencies list, and then add libTheAmazingAudioEngine.a to the Link Binary With Libraries list. Finally, locate the Header Search Paths setting within Build Settings, and add I'll be adding a Cocoapods repository as soon as TAAE2's out of beta (which will be soonish - once I'm done writing the documentation) |
@michaeltyson Thanks for the fast reply. I followed your directions exactly, and I'm still running into the same issue. I created a new folder in my project's folder called I'm fairly certain what I entered for the Header Search Paths is correct: Am I correct that the error most likely has to do with the Header Search Path not being correct? I'm going to create a quick test project, follow your instructions, reproduce the error, and will link you to it. |
No problem =) Yeah, it's going to be a search path problem. I think you need to have just |
Ok so I tried your most recent comment, along with a ton of random experimentation but still couldn't get it to work. Apparently header search paths are my ultimate weakness. Here's the test project I just made. I followed your instructions exactly. I included some extras in the project like my typical Podfile setup etc. in case that was affecting anything.: https://github.com/mitchellporter/TAAE2Error Thanks for the help. |
Ah, you're working with a workspace (duh)! That makes it a lot easier. Just set your header search paths to (Take a look at TAAESample's build settings) |
Ha, it builds now! This is what happens when you rely on Cocoapods for dependency management instead of getting your hands dirty. Thanks for the help I really appreciate it. Excited to get back to testing! |
No worries =) Yeah, I tend to avoid using Cocoapods as I prefer to have more control over dependencies, but that's just me! |
I just sent you an email :) Thanks again for the help and all your hard work on TAAE cheers. |
Hey Michael,
First off thanks for all of the hard work that you put into the original TAAE, this is my first time using it but have been a fan and following the progress over the years. Was really interested in this re-write, so wanted to start testing it.
I had no problem installing the original TAAE via Cocoapods in a project a few minutes ago, but having trouble installing this one. I dragged the files over from the sample, but i'm getting "file not found" errors in TheAmazingAudioEngine.h file.
Am I understanding correctly that this is a new library, or is it still utilizing the old one? Would love to install this ASAP so I can continue testing.
Thanks.
The text was updated successfully, but these errors were encountered: