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

Question compilation error Xcode #147

Closed
mschipperheyn opened this issue Mar 22, 2016 · 6 comments
Closed

Question compilation error Xcode #147

mschipperheyn opened this issue Mar 22, 2016 · 6 comments

Comments

@mschipperheyn
Copy link

Hi,

I'm getting this compilation exception in XCode. I'm wondering if you can shine any light on this?

`ld: warning: object file (/Users/marc/Library/Developer/Xcode/DerivedData/msa_mobile-gnwkkilvjnakkdekwmrrjndwxeuc/Build/Products/Debug-iphonesimulator/libRNVectorIcons.a(RNVectorIconsManager.o)) was built for newer iOS version (8.3) than being linked (7.0)

ld: warning: object file (/Users/marc/Library/Developer/Xcode/DerivedData/msa_mobile-gnwkkilvjnakkdekwmrrjndwxeuc/Build/Products/Debug-iphonesimulator/libRCTNetwork.a(RNVectorIconsManager.o)) was built for newer iOS version (8.3) than being linked (7.0)

duplicate symbol OBJC_CLASS$_RNVectorIconsManager in:
/Users/marc/Library/Developer/Xcode/DerivedData/msa_mobile-gnwkkilvjnakkdekwmrrjndwxeuc/Build/Products/Debug-iphonesimulator/libRNVectorIcons.a(RNVectorIconsManager.o)
/Users/marc/Library/Developer/Xcode/DerivedData/msa_mobile-gnwkkilvjnakkdekwmrrjndwxeuc/Build/Products/Debug-iphonesimulator/libRCTNetwork.a(RNVectorIconsManager.o)

duplicate symbol OBJC_METACLASS$_RNVectorIconsManager in:
/Users/marc/Library/Developer/Xcode/DerivedData/msa_mobile-gnwkkilvjnakkdekwmrrjndwxeuc/Build/Products/Debug-iphonesimulator/libRNVectorIcons.a(RNVectorIconsManager.o)
/Users/marc/Library/Developer/Xcode/DerivedData/msa_mobile-gnwkkilvjnakkdekwmrrjndwxeuc/Build/Products/Debug-iphonesimulator/libRCTNetwork.a(RNVectorIconsManager.o)

duplicate symbol OBJC_IVAR$_RNVectorIconsManager._bridge in:
/Users/marc/Library/Developer/Xcode/DerivedData/msa_mobile-gnwkkilvjnakkdekwmrrjndwxeuc/Build/Products/Debug-iphonesimulator/libRNVectorIcons.a(RNVectorIconsManager.o)
/Users/marc/Library/Developer/Xcode/DerivedData/msa_mobile-gnwkkilvjnakkdekwmrrjndwxeuc/Build/Products/Debug-iphonesimulator/libRCTNetwork.a(RNVectorIconsManager.o)

ld: 3 duplicate symbols for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
`

@mschipperheyn
Copy link
Author

When I update the deployment target to 8.3, I'm only left with the duplicate symbol exception

@mschipperheyn
Copy link
Author

Seemed that somehow A vector icon library file got referenced in RTNetwork somehow

@oblador
Copy link
Owner

oblador commented Mar 23, 2016

It seems to me like you've added this library twice somehow, probably via a another dependency. Try starting a clean project with vector-icons and add your other dependencies one by one until it breaks.

@oblador
Copy link
Owner

oblador commented Mar 28, 2016

While I think it's unrelated, I've changed deployment target to iOS 7.0 in the latest release.

@rturk
Copy link

rturk commented Apr 1, 2016

Looks like this was resolved via ce22fd8

@oblador
Copy link
Owner

oblador commented Apr 1, 2016

Aight, closing for now

@oblador oblador closed this as completed Apr 1, 2016
corbt pushed a commit to corbt/react-native-vector-icons that referenced this issue Apr 25, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants