react-native-card.io icon indicating copy to clipboard operation
react-native-card.io copied to clipboard

Bitcode error trying to compile

Open lrettig opened this issue 9 years ago • 2 comments

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.

lrettig avatar Mar 29 '16 18:03 lrettig

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 :)

lrettig avatar Mar 29 '16 19:03 lrettig

I ran into the same problem as @lrettig.

alexleventer avatar Apr 27 '16 15:04 alexleventer