Undefined symbols for architecture x86_64:
"OBJC_CLASS$_QQApiInterface", referenced from:
objc-class-ref in AppDelegate.o
"OBJC_CLASS$_ShareSDK", referenced from:
objc-class-ref in AppDelegate.o
objc-class-ref in RecipeDetailViewController.o
objc-class-ref in showViewController.o
objc-class-ref in video_show.o
"OBJC_CLASS$_TencentOAuth", referenced from:
objc-class-ref in AppDelegate.o
"OBJC_CLASS$_WXApi", referenced from:
objc-class-ref in AppDelegate.o
1.把1.選中Targets—>Build Settings—>Architectures。
把build active architectures only 改為 NO暂衡。
-
把最下面的Valid Architectures中的arm64參數(shù)刪掉就可以了
或者:
雙擊Architectures绍撞,選擇other刨晴,刪除$(ARCH_STANDARD),然后增加armv7和armv7s(寫上:$(ARCHS_STANDARD_32_BIT))紊馏。
3.clean 再build世分。
結(jié)果設置如下圖: