我加入到我的莢文件GOOGLEPLUS用的CocoaPods鏈接錯誤
pod 'google-plus-ios-sdk', '1.4.1'
我做了
pod update
我進口
#import <GooglePlus/GooglePlus.h>
但是,如果我嘗試
[GPPSignIn sharedInstance].clientID = kClientID;
我從鏈接得到這個錯誤:
Undefined symbols for architecture i386:
"_OBJC_CLASS_$_GPPSignIn", referenced from:
objc-class-ref in SDSocialManager.o
ld: symbol(s) not found for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)
如果我直接在沒有的CocoaPods – Lubbo
我遇到了同樣的問題在項目中添加的lib沒問題。我試圖在Pod和Project Target中將'Build Active Architectures'修改爲NO,但是無濟於事。 – jakenberg