Quantcast
Channel: Cocos中文社区 - 最新主题
Viewing all articles
Browse latest Browse all 88737

[BUG]项目添加了apple watch 支持,编译失败

$
0
0

@hp134800 写道:

在xcode中编译能成功,再creator 中编译提示失败,原因如图所示:

图片不清楚可以看文字
ld: warning: object file (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/clang/7.3.0/lib/darwin/libclang_rt.ios.a(emutls.c.o)) was built for newer iOS version (6.0) than being linked (5.1.1)
Undefined symbols for architecture i386:
"OBJCCLASS_$_WCSession", referenced from:
objc-class-ref in RootViewController.o
ld: symbol(s) not found for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Showing first 200 warnings only

** BUILD FAILED **

The following build commands failed:
Ld /Users/mac/Downloads/Work/jsb-default/publish/ios/Project-mobile.app/Project-mobile normal i386
(1 failure)
Build failed: Take a look at the output above for details.

关于_OBJC_CLASS_$_WCSession", referenced from: 这个我已经在app 中添加了,, 并且在xcode中能通过,求大神点拨。

帖子: 1

参与者: 1

阅读整个主题


Viewing all articles
Browse latest Browse all 88737

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>