2
我建立動態的框架中,我很進口GoogleMobileAds框架(我沒有將它鏈接二進制)未定義符號問題與GoogleMobileAds
我只是導入它的類代碼,同時保持框架項目路徑而不在構建階段將它鏈接在「鏈接二進制」
import GoogleMobileAds
我正在試圖建立項目時這個錯誤:
Undefined symbols for architecture arm64:
"_OBJC_CLASS_$_GADInterstitial", referenced from:
static VeediSDK_admob.VeediUtils.loadNewAdd (VeediSDK_admob.VeediUtils.Type)() -> __ObjC.GADInterstitial in
VeediUtils.o
"_OBJC_CLASS_$_GADRequest", referenced from:
static VeediSDK_admob.VeediUtils.loadNewAdd (VeediSDK_admob.VeediUtils.Type)() -> __ObjC.GADInterstitial in VeediUtils.o
ld: symbol(s) not found for architecture arm64
仙我正在構建框架,我不想將GoogleMobileAds直接鏈接到框架。
我確信我正在連接所有GoogleMobileAds要求,並相信這不是問題
任何想法如何解決這個系統框架?
類似的錯誤:看看是否有幫助http://stackoverflow.com/questions/19213782/undefined-symbols-for-architecture-arm64 – AndroidMechanic
在構建設置中添加其他鏈接器標誌-Objc –