未加载库:@ rpath / libswiftCore.dylibon devices

时间:2015-08-21 10:41:41

标签: xcode swift dylib

我的代码在模拟器上运行完美,但在设备上运行不正确。

我收到此错误:

  

dyld:未加载库:@ rpath / libswiftCore.dylib     参考自:/private/var/mobile/Containers/Bundle/Application/1A779F82-B55D-48BE-870E-282EE7167B98/TabletPLUS.app/TabletPLUS     原因:找不到合适的图像。找到了:     /private/var/mobile/Containers/Bundle/Application/1A779F82-B55D-48BE-870E-282EE7167B98/TabletPLUS.app/Frameworks/libswiftCore.dylib:mmap()错误1,地址= 0x100CD0000,大小= 0x0015C000段= __ TEXT in Segment :: map()mapping /private/var/mobile/Containers/Bundle/Application/1A779F82-B55D-48BE-870E-282EE7167B98/TabletPLUS.app/Frameworks/libswiftCore.dylib

我已撤销分发和开发证书,并添加了新证书。

但是给我留下了同样的错误。

我正在尝试使用iPad Air。

2 个答案:

答案 0 :(得分:0)

只需删除设备中的应用程序并再次运行即可。

答案 1 :(得分:0)

我不得不格式化我的Mac并安装它新鲜......之后我工作了..

相关问题