recently I have update to xCode 6. In my project where I am using cocoapods, after update my pods, I am dealing with an error I can`t resolve and need help. Similar questions in the forums don't resolve my problem and I need other point of view.
The error is:
duplicate symbol _OBJC_METACLASS_$_PodsDummy_Pods_myapp in:
/Users/myuser/Library/Developer/Xcode/DerivedData/myapp-cojufufwukcibtcgwjgdbqesleta/Build/Products/Debug-iphoneos/libPods-ibizahelp.a(Pods-myapp-dummy.o)
/Users/myuser/Library/Developer/Xcode/DerivedData/myapp-cojufufwukcibtcgwjgdbqesleta/Build/Products/Debug-iphoneos/libPods-IbizaHelp.a(Pods-myapp-dummy.o)
duplicate symbol _OBJC_CLASS_$_PodsDummy_Pods_myapp in:
/Users/myuser/Library/Developer/Xcode/DerivedData/ibizahelp-cojufufwukcibtcgwjgdbqesleta/Build/Products/Debug-iphoneos/libPods-ibizahelp.a(Pods-myapp-dummy.o)
/Users/myuser/Library/Developer/Xcode/DerivedData/myapp-cojufufwukcibtcgwjgdbqesleta/Build/Products/Debug-iphoneos/libPods-IbizaHelp.a(Pods-myapp-dummy.o)
ld: 2 duplicate symbols for architecture armv7
clang: error: linker command failed with exit code 1 (use -v to see invocation)
my Podfile is:
#Uncomment this line to define a global platform for your project
platform :ios, '6.0'
source 'https://github.com/CocoaPods/Specs.git'
target 'myapp' do
pod 'MWPhotoBrowser'
pod 'AFNetworking', '~> 2.0'
pod 'UIActivityIndicator-for-SDWebImage'
end
Please I am stuck
I've had it after target name update, it added pods framework twice - removing the old framework solved it.
Project > Target > Linked Frameworks and Libraries
(remove with "-")
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With