我从xcode运行我的应用程序到我的iOS设备上,我在iOS设备上看到这个和黑屏。
控制台文本:
dyld: Library not loaded: @rpath/libswiftCore.dylib
Referenced from: /private/var/mobile/Containers/Bundle/Application/10DB2FE8-EF09-4857-B4AC-0DB2E4419D6F/App-Name.app/App-Name
Reason: image not found
(lldb)
发布于 2017-03-30 20:15:21
哦,是的。我花了几个小时来解决这个问题。您可以尝试在Build Settings > Build Options下将"Always Embed Swift Standard Libraries“设置为"Yes”
(别忘了在你的项目之后使用shift+cmd+K )
发布于 2016-04-14 04:56:59
在使用Swift对象更新Obj-C嵌入式框架后,我必须将“embedded Content Contains Code”切换为“Yes”,以使我的Obj-C应用程序正常工作。
发布于 2017-10-12 05:45:18
在Framework目标(不是应用程序目标)中,转到Build Settings > Build Options > Always Embed Standard Swift Libraries设置为YES。
这为我解决了这个问题!
https://stackoverflow.com/questions/26104975
复制相似问题