WLClient - 调用适用于本机iOS应用程序的适配器程序

WLClient - 调用适用于本机iOS应用程序的适配器程序

问题描述:

我正尝试使用Worklite在OS1应用程序中调用适配器程序。当我运行它时,出现错误WLClient - 调用适用于本机iOS应用程序的适配器程序

Undefined symbols for architecture x86_64: 
    "_OBJC_CLASS_$_WLClient", referenced from: 
     objc-class-ref in InterfaceController.o 
ld: symbol(s) not found for architecture x86_64 
clang: error: linker command failed with exit code 1 (use -v to see invocation) 

请确保您已将必需的框架添加到watchkit app目标中。连接到worklight环境需要以下库/框架。

http://developer.ibm.com/mobilefirstplatform/wp-content/uploads/sites/32/2014/12/link-binary.png

我能够调用工作灯适配器我watchkit应用程序。

Apple Watch当前在Worklight/MobileFirst Platform Foundation中不受支持。

+0

不支持观看OS 2。但我认为看OS 1是支持的。 –