xcode导入swift库出错

来源:互联网 发布:淘宝客单页生成器 编辑:程序博客网 时间:2024/05/16 14:07

xcode在导入swift库的时候 报错:
dyld: Library not loaded: @rpath/libswiftCore.dylib
Referenced from: /private/var/mobile/Containers/Bundle/Application/34ABFBAC-5B9A-4646-A134-2998607A897D/iDriver.app/iDriver
Reason: no suitable image found.
后来上网搜索相关资料,解决方法:
在build settings 中找到”Embedded Content Contains Swift Code” flag 将默认的NO,改成YES,然后就好了!

0 0
原创粉丝点击