Closed woodpav closed 7 years ago
Yes! I figured it out!
TLDR: Use npm install
not yarn add
Using yarn add aws-sdk-react-native-core-0.0.2.tgz
breaks AWSCore.framework
:
Using npm install aws-sdk-react-native-core-0.0.2.tgz
leaves AWSCore.framework
as it should be:
I cannot get it to build following the instructions in the guide in #35 .
I get the error
#import <AWSCore/AWSCore.h>
file not found.I have AWSCore.framework in Libraries > Core.xcodeproj > Frameworks. Expanding it shows that it is empty (not sure if normal).
I also have a AWSCore.framework listed directly below the Project. Expanding that also shows nothing.
It looks like the header search paths are working correctly because the file that is throwing the error is included from
node_modules/aws-sdk-react-native-core/ios/Frameworks
. Project build settings frameworks search paths has$(SRCROOT)/../node_modules/aws-sdk-react-native-core/ios/Frameworks
.Opening that folder in finder shows AWSCore.framework. Expanding that shows Modules and Versions.
Ive also got AWSCore.framework in Target > General > Embedded Libraries.
Any idea what could be going wrong?
Its worth noting that the Android build works.