Skip to content

Duplicate symbols on 0.6rc2 #322

Closed
zwaldowski opened this Issue Jun 11, 2012 · 5 comments

2 participants

@zwaldowski

Hey, I'm running 0.6rc2 with Xcode 4.4 (4F183f) on Mountain Lion DP3.2 (12A206j). Ruby is at 1.8.7. I decided to make the jump early, everything seems to be building alright (seems), but compiling my app gives out at linking with duplicate symbol errors.

My PodFile (no fears, nothing here is private):

platform :ios

dependency 'AFNetworking',
  :git => 'https://github.com/AFNetworking/AFNetworking.git'
dependency 'BlocksKit'
dependency 'DCIntrospect'
dependency 'DTCoreText',
  :git => 'https://github.com/Cocoanetics/DTCoreText.git'
dependency 'DZWebDAVClient',
  :git => 'https://github.com/zwaldowski/DZWebDAVClient.git'
dependency 'DZProgressHUD',
  :git => 'https://github.com/zwaldowski/DZProgressHUD.git'
dependency 'DZPopupController',
  :git => 'https://github.com/zwaldowski/DZPopupController.git'
dependency 'MagicalRecord',
  :git => 'https://github.com/zwaldowski/MagicalRecord.git'
dependency 'Reachability'
dependency 'SSPullToRefresh'
dependency 'SYCache',
  :podspec => 'https://raw.github.com/gist/2394718/SYCache.podspec'
dependency 'TestFlightSDK'

My build log:

Ld /Users/zwaldowski/Library/Developer/Xcode/DerivedData/AppName-DerivedDataFolder/Build/Products/Debug-iphonesimulator/AppName.app/AppName normal i386
    cd /Users/zwaldowski/Documents/Development/Projects/AppName
    setenv MACOSX_DEPLOYMENT_TARGET 10.6
    setenv PATH "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11R6/bin"
    /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -arch i386 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator5.1.sdk -L/Users/zwaldowski/Library/Developer/Xcode/DerivedData/AppName-DerivedDataFolder/Build/Products/Debug-iphonesimulator -L/Users/zwaldowski/Documents/Development/Projects/AppName/Pods/TestFlightSDK -F/Users/zwaldowski/Library/Developer/Xcode/DerivedData/AppName-DerivedDataFolder/Build/Products/Debug-iphonesimulator -filelist /Users/zwaldowski/Library/Developer/Xcode/DerivedData/AppName-DerivedDataFolder/Build/Intermediates/AppName.build/Debug-iphonesimulator/AppName.build/Objects-normal/i386/AppName.LinkFileList -mmacosx-version-min=10.6 -Xlinker -objc_abi_version -Xlinker 2 -ObjC -Wl,-no_compact_unwind -lTestFlight -lxml2 -lz -framework CoreData -framework CoreGraphics -framework CoreText -framework ImageIO -framework MediaPlayer -framework MessageUI -framework QuartzCore -framework SystemConfiguration -fobjc-arc -fobjc-link-runtime -Xlinker -no_implicit_dylibs -D__IPHONE_OS_VERSION_MIN_REQUIRED=50100 -framework SystemConfiguration -framework Security -framework QuartzCore -framework UIKit -framework Foundation -framework CoreGraphics -lPods -lz -o /Users/zwaldowski/Library/Developer/Xcode/DerivedData/AppName-DerivedDataFolder/Build/Products/Debug-iphonesimulator/AppName.app/AppName

duplicate symbol _OBJC_IVAR_$_TestFlightJKArray.objects in:
    /Users/zwaldowski/Documents/Development/Projects/AppName/Pods/TestFlightSDK/libTestFlight.a(TestFlightJSONKit.o)
duplicate symbol _OBJC_IVAR_$_TestFlightJKArray.count in:
    /Users/zwaldowski/Documents/Development/Projects/AppName/Pods/TestFlightSDK/libTestFlight.a(TestFlightJSONKit.o)
duplicate symbol _OBJC_IVAR_$_TestFlightJKArray.capacity in:
    /Users/zwaldowski/Documents/Development/Projects/AppName/Pods/TestFlightSDK/libTestFlight.a(TestFlightJSONKit.o)
duplicate symbol _OBJC_IVAR_$_TestFlightJKArray.mutations in:
    /Users/zwaldowski/Documents/Development/Projects/AppName/Pods/TestFlightSDK/libTestFlight.a(TestFlightJSONKit.o)
duplicate symbol _OBJC_IVAR_$_TestFlightJKDictionaryEnumerator.collection in:
    /Users/zwaldowski/Documents/Development/Projects/AppName/Pods/TestFlightSDK/libTestFlight.a(TestFlightJSONKit.o)
duplicate symbol _OBJC_IVAR_$_TestFlightJKDictionary.capacity in:
    /Users/zwaldowski/Documents/Development/Projects/AppName/Pods/TestFlightSDK/libTestFlight.a(TestFlightJSONKit.o)
duplicate symbol _OBJC_IVAR_$_TestFlightJKDictionaryEnumerator.nextObject in:
    /Users/zwaldowski/Documents/Development/Projects/AppName/Pods/TestFlightSDK/libTestFlight.a(TestFlightJSONKit.o)
duplicate symbol _OBJC_IVAR_$_TestFlightJKDictionary.entry in:
    /Users/zwaldowski/Documents/Development/Projects/AppName/Pods/TestFlightSDK/libTestFlight.a(TestFlightJSONKit.o)
duplicate symbol _OBJC_IVAR_$_TestFlightJKDictionary.count in:
    /Users/zwaldowski/Documents/Development/Projects/AppName/Pods/TestFlightSDK/libTestFlight.a(TestFlightJSONKit.o)
duplicate symbol _OBJC_IVAR_$_TestFlightJKDictionary.mutations in:
    /Users/zwaldowski/Documents/Development/Projects/AppName/Pods/TestFlightSDK/libTestFlight.a(TestFlightJSONKit.o)
duplicate symbol _OBJC_IVAR_$_TestFlightJSONDecoder.parseState in:
    /Users/zwaldowski/Documents/Development/Projects/AppName/Pods/TestFlightSDK/libTestFlight.a(TestFlightJSONKit.o)
duplicate symbol _OBJC_IVAR_$_TestFlightJKSerializer.encodeState in:
    /Users/zwaldowski/Documents/Development/Projects/AppName/Pods/TestFlightSDK/libTestFlight.a(TestFlightJSONKit.o)
duplicate symbol _OBJC_CLASS_$_TestFlightJKArray in:
    /Users/zwaldowski/Documents/Development/Projects/AppName/Pods/TestFlightSDK/libTestFlight.a(TestFlightJSONKit.o)
duplicate symbol _OBJC_METACLASS_$_TestFlightJKArray in:
    /Users/zwaldowski/Documents/Development/Projects/AppName/Pods/TestFlightSDK/libTestFlight.a(TestFlightJSONKit.o)
duplicate symbol _OBJC_CLASS_$_TestFlightJKDictionaryEnumerator in:
    /Users/zwaldowski/Documents/Development/Projects/AppName/Pods/TestFlightSDK/libTestFlight.a(TestFlightJSONKit.o)
duplicate symbol _OBJC_METACLASS_$_TestFlightJKDictionaryEnumerator in:
    /Users/zwaldowski/Documents/Development/Projects/AppName/Pods/TestFlightSDK/libTestFlight.a(TestFlightJSONKit.o)
duplicate symbol _OBJC_CLASS_$_TestFlightJKDictionary in:
    /Users/zwaldowski/Documents/Development/Projects/AppName/Pods/TestFlightSDK/libTestFlight.a(TestFlightJSONKit.o)
duplicate symbol _OBJC_METACLASS_$_TestFlightJKDictionary in:
    /Users/zwaldowski/Documents/Development/Projects/AppName/Pods/TestFlightSDK/libTestFlight.a(TestFlightJSONKit.o)
duplicate symbol _OBJC_CLASS_$_TestFlightJSONDecoder in:
    /Users/zwaldowski/Documents/Development/Projects/AppName/Pods/TestFlightSDK/libTestFlight.a(TestFlightJSONKit.o)
duplicate symbol _OBJC_METACLASS_$_TestFlightJSONDecoder in:
    /Users/zwaldowski/Documents/Development/Projects/AppName/Pods/TestFlightSDK/libTestFlight.a(TestFlightJSONKit.o)
duplicate symbol _OBJC_METACLASS_$_NSString_TestFlight_JSONKitDeserializing in:
    /Users/zwaldowski/Documents/Development/Projects/AppName/Pods/TestFlightSDK/libTestFlight.a(TestFlightJSONKit.o)
duplicate symbol _OBJC_CLASS_$_NSString_TestFlight_JSONKitDeserializing in:
    /Users/zwaldowski/Documents/Development/Projects/AppName/Pods/TestFlightSDK/libTestFlight.a(TestFlightJSONKit.o)
duplicate symbol _OBJC_METACLASS_$_NSData_TestFlight_JSONKitDeserializing in:
    /Users/zwaldowski/Documents/Development/Projects/AppName/Pods/TestFlightSDK/libTestFlight.a(TestFlightJSONKit.o)
duplicate symbol _OBJC_CLASS_$_NSData_TestFlight_JSONKitDeserializing in:
    /Users/zwaldowski/Documents/Development/Projects/AppName/Pods/TestFlightSDK/libTestFlight.a(TestFlightJSONKit.o)
duplicate symbol _OBJC_CLASS_$_TestFlightJKSerializer in:
    /Users/zwaldowski/Documents/Development/Projects/AppName/Pods/TestFlightSDK/libTestFlight.a(TestFlightJSONKit.o)
duplicate symbol _OBJC_METACLASS_$_TestFlightJKSerializer in:
    /Users/zwaldowski/Documents/Development/Projects/AppName/Pods/TestFlightSDK/libTestFlight.a(TestFlightJSONKit.o)
duplicate symbol _OBJC_METACLASS_$_NSString_TestFlight_JSONKitSerializing in:
    /Users/zwaldowski/Documents/Development/Projects/AppName/Pods/TestFlightSDK/libTestFlight.a(TestFlightJSONKit.o)
duplicate symbol _OBJC_CLASS_$_NSString_TestFlight_JSONKitSerializing in:
    /Users/zwaldowski/Documents/Development/Projects/AppName/Pods/TestFlightSDK/libTestFlight.a(TestFlightJSONKit.o)
duplicate symbol _OBJC_METACLASS_$_NSArray_TestFlight_JSONKitSerializing in:
    /Users/zwaldowski/Documents/Development/Projects/AppName/Pods/TestFlightSDK/libTestFlight.a(TestFlightJSONKit.o)
duplicate symbol _OBJC_CLASS_$_NSArray_TestFlight_JSONKitSerializing in:
    /Users/zwaldowski/Documents/Development/Projects/AppName/Pods/TestFlightSDK/libTestFlight.a(TestFlightJSONKit.o)
duplicate symbol _OBJC_METACLASS_$_NSDictionary_TestFlight_JSONKitSerializing in:
    /Users/zwaldowski/Documents/Development/Projects/AppName/Pods/TestFlightSDK/libTestFlight.a(TestFlightJSONKit.o)
duplicate symbol _OBJC_CLASS_$_NSDictionary_TestFlight_JSONKitSerializing in:
    /Users/zwaldowski/Documents/Development/Projects/AppName/Pods/TestFlightSDK/libTestFlight.a(TestFlightJSONKit.o)
duplicate symbol _AFURLEncodedStringFromStringWithEncoding in:
    /Users/zwaldowski/Library/Developer/Xcode/DerivedData/AppName-DerivedDataFolder/Build/Products/Debug-iphonesimulator/libPods.a(AFHTTPClient.o)
duplicate symbol _OBJC_IVAR_$_AFQueryStringComponent._key in:
    /Users/zwaldowski/Library/Developer/Xcode/DerivedData/AppName-DerivedDataFolder/Build/Products/Debug-iphonesimulator/libPods.a(AFHTTPClient.o)
duplicate symbol _OBJC_IVAR_$_AFQueryStringComponent._value in:
    /Users/zwaldowski/Library/Developer/Xcode/DerivedData/AppName-DerivedDataFolder/Build/Products/Debug-iphonesimulator/libPods.a(AFHTTPClient.o)
duplicate symbol _AFQueryStringFromParametersWithEncoding in:
    /Users/zwaldowski/Library/Developer/Xcode/DerivedData/AppName-DerivedDataFolder/Build/Products/Debug-iphonesimulator/libPods.a(AFHTTPClient.o)
duplicate symbol _AFQueryStringComponentsFromKeyAndValue in:
    /Users/zwaldowski/Library/Developer/Xcode/DerivedData/AppName-DerivedDataFolder/Build/Products/Debug-iphonesimulator/libPods.a(AFHTTPClient.o)
duplicate symbol _AFQueryStringComponentsFromKeyAndDictionaryValue in:
    /Users/zwaldowski/Library/Developer/Xcode/DerivedData/AppName-DerivedDataFolder/Build/Products/Debug-iphonesimulator/libPods.a(AFHTTPClient.o)
duplicate symbol _AFQueryStringComponentsFromKeyAndArrayValue in:
    /Users/zwaldowski/Library/Developer/Xcode/DerivedData/AppName-DerivedDataFolder/Build/Products/Debug-iphonesimulator/libPods.a(AFHTTPClient.o)
duplicate symbol _OBJC_IVAR_$_AFHTTPClient._baseURL in:
    /Users/zwaldowski/Library/Developer/Xcode/DerivedData/AppName-DerivedDataFolder/Build/Products/Debug-iphonesimulator/libPods.a(AFHTTPClient.o)
duplicate symbol _OBJC_IVAR_$_AFHTTPClient._registeredHTTPOperationClassNames in:
    /Users/zwaldowski/Library/Developer/Xcode/DerivedData/AppName-DerivedDataFolder/Build/Products/Debug-iphonesimulator/libPods.a(AFHTTPClient.o)
duplicate symbol _OBJC_IVAR_$_AFHTTPClient._defaultHeaders in:
    /Users/zwaldowski/Library/Developer/Xcode/DerivedData/AppName-DerivedDataFolder/Build/Products/Debug-iphonesimulator/libPods.a(AFHTTPClient.o)
duplicate symbol _OBJC_IVAR_$_AFHTTPClient._operationQueue in:
    /Users/zwaldowski/Library/Developer/Xcode/DerivedData/AppName-DerivedDataFolder/Build/Products/Debug-iphonesimulator/libPods.a(AFHTTPClient.o)
duplicate symbol _OBJC_IVAR_$_AFHTTPClient._stringEncoding in:
    /Users/zwaldowski/Library/Developer/Xcode/DerivedData/AppName-DerivedDataFolder/Build/Products/Debug-iphonesimulator/libPods.a(AFHTTPClient.o)
duplicate symbol _OBJC_IVAR_$_AFHTTPClient._parameterEncoding in:
    /Users/zwaldowski/Library/Developer/Xcode/DerivedData/AppName-DerivedDataFolder/Build/Products/Debug-iphonesimulator/libPods.a(AFHTTPClient.o)
duplicate symbol _OBJC_IVAR_$_AFMultipartFormData._mutableData in:
    /Users/zwaldowski/Library/Developer/Xcode/DerivedData/AppName-DerivedDataFolder/Build/Products/Debug-iphonesimulator/libPods.a(AFHTTPClient.o)
duplicate symbol _OBJC_IVAR_$_AFMultipartFormData._stringEncoding in:
    /Users/zwaldowski/Library/Developer/Xcode/DerivedData/AppName-DerivedDataFolder/Build/Products/Debug-iphonesimulator/libPods.a(AFHTTPClient.o)
duplicate symbol _AFNetworkingReachabilityDidChangeNotification in:
    /Users/zwaldowski/Library/Developer/Xcode/DerivedData/AppName-DerivedDataFolder/Build/Products/Debug-iphonesimulator/libPods.a(AFHTTPClient.o)
duplicate symbol _OBJC_CLASS_$_AFQueryStringComponent in:
    /Users/zwaldowski/Library/Developer/Xcode/DerivedData/AppName-DerivedDataFolder/Build/Products/Debug-iphonesimulator/libPods.a(AFHTTPClient.o)
duplicate symbol _OBJC_METACLASS_$_AFQueryStringComponent in:
    /Users/zwaldowski/Library/Developer/Xcode/DerivedData/AppName-DerivedDataFolder/Build/Products/Debug-iphonesimulator/libPods.a(AFHTTPClient.o)
duplicate symbol _OBJC_CLASS_$_AFHTTPClient in:
    /Users/zwaldowski/Library/Developer/Xcode/DerivedData/AppName-DerivedDataFolder/Build/Products/Debug-iphonesimulator/libPods.a(AFHTTPClient.o)
duplicate symbol _OBJC_METACLASS_$_AFHTTPClient in:
    /Users/zwaldowski/Library/Developer/Xcode/DerivedData/AppName-DerivedDataFolder/Build/Products/Debug-iphonesimulator/libPods.a(AFHTTPClient.o)
duplicate symbol _OBJC_CLASS_$_AFMultipartFormData in:
    /Users/zwaldowski/Library/Developer/Xcode/DerivedData/AppName-DerivedDataFolder/Build/Products/Debug-iphonesimulator/libPods.a(AFHTTPClient.o)
duplicate symbol _OBJC_METACLASS_$_AFMultipartFormData in:
    /Users/zwaldowski/Library/Developer/Xcode/DerivedData/AppName-DerivedDataFolder/Build/Products/Debug-iphonesimulator/libPods.a(AFHTTPClient.o)
duplicate symbol _OBJC_METACLASS_$_A2DynamicNSCacheDelegate in:
    /Users/zwaldowski/Library/Developer/Xcode/DerivedData/AppName-DerivedDataFolder/Build/Products/Debug-iphonesimulator/libPods.a(NSCache+BlocksKit.o)
duplicate symbol _OBJC_CLASS_$_A2DynamicNSCacheDelegate in:
    /Users/zwaldowski/Library/Developer/Xcode/DerivedData/AppName-DerivedDataFolder/Build/Products/Debug-iphonesimulator/libPods.a(NSCache+BlocksKit.o)
duplicate symbol _OBJC_CLASS_$_FORCELOAD_NSCache_BlocksKit in:
    /Users/zwaldowski/Library/Developer/Xcode/DerivedData/AppName-DerivedDataFolder/Build/Products/Debug-iphonesimulator/libPods.a(NSCache+BlocksKit.o)
duplicate symbol _OBJC_METACLASS_$_FORCELOAD_NSCache_BlocksKit in:
    /Users/zwaldowski/Library/Developer/Xcode/DerivedData/AppName-DerivedDataFolder/Build/Products/Debug-iphonesimulator/libPods.a(NSCache+BlocksKit.o)
duplicate symbol _OBJC_IVAR_$_BKInvocationGrabber.target in:
    /Users/zwaldowski/Library/Developer/Xcode/DerivedData/AppName-DerivedDataFolder/Build/Products/Debug-iphonesimulator/libPods.a(NSInvocation+BlocksKit.o)
duplicate symbol _OBJC_IVAR_$_BKInvocationGrabber.invocation in:
    /Users/zwaldowski/Library/Developer/Xcode/DerivedData/AppName-DerivedDataFolder/Build/Products/Debug-iphonesimulator/libPods.a(NSInvocation+BlocksKit.o)
duplicate symbol _OBJC_CLASS_$_BKInvocationGrabber in:
    /Users/zwaldowski/Library/Developer/Xcode/DerivedData/AppName-DerivedDataFolder/Build/Products/Debug-iphonesimulator/libPods.a(NSInvocation+BlocksKit.o)
duplicate symbol _OBJC_METACLASS_$_BKInvocationGrabber in:
    /Users/zwaldowski/Library/Developer/Xcode/DerivedData/AppName-DerivedDataFolder/Build/Products/Debug-iphonesimulator/libPods.a(NSInvocation+BlocksKit.o)
duplicate symbol _OBJC_CLASS_$_FORCELOAD_NSInvocation_BlocksKit in:
    /Users/zwaldowski/Library/Developer/Xcode/DerivedData/AppName-DerivedDataFolder/Build/Products/Debug-iphonesimulator/libPods.a(NSInvocation+BlocksKit.o)
duplicate symbol _OBJC_METACLASS_$_FORCELOAD_NSInvocation_BlocksKit in:
    /Users/zwaldowski/Library/Developer/Xcode/DerivedData/AppName-DerivedDataFolder/Build/Products/Debug-iphonesimulator/libPods.a(NSInvocation+BlocksKit.o)
duplicate symbol _OBJC_IVAR_$_BKObserver._observee in:
    /Users/zwaldowski/Library/Developer/Xcode/DerivedData/AppName-DerivedDataFolder/Build/Products/Debug-iphonesimulator/libPods.a(NSObject+BlockObservation.o)
duplicate symbol _OBJC_IVAR_$_BKObserver._keyPaths in:
    /Users/zwaldowski/Library/Developer/Xcode/DerivedData/AppName-DerivedDataFolder/Build/Products/Debug-iphonesimulator/libPods.a(NSObject+BlockObservation.o)
duplicate symbol _OBJC_IVAR_$_BKObserver._task in:
    /Users/zwaldowski/Library/Developer/Xcode/DerivedData/AppName-DerivedDataFolder/Build/Products/Debug-iphonesimulator/libPods.a(NSObject+BlockObservation.o)
duplicate symbol _OBJC_CLASS_$_BKObserver in:
    /Users/zwaldowski/Library/Developer/Xcode/DerivedData/AppName-DerivedDataFolder/Build/Products/Debug-iphonesimulator/libPods.a(NSObject+BlockObservation.o)
duplicate symbol _OBJC_METACLASS_$_BKObserver in:
    /Users/zwaldowski/Library/Developer/Xcode/DerivedData/AppName-DerivedDataFolder/Build/Products/Debug-iphonesimulator/libPods.a(NSObject+BlockObservation.o)
duplicate symbol _OBJC_CLASS_$_FORCELOAD_NSKeyValueOvserving_BlocksKit in:
    /Users/zwaldowski/Library/Developer/Xcode/DerivedData/AppName-DerivedDataFolder/Build/Products/Debug-iphonesimulator/libPods.a(NSObject+BlockObservation.o)
duplicate symbol _OBJC_METACLASS_$_FORCELOAD_NSKeyValueOvserving_BlocksKit in:
    /Users/zwaldowski/Library/Developer/Xcode/DerivedData/AppName-DerivedDataFolder/Build/Products/Debug-iphonesimulator/libPods.a(NSObject+BlockObservation.o)
duplicate symbol _OBJC_METACLASS_$_A2DynamicBKURLConnectionInformalDelegate in:
    /Users/zwaldowski/Library/Developer/Xcode/DerivedData/AppName-DerivedDataFolder/Build/Products/Debug-iphonesimulator/libPods.a(NSURLConnection+BlocksKit.o)
duplicate symbol _OBJC_CLASS_$_A2DynamicBKURLConnectionInformalDelegate in:
    /Users/zwaldowski/Library/Developer/Xcode/DerivedData/AppName-DerivedDataFolder/Build/Products/Debug-iphonesimulator/libPods.a(NSURLConnection+BlocksKit.o)
duplicate symbol _OBJC_METACLASS_$_A2DynamicNSURLConnectionDelegate in:
    /Users/zwaldowski/Library/Developer/Xcode/DerivedData/AppName-DerivedDataFolder/Build/Products/Debug-iphonesimulator/libPods.a(NSURLConnection+BlocksKit.o)
duplicate symbol _OBJC_CLASS_$_A2DynamicNSURLConnectionDelegate in:
    /Users/zwaldowski/Library/Developer/Xcode/DerivedData/AppName-DerivedDataFolder/Build/Products/Debug-iphonesimulator/libPods.a(NSURLConnection+BlocksKit.o)
duplicate symbol _OBJC_CLASS_$_FORCELOAD_NSURLConnection_BlocksKit in:
    /Users/zwaldowski/Library/Developer/Xcode/DerivedData/AppName-DerivedDataFolder/Build/Products/Debug-iphonesimulator/libPods.a(NSURLConnection+BlocksKit.o)
duplicate symbol _OBJC_METACLASS_$_FORCELOAD_NSURLConnection_BlocksKit in:
    /Users/zwaldowski/Library/Developer/Xcode/DerivedData/AppName-DerivedDataFolder/Build/Products/Debug-iphonesimulator/libPods.a(NSURLConnection+BlocksKit.o)
duplicate symbol _OBJC_METACLASS_$_A2DynamicUIActionSheetDelegate in:
    /Users/zwaldowski/Library/Developer/Xcode/DerivedData/AppName-DerivedDataFolder/Build/Products/Debug-iphonesimulator/libPods.a(UIActionSheet+BlocksKit.o)
duplicate symbol _OBJC_CLASS_$_A2DynamicUIActionSheetDelegate in:
    /Users/zwaldowski/Library/Developer/Xcode/DerivedData/AppName-DerivedDataFolder/Build/Products/Debug-iphonesimulator/libPods.a(UIActionSheet+BlocksKit.o)
duplicate symbol _OBJC_CLASS_$_FORCELOAD_UIActionSheet_BlocksKit in:
    /Users/zwaldowski/Library/Developer/Xcode/DerivedData/AppName-DerivedDataFolder/Build/Products/Debug-iphonesimulator/libPods.a(UIActionSheet+BlocksKit.o)
duplicate symbol _OBJC_METACLASS_$_FORCELOAD_UIActionSheet_BlocksKit in:
    /Users/zwaldowski/Library/Developer/Xcode/DerivedData/AppName-DerivedDataFolder/Build/Products/Debug-iphonesimulator/libPods.a(UIActionSheet+BlocksKit.o)
duplicate symbol _OBJC_METACLASS_$_A2DynamicUIAlertViewDelegate in:
    /Users/zwaldowski/Library/Developer/Xcode/DerivedData/AppName-DerivedDataFolder/Build/Products/Debug-iphonesimulator/libPods.a(UIAlertView+BlocksKit.o)
duplicate symbol _OBJC_CLASS_$_A2DynamicUIAlertViewDelegate in:
    /Users/zwaldowski/Library/Developer/Xcode/DerivedData/AppName-DerivedDataFolder/Build/Products/Debug-iphonesimulator/libPods.a(UIAlertView+BlocksKit.o)
duplicate symbol _OBJC_CLASS_$_FORCELOAD_UIAlertView_BlocksKit in:
    /Users/zwaldowski/Library/Developer/Xcode/DerivedData/AppName-DerivedDataFolder/Build/Products/Debug-iphonesimulator/libPods.a(UIAlertView+BlocksKit.o)
duplicate symbol _OBJC_METACLASS_$_FORCELOAD_UIAlertView_BlocksKit in:
    /Users/zwaldowski/Library/Developer/Xcode/DerivedData/AppName-DerivedDataFolder/Build/Products/Debug-iphonesimulator/libPods.a(UIAlertView+BlocksKit.o)
duplicate symbol _OBJC_IVAR_$_BKControlWrapper.handler in:
    /Users/zwaldowski/Library/Developer/Xcode/DerivedData/AppName-DerivedDataFolder/Build/Products/Debug-iphonesimulator/libPods.a(UIControl+BlocksKit.o)
duplicate symbol _OBJC_IVAR_$_BKControlWrapper.controlEvents in:
    /Users/zwaldowski/Library/Developer/Xcode/DerivedData/AppName-DerivedDataFolder/Build/Products/Debug-iphonesimulator/libPods.a(UIControl+BlocksKit.o)
duplicate symbol _OBJC_CLASS_$_BKControlWrapper in:
    /Users/zwaldowski/Library/Developer/Xcode/DerivedData/AppName-DerivedDataFolder/Build/Products/Debug-iphonesimulator/libPods.a(UIControl+BlocksKit.o)
duplicate symbol _OBJC_METACLASS_$_BKControlWrapper in:
    /Users/zwaldowski/Library/Developer/Xcode/DerivedData/AppName-DerivedDataFolder/Build/Products/Debug-iphonesimulator/libPods.a(UIControl+BlocksKit.o)
duplicate symbol _OBJC_CLASS_$_FORCELOAD_UIControl_BlocksKit in:
    /Users/zwaldowski/Library/Developer/Xcode/DerivedData/AppName-DerivedDataFolder/Build/Products/Debug-iphonesimulator/libPods.a(UIControl+BlocksKit.o)
duplicate symbol _OBJC_METACLASS_$_FORCELOAD_UIControl_BlocksKit in:
    /Users/zwaldowski/Library/Developer/Xcode/DerivedData/AppName-DerivedDataFolder/Build/Products/Debug-iphonesimulator/libPods.a(UIControl+BlocksKit.o)
duplicate symbol _OBJC_METACLASS_$_A2DynamicUIPopoverControllerDelegate in:
    /Users/zwaldowski/Library/Developer/Xcode/DerivedData/AppName-DerivedDataFolder/Build/Products/Debug-iphonesimulator/libPods.a(UIPopoverController+BlocksKit.o)
duplicate symbol _OBJC_CLASS_$_A2DynamicUIPopoverControllerDelegate in:
    /Users/zwaldowski/Library/Developer/Xcode/DerivedData/AppName-DerivedDataFolder/Build/Products/Debug-iphonesimulator/libPods.a(UIPopoverController+BlocksKit.o)
duplicate symbol _OBJC_CLASS_$_FORCELOAD_UIPopoverController_BlocksKit in:
    /Users/zwaldowski/Library/Developer/Xcode/DerivedData/AppName-DerivedDataFolder/Build/Products/Debug-iphonesimulator/libPods.a(UIPopoverController+BlocksKit.o)
duplicate symbol _OBJC_METACLASS_$_FORCELOAD_UIPopoverController_BlocksKit in:
    /Users/zwaldowski/Library/Developer/Xcode/DerivedData/AppName-DerivedDataFolder/Build/Products/Debug-iphonesimulator/libPods.a(UIPopoverController+BlocksKit.o)
duplicate symbol _OBJC_METACLASS_$_A2DynamicUIWebViewDelegate in:
    /Users/zwaldowski/Library/Developer/Xcode/DerivedData/AppName-DerivedDataFolder/Build/Products/Debug-iphonesimulator/libPods.a(UIWebView+BlocksKit.o)
duplicate symbol _OBJC_CLASS_$_A2DynamicUIWebViewDelegate in:
    /Users/zwaldowski/Library/Developer/Xcode/DerivedData/AppName-DerivedDataFolder/Build/Products/Debug-iphonesimulator/libPods.a(UIWebView+BlocksKit.o)
duplicate symbol _OBJC_CLASS_$_FORCELOAD_UIWebView_BlocksKit in:
    /Users/zwaldowski/Library/Developer/Xcode/DerivedData/AppName-DerivedDataFolder/Build/Products/Debug-iphonesimulator/libPods.a(UIWebView+BlocksKit.o)
duplicate symbol _OBJC_METACLASS_$_FORCELOAD_UIWebView_BlocksKit in:
    /Users/zwaldowski/Library/Developer/Xcode/DerivedData/AppName-DerivedDataFolder/Build/Products/Debug-iphonesimulator/libPods.a(UIWebView+BlocksKit.o)
duplicate symbol _OBJC_METACLASS_$_A2DynamicMFMailComposeViewControllerDelegate in:
    /Users/zwaldowski/Library/Developer/Xcode/DerivedData/AppName-DerivedDataFolder/Build/Products/Debug-iphonesimulator/libPods.a(MFMailComposeViewController+BlocksKit.o)
duplicate symbol _OBJC_CLASS_$_A2DynamicMFMailComposeViewControllerDelegate in:
    /Users/zwaldowski/Library/Developer/Xcode/DerivedData/AppName-DerivedDataFolder/Build/Products/Debug-iphonesimulator/libPods.a(MFMailComposeViewController+BlocksKit.o)
duplicate symbol _OBJC_CLASS_$_FORCELOAD_MFMailComposeViewController_BlocksKit in:
    /Users/zwaldowski/Library/Developer/Xcode/DerivedData/AppName-DerivedDataFolder/Build/Products/Debug-iphonesimulator/libPods.a(MFMailComposeViewController+BlocksKit.o)
duplicate symbol _OBJC_METACLASS_$_FORCELOAD_MFMailComposeViewController_BlocksKit in:
    /Users/zwaldowski/Library/Developer/Xcode/DerivedData/AppName-DerivedDataFolder/Build/Products/Debug-iphonesimulator/libPods.a(MFMailComposeViewController+BlocksKit.o)
duplicate symbol _OBJC_METACLASS_$_A2DynamicMFMessageComposeViewControllerDelegate in:
    /Users/zwaldowski/Library/Developer/Xcode/DerivedData/AppName-DerivedDataFolder/Build/Products/Debug-iphonesimulator/libPods.a(MFMessageComposeViewController+BlocksKit.o)
duplicate symbol _OBJC_CLASS_$_A2DynamicMFMessageComposeViewControllerDelegate in:
    /Users/zwaldowski/Library/Developer/Xcode/DerivedData/AppName-DerivedDataFolder/Build/Products/Debug-iphonesimulator/libPods.a(MFMessageComposeViewController+BlocksKit.o)
duplicate symbol _OBJC_CLASS_$_FORCELOAD_MFMessageComposeViewController_BlocksKit in:
    /Users/zwaldowski/Library/Developer/Xcode/DerivedData/AppName-DerivedDataFolder/Build/Products/Debug-iphonesimulator/libPods.a(MFMessageComposeViewController+BlocksKit.o)
duplicate symbol _OBJC_METACLASS_$_FORCELOAD_MFMessageComposeViewController_BlocksKit in:
    /Users/zwaldowski/Library/Developer/Xcode/DerivedData/AppName-DerivedDataFolder/Build/Products/Debug-iphonesimulator/libPods.a(MFMessageComposeViewController+BlocksKit.o)
duplicate symbol _OBJC_IVAR_$_DZPopupControllerFrameView._topGradient in:
    /Users/zwaldowski/Library/Developer/Xcode/DerivedData/AppName-DerivedDataFolder/Build/Products/Debug-iphonesimulator/libPods.a(DZPopupController.o)
duplicate symbol _OBJC_IVAR_$_DZPopupControllerFrameView._bottomGradient in:
    /Users/zwaldowski/Library/Developer/Xcode/DerivedData/AppName-DerivedDataFolder/Build/Products/Debug-iphonesimulator/libPods.a(DZPopupController.o)
duplicate symbol _OBJC_IVAR_$_DZPopupControllerFrameView._baseColor in:
    /Users/zwaldowski/Library/Developer/Xcode/DerivedData/AppName-DerivedDataFolder/Build/Products/Debug-iphonesimulator/libPods.a(DZPopupController.o)
duplicate symbol _OBJC_IVAR_$_DZPopupControllerFrameView._drawsBottomHighlight in:
    /Users/zwaldowski/Library/Developer/Xcode/DerivedData/AppName-DerivedDataFolder/Build/Products/Debug-iphonesimulator/libPods.a(DZPopupController.o)
duplicate symbol _OBJC_IVAR_$_DZPopupControllerFrameView._barMetrics in:
    /Users/zwaldowski/Library/Developer/Xcode/DerivedData/AppName-DerivedDataFolder/Build/Products/Debug-iphonesimulator/libPods.a(DZPopupController.o)
duplicate symbol _OBJC_IVAR_$_DZPopupControllerInsetView._baseColor in:
    /Users/zwaldowski/Library/Developer/Xcode/DerivedData/AppName-DerivedDataFolder/Build/Products/Debug-iphonesimulator/libPods.a(DZPopupController.o)
duplicate symbol _OBJC_IVAR_$_DZPopupController._frameColor in:
    /Users/zwaldowski/Library/Developer/Xcode/DerivedData/AppName-DerivedDataFolder/Build/Products/Debug-iphonesimulator/libPods.a(DZPopupController.o)
duplicate symbol _OBJC_IVAR_$_DZPopupController._frameSize in:
    /Users/zwaldowski/Library/Developer/Xcode/DerivedData/AppName-DerivedDataFolder/Build/Products/Debug-iphonesimulator/libPods.a(DZPopupController.o)
duplicate symbol _OBJC_IVAR_$_DZPopupController._contentViewController in:
    /Users/zwaldowski/Library/Developer/Xcode/DerivedData/AppName-DerivedDataFolder/Build/Products/Debug-iphonesimulator/libPods.a(DZPopupController.o)
duplicate symbol _OBJC_IVAR_$_DZPopupController._window in:
    /Users/zwaldowski/Library/Developer/Xcode/DerivedData/AppName-DerivedDataFolder/Build/Products/Debug-iphonesimulator/libPods.a(DZPopupController.o)
duplicate symbol _OBJC_IVAR_$_DZPopupController._frameView in:
    /Users/zwaldowski/Library/Developer/Xcode/DerivedData/AppName-DerivedDataFolder/Build/Products/Debug-iphonesimulator/libPods.a(DZPopupController.o)
duplicate symbol _OBJC_IVAR_$_DZPopupController._backupStatusBarStyle in:
    /Users/zwaldowski/Library/Developer/Xcode/DerivedData/AppName-DerivedDataFolder/Build/Products/Debug-iphonesimulator/libPods.a(DZPopupController.o)
duplicate symbol _OBJC_CLASS_$_DZPopupControllerFrameView in:
    /Users/zwaldowski/Library/Developer/Xcode/DerivedData/AppName-DerivedDataFolder/Build/Products/Debug-iphonesimulator/libPods.a(DZPopupController.o)
duplicate symbol _OBJC_METACLASS_$_DZPopupControllerFrameView in:
    /Users/zwaldowski/Library/Developer/Xcode/DerivedData/AppName-DerivedDataFolder/Build/Products/Debug-iphonesimulator/libPods.a(DZPopupController.o)
duplicate symbol _OBJC_METACLASS_$_DZPopupControllerInsetView in:
    /Users/zwaldowski/Library/Developer/Xcode/DerivedData/AppName-DerivedDataFolder/Build/Products/Debug-iphonesimulator/libPods.a(DZPopupController.o)
duplicate symbol _OBJC_CLASS_$_DZPopupControllerInsetView in:
    /Users/zwaldowski/Library/Developer/Xcode/DerivedData/AppName-DerivedDataFolder/Build/Products/Debug-iphonesimulator/libPods.a(DZPopupController.o)
duplicate symbol _OBJC_METACLASS_$_DZPopupControllerCloseButton in:
    /Users/zwaldowski/Library/Developer/Xcode/DerivedData/AppName-DerivedDataFolder/Build/Products/Debug-iphonesimulator/libPods.a(DZPopupController.o)
duplicate symbol _OBJC_CLASS_$_DZPopupControllerCloseButton in:
    /Users/zwaldowski/Library/Developer/Xcode/DerivedData/AppName-DerivedDataFolder/Build/Products/Debug-iphonesimulator/libPods.a(DZPopupController.o)
duplicate symbol _OBJC_CLASS_$_DZPopupController in:
    /Users/zwaldowski/Library/Developer/Xcode/DerivedData/AppName-DerivedDataFolder/Build/Products/Debug-iphonesimulator/libPods.a(DZPopupController.o)
duplicate symbol _OBJC_METACLASS_$_DZPopupController in:
    /Users/zwaldowski/Library/Developer/Xcode/DerivedData/AppName-DerivedDataFolder/Build/Products/Debug-iphonesimulator/libPods.a(DZPopupController.o)
duplicate symbol _OBJC_IVAR_$_DZProgressHUD._animationSemaphore in:
    /Users/zwaldowski/Library/Developer/Xcode/DerivedData/AppName-DerivedDataFolder/Build/Products/Debug-iphonesimulator/libPods.a(DZProgressHUD.o)
duplicate symbol _OBJC_IVAR_$_DZProgressHUD._HUDRect in:
    /Users/zwaldowski/Library/Developer/Xcode/DerivedData/AppName-DerivedDataFolder/Build/Products/Debug-iphonesimulator/libPods.a(DZProgressHUD.o)
duplicate symbol _OBJC_IVAR_$_DZProgressHUD.wasTappedBlock in:
    /Users/zwaldowski/Library/Developer/Xcode/DerivedData/AppName-DerivedDataFolder/Build/Products/Debug-iphonesimulator/libPods.a(DZProgressHUD.o)
duplicate symbol _OBJC_IVAR_$_DZProgressHUD._rotationTransform in:
    /Users/zwaldowski/Library/Developer/Xcode/DerivedData/AppName-DerivedDataFolder/Build/Products/Debug-iphonesimulator/libPods.a(DZProgressHUD.o)
duplicate symbol _OBJC_IVAR_$_DZProgressHUD._indicator in:
    /Users/zwaldowski/Library/Developer/Xcode/DerivedData/AppName-DerivedDataFolder/Build/Products/Debug-iphonesimulator/libPods.a(DZProgressHUD.o)
duplicate symbol _OBJC_IVAR_$_DZProgressHUD.mode in:
    /Users/zwaldowski/Library/Developer/Xcode/DerivedData/AppName-DerivedDataFolder/Build/Products/Debug-iphonesimulator/libPods.a(DZProgressHUD.o)
duplicate symbol _OBJC_IVAR_$_DZProgressHUD.label in:
    /Users/zwaldowski/Library/Developer/Xcode/DerivedData/AppName-DerivedDataFolder/Build/Products/Debug-iphonesimulator/libPods.a(DZProgressHUD.o)
duplicate symbol _OBJC_IVAR_$_DZProgressHUD.wasHiddenBlock in:
    /Users/zwaldowski/Library/Developer/Xcode/DerivedData/AppName-DerivedDataFolder/Build/Products/Debug-iphonesimulator/libPods.a(DZProgressHUD.o)
duplicate symbol _DZProgressHUDSuccessImageView in:
    /Users/zwaldowski/Library/Developer/Xcode/DerivedData/AppName-DerivedDataFolder/Build/Products/Debug-iphonesimulator/libPods.a(DZProgressHUD.o)
duplicate symbol _DZProgressHUDErrorImageView in:
    /Users/zwaldowski/Library/Developer/Xcode/DerivedData/AppName-DerivedDataFolder/Build/Products/Debug-iphonesimulator/libPods.a(DZProgressHUD.o)
duplicate symbol _OBJC_IVAR_$_DZProgressHUD.customView in:
    /Users/zwaldowski/Library/Developer/Xcode/DerivedData/AppName-DerivedDataFolder/Build/Products/Debug-iphonesimulator/libPods.a(DZProgressHUD.o)
duplicate symbol _OBJC_IVAR_$_DZProgressHUD.showDelayTime in:
    /Users/zwaldowski/Library/Developer/Xcode/DerivedData/AppName-DerivedDataFolder/Build/Products/Debug-iphonesimulator/libPods.a(DZProgressHUD.o)
duplicate symbol _OBJC_IVAR_$_DZProgressHUD.minimumShowTime in:
    /Users/zwaldowski/Library/Developer/Xcode/DerivedData/AppName-DerivedDataFolder/Build/Products/Debug-iphonesimulator/libPods.a(DZProgressHUD.o)
duplicate symbol _OBJC_CLASS_$_DZProgressHUD in:
    /Users/zwaldowski/Library/Developer/Xcode/DerivedData/AppName-DerivedDataFolder/Build/Products/Debug-iphonesimulator/libPods.a(DZProgressHUD.o)
duplicate symbol _OBJC_METACLASS_$_DZProgressHUD in:
    /Users/zwaldowski/Library/Developer/Xcode/DerivedData/AppName-DerivedDataFolder/Build/Products/Debug-iphonesimulator/libPods.a(DZProgressHUD.o)
duplicate symbol _OBJC_CLASS_$_DZRoundProgressView in:
    /Users/zwaldowski/Library/Developer/Xcode/DerivedData/AppName-DerivedDataFolder/Build/Products/Debug-iphonesimulator/libPods.a(DZProgressHUD.o)
duplicate symbol _OBJC_METACLASS_$_DZRoundProgressView in:
    /Users/zwaldowski/Library/Developer/Xcode/DerivedData/AppName-DerivedDataFolder/Build/Products/Debug-iphonesimulator/libPods.a(DZProgressHUD.o)
duplicate symbol _OBJC_IVAR_$_DZProgressHUD._statusBarStyle in:
    /Users/zwaldowski/Library/Developer/Xcode/DerivedData/AppName-DerivedDataFolder/Build/Products/Debug-iphonesimulator/libPods.a(DZProgressHUD.o)
duplicate symbol _OBJC_METACLASS_$_DZRoundProgressLayer in:
    /Users/zwaldowski/Library/Developer/Xcode/DerivedData/AppName-DerivedDataFolder/Build/Products/Debug-iphonesimulator/libPods.a(DZProgressHUD.o)
duplicate symbol _OBJC_CLASS_$_DZRoundProgressLayer in:
    /Users/zwaldowski/Library/Developer/Xcode/DerivedData/AppName-DerivedDataFolder/Build/Products/Debug-iphonesimulator/libPods.a(DZProgressHUD.o)
ld: 147 duplicate symbols for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)

Some observations: it's all Objective-C symbols, but not all the ones I have in my app by any means. Some Obj-C symbols in the files that cause errors (the BlocksKit categories, for example) aren't causing any problems at are, and some fully Obj-C libraries don't cause any problems at all (DTCoreText being one). I initially thought it was a problem with pre-downloaded Pods, but both AFNetworking and BlocksKit have link errors, while both DTCoreText and SYCache have none.

Removing -ObjC from the build settings causes the app to link, but crash immediately on launch when a category from my MagicalRecord pod gets called for obvious reasons.

If you need any further info, please let me know and thanks always for the effort.

EDIT: To confirm, the Pods target has no duplicate files.

@alloy
CocoaPods member
alloy commented Jun 11, 2012

Oh my. Time to get a Mountain Lion preview then… I hope to have time for this after WWDC. If you find out more in the meantime, please keep us posted.

@zwaldowski

While it isn't directly related, this sounds promising:

The -ObjC flag does not load object files from static libraries that contain categories but no classes. (11617952)
Workaround: Use the –all_load or –force_load flags instead of -ObjC. For more information, read Building Objective-C static libraries with categories at https://developer.apple.com/library/mac/#qa/qa2006/qa1490.html

It's from the 4.5DP release notes; however, it's in LLVM so I consider it public. Hopefully the situation is improved in the new toolchain. If it isn't, I'll poke around with the linker options.

@zwaldowski

Gotta love bugs that fix themselves. Closed.

@zwaldowski zwaldowski closed this Jun 13, 2012
@alloy
CocoaPods member
alloy commented Jun 14, 2012

@zwaldowski So what exactly ended up being the fix? :)

@zwaldowski

I'm not entirely sure, but it's a change in LLVM/Clang between Xcode 4.4DP5 and Xcode 4.5DP1.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.