Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

duplicate symbol _messageForError #6

Closed
codehob opened this issue Oct 6, 2016 · 13 comments
Closed

duplicate symbol _messageForError #6

codehob opened this issue Oct 6, 2016 · 13 comments
Labels

Comments

@codehob
Copy link

codehob commented Oct 6, 2016

duplicate symbol _messageForError in:
/Users/iphonedeploy/Library/Developer/Xcode/DerivedData/punchinout-dbqwmosndkfyrhcrkbcebsnepfyv/Build/Products/Debug-iphonesimulator/libRNKeychain.a(RNKeychainManager.o)
/Users/iphonedeploy/Library/Developer/Xcode/DerivedData/punchinout-dbqwmosndkfyrhcrkbcebsnepfyv/Build/Products/Debug-iphonesimulator/libRNSensitiveInfo.a(RNSensitiveInfo.o)
duplicate symbol _makeError in:
/Users/iphonedeploy/Library/Developer/Xcode/DerivedData/punchinout-dbqwmosndkfyrhcrkbcebsnepfyv/Build/Products/Debug-iphonesimulator/libRNKeychain.a(RNKeychainManager.o)
/Users/iphonedeploy/Library/Developer/Xcode/DerivedData/punchinout-dbqwmosndkfyrhcrkbcebsnepfyv/Build/Products/Debug-iphonesimulator/libRNSensitiveInfo.a(RNSensitiveInfo.o)
ld: 2 duplicate symbols for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

@mCodex mCodex closed this as completed May 16, 2017
@zibs
Copy link

zibs commented Jun 29, 2017

I'm also getting this - is there a way to resolve? Why was this closed exactly? I'm trying to use this library alongside RNKeychain - and it seems the two are incompatible.

@mCodex mCodex reopened this Jun 30, 2017
@mCodex
Copy link
Owner

mCodex commented Jun 30, 2017

Hello @zibs , I couldn't reproduce that. Could you provide an example?

@zibs
Copy link

zibs commented Jul 17, 2017

@mCodex Sorry it took me so long to get back to you:
https://github.com/zibs/keychain-and-info-example

You should be able to just clone + yarn + run this on your iPhone and you will see the error. It will work on the simulator, and it works on the Android device as well. But it does not work on an actual iPhone.

Thanks!

@mCodex
Copy link
Owner

mCodex commented Jul 22, 2017

@zibs thank you!

mCodex pushed a commit that referenced this issue Aug 4, 2017
Merge pull request #37 from evollu/patch-3
@DavidPotter
Copy link

My team is running into this as well. It appears that this is fixed in the repo but a new version has not been published. When will you be publishing a new version with all the changes from the past 4+ months?

@DavidPotter
Copy link

Hmm, I may have posted my comment on the wrong issue. I'm getting a different warning. I'll open a new issue for that. Sorry.

@mCodex
Copy link
Owner

mCodex commented Oct 28, 2017

Hello Guys, is this still happening in v5.2.0 (currently beta)?

@mCodex mCodex added the iOS label Oct 28, 2017
@waseemshahwan
Copy link

Yes. I'm having build errors in v5.2.0.

ld: warning: object file (~/app/ios/build/Build/Products/Debug-iphonesimulator/libRNKeychain.a(RNKeychainManager.o)) was built for newer iOS version (8.3) than being linked (8.0)
duplicate symbol _messageForError in:
    ~/app/ios/build/Build/Products/Debug-iphonesimulator/libRNKeychain.a(RNKeychainManager.o)
    ~/app/ios/build/Build/Products/Debug-iphonesimulator/libRNSensitiveInfo.a(RNSensitiveInfo.o)
ld: 1 duplicate symbol for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

@enricotelesca-ada
Copy link

same here, did anyone solve?

@alexmbp
Copy link

alexmbp commented Apr 23, 2018

Have the same issue. Together with react-native-keychain. I believe - issue is with cocoapods while RNKeychain using pods and RN Sensitive Info does not. We have to add local pod spec to make it working. Not sure about it

@lucasbento
Copy link

I had the same issue, this indeed conflicts with react-native-keychain (thanks @alexmbp).

@mCodex
Copy link
Owner

mCodex commented May 23, 2018

Can anyone make a PR for that? Please :D

@mCodex
Copy link
Owner

mCodex commented Aug 7, 2018

This fix is available on latest beta version (5.2.5).

yarn add react-native-sensitive-info@beta

Tks @grigorigoldman

@mCodex mCodex closed this as completed Oct 8, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

8 participants