Xcode中的错误是App安装失败,发生未知错误。在设备上,应用程序保持灰色。
试着 :
>从ipad中删除应用程序(以前正在使用)
>软复位并重新启动设备
>删除派生数据并清理
>重新启动mac
>重新安装xcode
>更改包ID和产品名称
>重新创建开发证书和配置文件
使用iOS 6和iOS 7设备工作正常,也可以调试其他项目,但不是这一个,所以我越来越绝望。
任何想法 ?
控制台日志:
23/09/14 18:24:16,617 Xcode[421]: createShadowPath (thread 0x12a2f6000): returning: /var/folders/lq/1z47wljj77gbhhrhc9z_yylw0000gn/C/com.apple.DeveloperTools/6.0.1/Xcode/942f46185227b6e098ea41a4548a0649/e269ac837383a4b805c1e212d18ffe36483ab24a/TDev.app23/09/14 18:24:16,617 Xcode[421]: createSiblingInPath (thread 0x12a2f6000): returning: /var/folders/lq/1z47wljj77gbhhrhc9z_yylw0000gn/C/com.apple.DeveloperTools/6.0.1/Xcode/942f46185227b6e098ea41a4548a0649/e269ac837383a4b805c1e212d18ffe36483ab24a/ManifestCache.pList23/09/14 18:24:16,690 Xcode[421]: _AMDevicecopyInstalledAppInfo (thread 0x12a2f6000): no app info23/09/14 18:24:16,693 Xcode[421]: AMDeviceSecureInstallApplicationBundle (thread 0x12a2f6000): unable to get installed app info,falling back to old skool install23/09/14 18:24:16,693 Xcode[421]: AMDeviceSecureInstallApplicationBundle (thread 0x12a2f6000): Blasting the bundle over to the device in an old skool way23/09/14 18:24:27,005 Xcode[421]: AMDErrorForMobileInstallationCallbackDict (thread 0x114564000): GOT AN ERROR 0xe800003a23/09/14 18:24:27,032 Xcode[421]: SZConduit: _MonitorResultdispatchFunction:140 (0x0x114564000): Got error from service: InstallationFailed23/09/14 18:24:27,033 Xcode[421]: _AMDeviceTransferAndInstall (thread 0x12a2f6000): SZConduitSendpathWithPreflight Failed: 0xe800800123/09/14 18:24:27,051 Xcode[421]: writeDictTofile:1258 ==== Successfully wrote Manifest cache to /var/folders/lq/1z47wljj77gbhhrhc9z_yylw0000gn/C/com.apple.DeveloperTools/6.0.1/Xcode/942f46185227b6e098ea41a4548a0649/e269ac837383a4b805c1e212d18ffe36483ab24a/ManifestCache.pList23/09/14 18:24:27,053 Xcode[421]: AMDeviceSecureInstallApplicationBundle (thread 0x12a2f6000): returning 0xe8008001
编辑:
似乎证书的再生是解决方案,但在清理之后,还需要一个清洁构建文件夹,这解决了问题(至少现在)。
解决方法 只要添加(并且感谢大家在这里提供的提示),系统地找出原因是我解决这个问题的关键。使用Xcode6中的“设备”窗口,然后连接到插入的iPhone允许您查看实时日志 – once you have selected the iPhone click on the tiny up-arrow icon at the bottom.在我的情况下,输出如下所示,强烈地表示“无法验证代码签名…”之一我的(定制)捆绑框架是问题的症结所在。
这导致我检查,发现它与过期的证书(一切都在日期)无关,也没有任何遗留的DerivedData或临时构建文件(尽管总是很好干净!)
事实上,我的自定义框架的“CFBundleExecutable”有一个错字,所以签名实际上是抛出一个错误。这在Xcode中不会立即报告 – 即使您的嵌入式框架的勾号框是“代码签名复制”。尝试在命令行上单独签署一个框架,它会告诉你!
Jul 13 09:40:43 Tims-iPhone installd[2302] <Notice>: 0x10048c000 -[MIClIEntConnection _dobackgroundInstallationForPath:withOptions:completion:]: Install of "/var/mobile/Media/PublicStaging/miin.app" type Developer requested by streaming_zip_conduit (pID 2303)Jul 13 09:40:43 Tims-iPhone installd[2302] <Notice>: 0x10048c000 -[MIInstaller performInstallationWithError:]: Installing <MIInstallableBundle ID=com.timlukins.miin; Version=1,ShortVersion=1.0>Jul 13 09:40:44 Tims-iPhone profiled[2107] <Notice>: (Note ) MC: Provisioning profiles changedJul 13 09:40:44 Tims-iPhone installd[2302] <Error>: SecTrustEvaluate [leaf CriticalExtensions IssuerCommonname]Jul 13 09:40:44 Tims-iPhone installd[2302] <Error>: SecTrustEvaluate [leaf CriticalExtensions IssuerCommonname]Jul 13 09:40:44 Tims-iPhone installd[2302] <Error>: unrecognized status -67049 from codesigning libraryJul 13 09:40:44 Tims-iPhone installd[2302] <Error>: 0x10048c000 -[MICodeSigningVerifIEr performValIDationWithError:]: 188: Failed to verify code signature of <MIExecutableBundle : path = /private/var/mobile/library/Caches/com.apple.mobile.installd.staging/temp.J7tWkl/extracted/miin.app/Frameworks/libmiincore.framework IDentifIEr = com.timlukins.libmiincore type = Framework> : 0xe8008001 (UnkNown error)Jul 13 09:40:44 Tims-iPhone installd[2302] <Error>: 0x10048c000 -[MIInstaller performInstallationWithError:]: Verification stage FailedJul 13 09:40:44 Tims-iPhone streaming_zip_conduit[2303] <Error>: 0x100484000 __MobileInstallationInstallForLaunchServices_block_invoke240: Returned error Error Domain=MIInstallerErrorDomain Code=13 "Failed to verify code signature of <MIExecutableBundle : path = /private/var/mobile/library/Caches/com.apple.mobile.installd.staging/temp.J7tWkl/extracted/miin.app/Frameworks/libmiincore.framework IDentifIEr = com.timlukins.libmiincore type = Framework> : 0xe8008001 (UnkNown error)" UserInfo=0x12ee1fa30 {libmISErrorNumber=-402620415,LegacyErrorString=ApplicationVerificationFailed,Sourcefileline=188,Functionname=-[MICodeSigningVerifIEr performValIDationWithError:],NSLocalizedDescription=Failed to verify code signature of <MIExecutableBundle : path = /private/var/mobile/library/Caches/com.apple.mobile.installd.staging/temp.J7tWkl/extracted/miin.app/Frameworks/libmiincore.framework IDentifIEr = com.timlukins.libmiincore type = Framework> : 0xe8008001 (UnkNown error)}Jul 13 09:40:44 Tims-iPhone streaming_zip_conduit[2303] <Warning>: ERROR: MobileInstallationInstallForLaunchServices returned nilJul 13 09:40:44 Tims-iPhone streaming_zip_conduit[2303] <Warning>: __dispatch_source_read_socket_block_invoke:203: Failed to install application at file:///var/mobile/Media/PublicStaging/miin.app/ : Error Domain=LaunchServicesError Code=0 "The operation Couldn’t be completed. (LaunchServicesError error 0.)" UserInfo=0x12ed20140 {Error=ApplicationVerificationFailed,ErrorDetail=-402620415,ErrorDescription=Failed to verify code signature of <MIExecutableBundle : path = /private/var/mobile/library/Caches/com.apple.mobile.installd.staging/temp.J7tWkl/extracted/miin.app/Frameworks/libmiincore.framework IDentifIEr = com.timlukins.libmiincore type = Framework> : 0xe8008001 (UnkNown error)}总结
以上是内存溢出为你收集整理的无法将应用程序部署到ios 8设备全部内容,希望文章能够帮你解决无法将应用程序部署到ios 8设备所遇到的程序开发问题。
如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)