The current version of google-plus-ios-sdk available on Cocoapods (1.7.1)
doesn't support the x86_64 architecture.
This is the error happening when compiling a project that relies on that SDK:
Ld
/var/folders/19/jchkphxs3095s37rl_p0t2dw0000gn/T/CocoaPods/Lint/build/Pods.build
/Release-iphonesimulator/Pods-ALTGooglePlus.build/Objects-normal/i386/ALTGoogleP
lus normal i386
cd /var/folders/19/jchkphxs3095s37rl_p0t2dw0000gn/T/CocoaPods/Lint/Pods
export IPHONEOS_DEPLOYMENT_TARGET=6.1
export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/Users/tanis/.dnx/runtimes/dnx-mono.1.0.0-beta5-11556/bin:/Users/tanis/.rvm/gems/ruby-2.0.0-p451/bin:/Users/tanis/.rvm/gems/ruby-2.0.0-p451@global/bin:/Users/tanis/.rvm/rubies/ruby-2.0.0-p451/bin:/usr/local/sbin:/Applications/Cocos/frameworks/cocos2d-x:/Applications/Cocos/tools/ant/bin:/Applications/Cocos/frameworks/cocos2d-x/tools/cocos2d-console/bin:/opt/subversion/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin:/Users/tanis/Documents/android-ndk-r8e/:/Users/tanis/Documents/gradle-2.2.1//bin:/Users/tanis/android-sdk//tools:/Users/tanis/android-sdk//platform-tools:/Users/tanis/go/bin:/Users/tanis/.rvm/bin"
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -arch i386 -dynamiclib -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator8.3.sdk -L/var/folders/19/jchkphxs3095s37rl_p0t2dw0000gn/T/CocoaPods/Lint/build/Release-iphonesimulator/Pods -F/var/folders/19/jchkphxs3095s37rl_p0t2dw0000gn/T/CocoaPods/Lint/build/Release-iphonesimulator/Pods -filelist /var/folders/19/jchkphxs3095s37rl_p0t2dw0000gn/T/CocoaPods/Lint/build/Pods.build/Release-iphonesimulator/Pods-ALTGooglePlus.build/Objects-normal/i386/ALTGooglePlus.LinkFileList -install_name @rpath/ALTGooglePlus.framework/ALTGooglePlus -Xlinker -rpath -Xlinker @executable_path/Frameworks -Xlinker -rpath -Xlinker @loader_path/Frameworks -Xlinker -objc_abi_version -Xlinker 2 -framework AddressBook -framework AssetsLibrary -framework CoreGraphics -framework CoreLocation -framework CoreMotion -framework CoreText -framework Foundation -framework MediaPlayer -framework Security -framework SystemConfiguration -framework UIKit -ObjC -fobjc-arc -fobjc-link-runtime -Xlinker -no_implicit_dylibs -mios-simulator-version-min=6.1 -framework AddressBook -framework AssetsLibrary -framework CoreGraphics -framework CoreLocation -framework CoreMotion -framework CoreText -framework Foundation -framework MediaPlayer -framework SVProgressHUD -framework Security -framework SystemConfiguration -framework UIKit -framework google_plus_ios_sdk -single_module -compatibility_version 1 -current_version 1 -Xlinker -dependency_info -Xlinker /var/folders/19/jchkphxs3095s37rl_p0t2dw0000gn/T/CocoaPods/Lint/build/Pods.build/Release-iphonesimulator/Pods-ALTGooglePlus.build/Objects-normal/i386/ALTGooglePlus_dependency_info.dat -o /var/folders/19/jchkphxs3095s37rl_p0t2dw0000gn/T/CocoaPods/Lint/build/Pods.build/Release-iphonesimulator/Pods-ALTGooglePlus.build/Objects-normal/i386/ALTGooglePlus
ld: warning: embedded dylibs/frameworks only run on iOS 8 or later
Undefined symbols for architecture i386:
"_OBJC_CLASS_$_GPPDeepLink", referenced from:
objc-class-ref in ALTGooglePlus.o
"_OBJC_CLASS_$_GPPShare", referenced from:
objc-class-ref in ALTGooglePlus.o
"_OBJC_CLASS_$_GPPSignIn", referenced from:
objc-class-ref in ALTGooglePlus.o
"_OBJC_CLASS_$_GPPURLHandler", referenced from:
objc-class-ref in ALTGooglePlus.o
"_OBJC_CLASS_$_GTLQueryPlus", referenced from:
objc-class-ref in ALTGooglePlus.o
"_OBJC_CLASS_$_GTLServicePlus", referenced from:
objc-class-ref in ALTGooglePlus.o
"_kGTLAuthScopePlusLogin", referenced from:
___31+[ALTGooglePlus sharedInstance]_block_invoke in ALTGooglePlus.o
"_kGTLPlusCollectionVisible", referenced from:
___35-[ALTGooglePlus geFriends:failure:]_block_invoke in ALTGooglePlus.o
ld: symbol(s) not found for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Could you please have a look and fix that as soon as possible? Right now it's
no longer possible to update any Pod that relies on google-plus-ios-sdk.
Cheers!
Original issue reported on code.google.com by santine...@altralogica.it on 22 Apr 2015 at 1:19
Original issue reported on code.google.com by
santine...@altralogica.it
on 22 Apr 2015 at 1:19