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

Getting duplicate symbols for arm64 while building in XCode #33

Open
ghost opened this issue Jun 16, 2016 · 1 comment
Open

Getting duplicate symbols for arm64 while building in XCode #33

ghost opened this issue Jun 16, 2016 · 1 comment

Comments

@ghost
Copy link

ghost commented Jun 16, 2016

Hi,

I'm getting the following error while building in XCode 7.3.1 with CocoaPods 1.0.0:

6 duplicate symbols for architecture arm64

Error log:

ld: warning: directory not found for option '-L/Users/Tanay/Documents/PushNotificationTestWorkspace/UP-login-address-book-server-PHP/build/Debug-iphoneos'
ld: warning: directory not found for option '-F/Users/Tanay/Documents/PushNotificationTestWorkspace/UP-login-address-book-server-PHP/ultimatephone/Utilities/DSFacebookImagePicker'
duplicate symbol _kOLErrorDomainFacebookImagePicker in:
/Users/Tanay/Library/Developer/Xcode/DerivedData/UltimatePhone-fevdobpimbjbiiazgoeyetpzjdvn/Build/Products/Debug-iphoneos/FacebookImagePicker/libFacebookImagePicker.a(OLFacebookAlbumRequest.o)
/Users/Tanay/Library/Developer/Xcode/DerivedData/UltimatePhone-fevdobpimbjbiiazgoeyetpzjdvn/Build/Products/Debug-iphoneos/FacebookImagePicker/libFacebookImagePicker.a(OLFacebookImagePickerConstants.o)
duplicate symbol _kOLErrorCodeFacebookImagePickerNoOpenSession in:
/Users/Tanay/Library/Developer/Xcode/DerivedData/UltimatePhone-fevdobpimbjbiiazgoeyetpzjdvn/Build/Products/Debug-iphoneos/FacebookImagePicker/libFacebookImagePicker.a(OLFacebookAlbumRequest.o)
/Users/Tanay/Library/Developer/Xcode/DerivedData/UltimatePhone-fevdobpimbjbiiazgoeyetpzjdvn/Build/Products/Debug-iphoneos/FacebookImagePicker/libFacebookImagePicker.a(OLFacebookImagePickerConstants.o)
duplicate symbol _kOLErrorCodeFacebookImagePickerBadResponse in:
/Users/Tanay/Library/Developer/Xcode/DerivedData/UltimatePhone-fevdobpimbjbiiazgoeyetpzjdvn/Build/Products/Debug-iphoneos/FacebookImagePicker/libFacebookImagePicker.a(OLFacebookAlbumRequest.o)
/Users/Tanay/Library/Developer/Xcode/DerivedData/UltimatePhone-fevdobpimbjbiiazgoeyetpzjdvn/Build/Products/Debug-iphoneos/FacebookImagePicker/libFacebookImagePicker.a(OLFacebookImagePickerConstants.o)
duplicate symbol _kOLErrorDomainFacebookImagePicker in:
/Users/Tanay/Library/Developer/Xcode/DerivedData/UltimatePhone-fevdobpimbjbiiazgoeyetpzjdvn/Build/Products/Debug-iphoneos/FacebookImagePicker/libFacebookImagePicker.a(OLFacebookAlbumRequest.o)
/Users/Tanay/Library/Developer/Xcode/DerivedData/UltimatePhone-fevdobpimbjbiiazgoeyetpzjdvn/Build/Products/Debug-iphoneos/FacebookImagePicker/libFacebookImagePicker.a(OLFacebookPhotosForAlbumRequest.o)
duplicate symbol _kOLErrorCodeFacebookImagePickerNoOpenSession in:
/Users/Tanay/Library/Developer/Xcode/DerivedData/UltimatePhone-fevdobpimbjbiiazgoeyetpzjdvn/Build/Products/Debug-iphoneos/FacebookImagePicker/libFacebookImagePicker.a(OLFacebookAlbumRequest.o)
/Users/Tanay/Library/Developer/Xcode/DerivedData/UltimatePhone-fevdobpimbjbiiazgoeyetpzjdvn/Build/Products/Debug-iphoneos/FacebookImagePicker/libFacebookImagePicker.a(OLFacebookPhotosForAlbumRequest.o)
duplicate symbol _kOLErrorCodeFacebookImagePickerBadResponse in:
/Users/Tanay/Library/Developer/Xcode/DerivedData/UltimatePhone-fevdobpimbjbiiazgoeyetpzjdvn/Build/Products/Debug-iphoneos/FacebookImagePicker/libFacebookImagePicker.a(OLFacebookAlbumRequest.o)
/Users/Tanay/Library/Developer/Xcode/DerivedData/UltimatePhone-fevdobpimbjbiiazgoeyetpzjdvn/Build/Products/Debug-iphoneos/FacebookImagePicker/libFacebookImagePicker.a(OLFacebookPhotosForAlbumRequest.o)
ld: 6 duplicate symbols for architecture arm64

@sglushchenko
Copy link

sglushchenko commented Nov 1, 2016

Same problem. FacebookImagePicker (2.0.9)

And fix.
#6

But when you use CocoaPods change .h files is bad. When will reinstall pods need fix one more

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

1 participant