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

building for iOS Simulator, but linking in object file built for iOS, file (libCardIO.a)

Open SudoPlz opened this issue 4 years ago • 16 comments

Hey friends,

looks like we can no longer build our app with Xcode 12 because of the libCardIO.a file.

Specifically the error we get is:

ld: in /Users/sp/Development/example/mobile/ios/Pods/CardIO/CardIO/libCardIO.a(CardIOCardholderNameTextFieldDelegate.o), building for iOS Simulator, but linking in object file built for iOS, file '/Users/sp/Development/example/mobile/ios/Pods/CardIO/CardIO/libCardIO.a' for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

Has anyone faced that before?

SudoPlz avatar Feb 22 '21 20:02 SudoPlz

@SudoPlz have you fixed this issue?

AndriiUhryn avatar Mar 05 '21 06:03 AndriiUhryn

@AndriiUhryn not yet, still struggling with this one. Have you?

SudoPlz avatar Mar 05 '21 06:03 SudoPlz

have you tried this ? https://developer.apple.com/forums/thread/657913

kostia-berymo avatar May 26 '21 10:05 kostia-berymo

I did, but it didn't work for me.

SudoPlz avatar May 26 '21 19:05 SudoPlz

@SudoPlz have you fixed this issue?

18518251995 avatar Jun 17 '21 07:06 18518251995

Nope, I removed card.io ... -.-

SudoPlz avatar Jun 17 '21 15:06 SudoPlz

@SudoPlz do you have an M1?

zacdemi avatar Jun 21 '21 21:06 zacdemi

@zacdemi not really, why?

SudoPlz avatar Jun 22 '21 14:06 SudoPlz

@zacdemi I'm using M1 and running into this issue. any idea? Thanks

StanSarr avatar Dec 23 '21 02:12 StanSarr

Same issue as @StanSarr with M1. Any suggestion @SudoPlz ?

eTryp avatar Jun 21 '22 12:06 eTryp

@eTryp sorry we ditched card.io in favour of stripe sdk which offers a card scanning feature.

SudoPlz avatar Jun 21 '22 15:06 SudoPlz