react-native-card.io
react-native-card.io copied to clipboard
Bitcode error trying to compile
Hello,
I followed the instructions to add this library to my iOS project, which has bitcode enabled. When I try to build the project, I get this error:
ld: '/Users/me/Library/Developer/Xcode/DerivedData/project-aekjmlyhdpfwfrcsknzaeicbsrgn/Build/Products/Debug-iphoneos/libBBBCardIO.a(libCardIO.a-arm64-master.o)' does not contain bitcode. You must rebuild it with bitcode enabled (Xcode setting ENABLE_BITCODE), obtain an updated library from the vendor, or disable bitcode for this target. for architecture arm64 clang: error: linker command failed with exit code 1 (use -v to see invocation)
I confirmed that bitcode is enabled for the libBBBCardIO project. As far as I can tell, the issue is with libCardIO.a. I can't disable bitcode since I've had trouble submitting apps to the app store without it.
Thanks.
For reference this does not appear to be an issue in https://github.com/kayla-tech/react-native-card-io as that library includes the card.io-iOS-SDK source (https://github.com/kayla-tech/react-native-card-io/tree/develop/ios/libs/card.io-iOS-SDK)
Thanks :)
I ran into the same problem as @lrettig.