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,然后就好了!
xcode导入swift库出错
最新推荐文章于 2020-05-12 17:17:34 发布