请教官网IOS框架编译器版本
请教一下,官网IOS框架所使用的SDK版本,要使用什么版本的OSX系统和XCODE版本才能正常识别项目工程和正常编译?我使用OSX10.9+XCODE5.1(也试了XCODE6.0)都不能正常识别工程,打开工程,文件都不会自动导入,手动添加项目文件后,编译也不能通过。还请知道的朋友告诉一下,谢谢。
换了更高级的编译器,终于能编译了,但是官方的开源框架编译出现4个错误,啥都没有改,直接编译的,通不过。请教一下是啥原因,谢谢了
GizOpenSource_AppKit_iOS/Library/GizWifiSDK/GizWifiSDK.framework/GizWifiSDK (2 slices)
Undefined symbols for architecture x86_64:
"_OBJC_CLASS_$_CLLocationManager", referenced from:
objc-class-ref in libBPush.a(BPushLocationManager.o)
"_OBJC_CLASS_$_GizWifiSDK", referenced from:
objc-class-ref in GosAnonymousLogin.o
objc-class-ref in GosForgetViewController.o
objc-class-ref in AppDelegate.o
objc-class-ref in GosRegisterViewController.o
objc-class-ref in GosAboutViewController.o
objc-class-ref in GosConfigSoftAPWaiting.o
objc-class-ref in GosCommon.o
...
"_kCLLocationAccuracyBest", referenced from:
- in libBPush.a(BPushLocationManager.o)
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
大海之舟 发表于 2016-12-6 20:19
换了更高级的编译器,终于能编译了,但是官方的开源框架编译出现4个错误,啥都没有改,直接编译的,通不过 ...
链接找不到sdk的符号,请参考以下链接中”5.5 导入sdk步骤“
http://docs.gizwits.com/zh-cn/AppDev/iOSSDKA2.html#5-集成准备 百度sdk引用了定位,同理链接选项加上CoreLocation.framework即可
页:
[1]