好吧,无论出于何种原因,我决定直接通过xCode将应用程序发送至手机,无论如何,它始终会崩溃。不论该应用程序是新的还是旧的都无所谓,我已经尝试了所有操作,并且该应用程序始终在我的物理设备上崩溃。
如果我在模拟器上运行它,则效果很好,并且没有问题!
dyld: library not loaded: @rpath/PINCache.framework/PINCache
Referenced from: /private/var/containers/Bundle/Application/8B72BB38-CAF7-4C05-B9BF-A197463C88B4/Truth or Dare.app/Truth or Dare
Reason: no suitable image found. Did find:
/private/var/containers/Bundle/Application/8B72BB38-CAF7-4C05-B9BF-A197463C88B4/Truth or Dare.app/Frameworks/PINCache.framework/PINCache: code signature invalid for '/private/var/containers/Bundle/Application/8B72BB38-CAF7-4C05-B9BF-A197463C88B4/Truth or Dare.app/Frameworks/PINCache.framework/PINCache'
/private/var/containers/Bundle/Application/8B72BB38-CAF7-4C05-B9BF-A197463C88B4/Truth or Dare.app/Frameworks/PINCache.framework/PINCache: stat() failed with errno=25
/private/var/containers/Bundle/Application/8B72BB38-CAF7-4C05-B9BF-A197463C88B4/Truth or Dare.app/Frameworks/PINCache.framework/PINCache: code signature invalid for '/private/var/containers/Bundle/Application/8B72BB38-CAF7-4C05-B9BF-A197463C88B4/Truth or Dare.app/Frameworks/PINCache.framework/PINCache'
/private/var/containers/Bundle/Application/8B72BB38-CAF7-4C05-B9BF-A197463C88B4/Truth or Dare.app/Frameworks/PINCache.framework/PINCache: stat() failed with errno=1
/private/var/containers/Bundle/Application/8B72BB38-CAF7-4C05-B9BF-A197463C88B4/Truth or Dare.app/Frameworks/PINCache.framework/PINCache: code signature invalid for '/private/var/containers/Bundle/Application/8B72BB38-CAF7-4C05-B9BF-A197463C88B4/Truth or Dare.app/Frameworks/PINCache.framework/PINCache'
/private/var/containers/Bundle/Application/8B72BB38-CAF7-4C05-B9BF-A197463C88B4/Truth or Dare.app/Frameworks/PINCache.framework/PINCache: stat() failed with errno=1
(lldb)
更新:我已经搜索了整个互联网,没有一个答案有效。
我尝试将“构建设置”中的“嵌入”设置设置为“是”
我已经尝试过重建项目
我尝试建立新的用户帐户
我尝试清除钥匙串和设备中的配置文件
我试图重新启动MacBook和iDevice。
我尝试了一个全新的项目。