Reputation: 4288
I have a project in Xcode that I need to use the AWS SDK in, and for whatever reason, I cannot get it to work. If I copy the AWS.framework folder into my project folder, and then drag it into the Xcode window under Frameworks, all of the files under the Headers folder are red.
If I drag the folder from another location and allow Xcode to copy the framework over, all the files are black in the list.
However, when I try and import the headers (#import <AWSiOSSDK/etc
), it says it can't find the file, and the AWS SDK doesn't appear in the autocomplete when I'm typing out the import statement. Am I importing it right, or is there something else I'm doing wrong?
Upvotes: 3
Views: 3484
Reputation: 8501
Go to target and click tab "Build Phases" and add your SDK
into "link binary with libraries".. I didn't try add SDK
files into my project. But try it. After you added that, clean your project and then try import files from your framework.
Upvotes: 3