2017-03-13 57 views
0

我遵循了与此相关的所有帖子的建议。我无法得到我们的版本安装特别版本。这是我尝试通过iTunes安装时从设备中获得的错误。应用程序安装会立即消失。ADHOC从手机制作disapears

我有四重检查捆绑标识符及其正确。 我已经从头开始并重做了大约4次的证书和配置文件。我已经从iphone和mac中删除了它们,然后再次从零开始。

似乎签名发生后,一些签名资源正在编辑或添加到包中?

这里是日志:

Mar 13 15:17:43 JohnnyCs-iPod ondemandd[1093] <Error>: -[ODRBackgroundMaintenance startBackgroundMaintenanceOperations] 
Mar 13 15:17:47 JohnnyCs-iPod installd[1090] <Notice>: 0x1f115000 -[MIClientConnection _doBackgroundInstallationForPath:withOptions:completion:]: Install of "/var/mobile/Media/PublicStaging/ugs_mobile_app.iOS.ipa" type Customer (LSInstallType = (null)) requested by atc (pid 35)** 
Mar 13 15:17:47 JohnnyCs-iPod installd[1090] <Notice>: 0x1f115000 -[MIInstaller performInstallationWithError:]: Installing <MIInstallableBundle ID=com.flycowgames.ugsmobile; Version=1.0, ShortVersion=1.0> 
Mar 13 15:17:47 JohnnyCs-iPod misagent[1063] <Notice>: MIS: attempt to install invalid profile: 0xe8008012 
Mar 13 15:17:47 JohnnyCs-iPod installd[1090] <Error>: 0x1f115000 -[MIInstallableBundle _installEmbeddedProfileInBundle:]: Could not install embedded profile: 0xe8008012 (This provisioning profile cannot be installed on this device.) 
Mar 13 15:17:47 JohnnyCs-iPod securityd[1055] <Error>: secTaskDiagnoseEntitlements MISSING keychain entitlements: no stored taskRef found 
Mar 13 15:17:47 JohnnyCs-iPod securityd[1055] <Error>: secTaskDiagnoseEntitlements MISSING keychain entitlements: no stored taskRef found 
Mar 13 15:17:47 JohnnyCs-iPod installd[1090] <Error>: SecTrustEvaluate [leaf IssuerCommonName SubjectCommonName] 
Mar 13 15:17:50 JohnnyCs-iPod installd[1090] <Notice>: MIS: resource deleted: /private/var/installd/Library/Caches/com.apple.mobile.installd.staging/temp.EZkRwi/extracted/Payload/ugs_mobile_app.iOS.app/SwiftFrameworksSimulator/libswiftCore.dylib 
Mar 13 15:17:50 JohnnyCs-iPod installd[1090] <Notice>: MIS: resource deleted: /private/var/installd/Library/Caches/com.apple.mobile.installd.staging/temp.EZkRwi/extracted/Payload/ugs_mobile_app.iOS.app/SwiftFrameworksSimulator/libswiftCoreGraphics.dylib 
Mar 13 15:17:50 JohnnyCs-iPod installd[1090] <Notice>: MIS: resource deleted: /private/var/installd/Library/Caches/com.apple.mobile.installd.staging/temp.EZkRwi/extracted/Payload/ugs_mobile_app.iOS.app/SwiftFrameworksSimulator/libswiftCoreData.dylib 
Mar 13 15:17:50 JohnnyCs-iPod installd[1090] <Notice>: MIS: resource deleted: /private/var/installd/Library/Caches/com.apple.mobile.installd.staging/temp.EZkRwi/extracted/Payload/ugs_mobile_app.iOS.app/SwiftFrameworksSimulator/libswiftIntents.dylib 
Mar 13 15:17:50 JohnnyCs-iPod installd[1090] <Notice>: MIS: resource deleted: /private/var/installd/Library/Caches/com.apple.mobile.installd.staging/temp.EZkRwi/extracted/Payload/ugs_mobile_app.iOS.app/SwiftFrameworksSimulator/libswiftos.dylib 
Mar 13 15:17:50 JohnnyCs-iPod installd[1090] <Notice>: MIS: resource deleted: /private/var/installd/Library/Caches/com.apple.mobile.installd.staging/temp.EZkRwi/extracted/Payload/ugs_mobile_app.iOS.app/SwiftFrameworksSimulator/libswiftDarwin.dylib 
Mar 13 15:17:50 JohnnyCs-iPod installd[1090] <Notice>: MIS: resource deleted: /private/var/installd/Library/Caches/com.apple.mobile.installd.staging/temp.EZkRwi/extracted/Payload/ugs_mobile_app.iOS.app/SwiftFrameworksSimulator/libswiftCoreImage.dylib 
Mar 13 15:17:50 JohnnyCs-iPod installd[1090] <Notice>: MIS: resource deleted: /private/var/installd/Library/Caches/com.apple.mobile.installd.staging/temp.EZkRwi/extracted/Payload/ugs_mobile_app.iOS.app/SwiftFrameworksSimulator/libswiftDispatch.dylib 
Mar 13 15:17:50 JohnnyCs-iPod installd[1090] <Notice>: MIS: resource deleted: /private/var/installd/Library/Caches/com.apple.mobile.installd.staging/temp.EZkRwi/extracted/Payload/ugs_mobile_app.iOS.app/SwiftFrameworksSimulator/libswiftFoundation.dylib 
Mar 13 15:17:50 JohnnyCs-iPod installd[1090] <Notice>: MIS: resource deleted: /private/var/installd/Library/Caches/com.apple.mobile.installd.staging/temp.EZkRwi/extracted/Payload/ugs_mobile_app.iOS.app/SwiftFrameworksSimulator/libswiftCoreMedia.dylib 
Mar 13 15:17:50 JohnnyCs-iPod installd[1090] <Notice>: MIS: resource deleted: /private/var/installd/Library/Caches/com.apple.mobile.installd.staging/temp.EZkRwi/extracted/Payload/ugs_mobile_app.iOS.app/SwiftFrameworksSimulator/libswiftObjectiveC.dylib 
Mar 13 15:17:50 JohnnyCs-iPod installd[1090] <Notice>: MIS: resource deleted: /private/var/installd/Library/Caches/com.apple.mobile.installd.staging/temp.EZkRwi/extracted/Payload/ugs_mobile_app.iOS.app/SwiftFrameworksSimulator/libswiftQuartzCore.dylib 
Mar 13 15:17:50 JohnnyCs-iPod installd[1090] <Notice>: MIS: resource deleted: /private/var/installd/Library/Caches/com.apple.mobile.installd.staging/temp.EZkRwi/extracted/Payload/ugs_mobile_app.iOS.app/SwiftFrameworksSimulator/libswiftContacts.dylib 
Mar 13 15:17:50 JohnnyCs-iPod installd[1090] <Notice>: MIS: resource deleted: /private/var/installd/Library/Caches/com.apple.mobile.installd.staging/temp.EZkRwi/extracted/Payload/ugs_mobile_app.iOS.app/SwiftFrameworksSimulator/libswiftUIKit.dylib 
Mar 13 15:17:50 JohnnyCs-iPod installd[1090] <Error>: 0x1f115000 +[MICodeSigningVerifier _validateSignatureAndCopyInfoForURL:withOptions:error:]: 142: Failed to verify code signature of /private/var/installd/Library/Caches/com.apple.mobile.installd.staging/temp.EZkRwi/extracted/Payload/ugs_mobile_app.iOS.app : 0xe8008017 (A signed resource has been added, modified, or deleted.) 
Mar 13 15:17:50 JohnnyCs-iPod installd[1090] <Error>: 0x1f115000 -[MIInstaller performInstallationWithError:]: Verification stage failed 
Mar 13 15:17:50 JohnnyCs-iPod atc[35] <Error>: 0x1f39f000 __MobileInstallationInstallForLaunchServices_block_invoke222: Returned error Error Domain=MIInstallerErrorDomain Code=13 "Failed to verify code signature of /private/var/installd/Library/Caches/com.apple.mobile.installd.staging/temp.EZkRwi/extracted/Payload/ugs_mobile_app.iOS.app : 0xe8008017 (A signed resource has been added, modified, or deleted.)" UserInfo={LibMISErrorNumber=-402620393, LegacyErrorString=ApplicationVerificationFailed, FunctionName=+[MICodeSigningVerifier _validateSignatureAndCopyInfoForURL:withOptions:error:], NSLocalizedDescription=Failed to verify code signature of /private/var/installd/Library/Caches/com.apple.mobile.installd.staging/temp.EZkRwi/extracted/Payload/ugs_mobile_app.iOS.app : 0xe8008017 (A signed resource has been added, modified, or deleted.), SourceFileLine=142} 
Mar 13 15:17:50 JohnnyCs-iPod atc[35] <Error>: [appinstallation] LaunchServices observer: Apps Failed be installed: (
    "<LSApplicationProxy: 0x15dbde20> com.flycowgames.ugsmobile (Placeholder) <file:///private/var/containers/Bundle/Application/A51E6B3F-7B44-465F-9F12-63DDBE14E70F/com.flycowgames.ugsmobile.app>" 
) 
Mar 13 15:17:50 JohnnyCs-iPod itunesstored[96] <Error>: [appinstallation] LaunchServices observer: Apps Failed be installed: (
    "<LSApplicationProxy: 0x167378e0> com.flycowgames.ugsmobile (Placeholder) <file:///private/var/containers/Bundle/Application/A51E6B3F-7B44-465F-9F12-63DDBE14E70F/com.flycowgames.ugsmobile.app>" 
) 
Mar 13 15:17:50 JohnnyCs-iPod apsd[87] <Error>: [appinstallation] LaunchServices observer: Apps Failed be installed: (
    "<LSApplicationProxy: 0x176a53e0> com.flycowgames.ugsmobile (Placeholder) <file:///private/var/containers/Bundle/Application/A51E6B3F-7B44-465F-9F12-63DDBE14E70F/com.flycowgames.ugsmobile.app>" 
) 
Mar 13 15:17:50 JohnnyCs-iPod SpringBoard[48] <Error>: [appinstallation] LaunchServices observer: Apps Failed be installed: (
    "<LSApplicationProxy: 0x17d251a0> com.flycowgames.ugsmobile (Placeholder) <file:///private/var/containers/Bundle/Application/A51E6B3F-7B44-465F-9F12-63DDBE14E70F/com.flycowgames.ugsmobile.app>" 
) 
Mar 13 15:17:50 JohnnyCs-iPod iaptransportd[29] <Error>: [appinstallation] LaunchServices observer: Apps Failed be installed: (
    "<LSApplicationProxy: 0x14d93490> com.flycowgames.ugsmobile (Placeholder) <file:///private/var/containers/Bundle/Application/A51E6B3F-7B44-465F-9F12-63DDBE14E70F/com.flycowgames.ugsmobile.app>" 
) 
Mar 13 15:17:50 JohnnyCs-iPod passd[1114] <Error>: [appinstallation] LaunchServices observer: Apps Failed be installed: (
    "<LSApplicationProxy: 0x17d702f0> com.flycowgames.ugsmobile (Placeholder) <file:///private/var/containers/Bundle/Application/A51E6B3F-7B44-465F-9F12-63DDBE14E70F/com.flycowgames.ugsmobile.app>" 
) 
Mar 13 15:17:50 JohnnyCs-iPod BTServer[73] <Error>: [appinstallation] LaunchServices observer: Apps Failed be installed: (
    "<LSApplicationProxy: 0x17535930> com.flycowgames.ugsmobile (Placeholder) <file:///private/var/containers/Bundle/Application/A51E6B3F-7B44-465F-9F12-63DDBE14E70F/com.flycowgames.ugsmobile.app>" 
) 
Mar 13 15:17:50 JohnnyCs-iPod nsurlsessiond[108] <Error>: [appinstallation] LaunchServices observer: Apps Failed be installed: (
    "<LSApplicationProxy: 0x1768b9b0> com.flycowgames.ugsmobile (Placeholder) <file:///private/var/containers/Bundle/Application/A51E6B3F-7B44-465F-9F12-63DDBE14E70F/com.flycowgames.ugsmobile.app>" 
) 
Mar 13 15:17:50 JohnnyCs-iPod UserEventAgent[23] <Error>: [appinstallation] LaunchServices observer: Apps Failed be installed: (
    "<LSApplicationProxy: 0x175b5e90> com.flycowgames.ugsmobile (Placeholder) <file:///private/var/containers/Bundle/Application/A51E6B3F-7B44-465F-9F12-63DDBE14E70F/com.flycowgames.ugsmobile.app>" 
) 
Mar 13 15:17:50 JohnnyCs-iPod profiled[1060] <Error>: [appinstallation] LaunchServices observer: Apps Failed be installed: (
    "<LSApplicationProxy: 0x16571730> com.flycowgames.ugsmobile (Placeholder) <file:///private/var/containers/Bundle/Application/A51E6B3F-7B44-465F-9F12-63DDBE14E70F/com.flycowgames.ugsmobile.app>" 
) 
Mar 13 15:17:50 JohnnyCs-iPod lsd[79] <Warning>: LaunchServices: Unentitled vendor device identifier lookup for app com.flycowgames.ugsmobile by pid 35 
Mar 13 15:17:50 JohnnyCs-iPod installd[1090] <Notice>: 0x1f081000 -[MIClientConnection uninstallIdentifiers:withOptions:completion:]: Uninstall requested by atc (pid 35) for identifier com.flycowgames.ugsmobile with options: (null) 
Mar 13 15:17:51 JohnnyCs-iPod installd[1090] <Notice>: 0x1f081000 -[MIUninstaller _uninstallBundleWithIdentifier:error:]: Uninstalling identifier com.flycowgames.ugsmobile 
Mar 13 15:17:51 JohnnyCs-iPod installd[1090] <Notice>: 0x1f081000 -[MIUninstallNotifier performRemovalWithCompletionBlock:]: Destroying container with identifier com.flycowgames.ugsmobile at /private/var/containers/Bundle/Application/A51E6B3F-7B44-465F-9F12-63DDBE14E70F 
Mar 13 15:17:51 JohnnyCs-iPod installd[1090] <Notice>: 0x1f081000 -[MIUninstallNotifier performRemovalWithCompletionBlock:]: Destroying container with identifier com.flycowgames.ugsmobile at /private/var/mobile/Containers/Data/Application/BE88138E-9124-466E-9C4F-A3EC138B5A88 


MIS: attempt to install invalid profile: 0xe8008012 

Could not install embedded profile: 0xe8008012 (This provisioning profile cannot be installed on this device.) 

我注意到它是说无效配置配置文件,但我只是做了一个空的测试应用程序,它使用相同的证书和供给曲线的作品。

secTaskDiagnoseEntitlements MISSING keychain entitlements: no stored taskRef found 

不知道这个错误意味着什么,但它可能会导致问题?

编辑:

于是我就这个命令来查看原因配置文件是无效的,我得到这个。

codesign --verify --verbose - ugs_mobile_app.IOS.app 

,并返回该

Dereks-iMac:Release derek$ codesign --verify --verbose ugs_mobile_app.iOS.app 
ugs_mobile_app.iOS.app: a sealed resource is missing or invalid 
file missing: /Users/derek/ugs-mobile-app/ugs-mobile-app/ugs_mobile_app.iOS/bin/iPhone/Release/ugs_mobile_app.iOS.app/SwiftFrameworksSimulator/libswiftCoreGraphics.dylib 
file missing: /Users/derek/ugs-mobile-app/ugs-mobile-app/ugs_mobile_app.iOS/bin/iPhone/Release/ugs_mobile_app.iOS.app/SwiftFrameworksSimulator/libswiftFoundation.dylib 
file missing: /Users/derek/ugs-mobile-app/ugs-mobile-app/ugs_mobile_app.iOS/bin/iPhone/Release/ugs_mobile_app.iOS.app/SwiftFrameworksSimulator/libswiftDispatch.dylib 
file missing: /Users/derek/ugs-mobile-app/ugs-mobile-app/ugs_mobile_app.iOS/bin/iPhone/Release/ugs_mobile_app.iOS.app/SwiftFrameworksSimulator/libswiftObjectiveC.dylib 
file missing: /Users/derek/ugs-mobile-app/ugs-mobile-app/ugs_mobile_app.iOS/bin/iPhone/Release/ugs_mobile_app.iOS.app/SwiftFrameworksSimulator/libswiftDarwin.dylib 
file missing: /Users/derek/ugs-mobile-app/ugs-mobile-app/ugs_mobile_app.iOS/bin/iPhone/Release/ugs_mobile_app.iOS.app/SwiftFrameworksSimulator/libswiftos.dylib 
file missing: /Users/derek/ugs-mobile-app/ugs-mobile-app/ugs_mobile_app.iOS/bin/iPhone/Release/ugs_mobile_app.iOS.app/SwiftFrameworksSimulator/libswiftCore.dylib 
file missing: /Users/derek/ugs-mobile-app/ugs-mobile-app/ugs_mobile_app.iOS/bin/iPhone/Release/ugs_mobile_app.iOS.app/SwiftFrameworksSimulator/libswiftCoreData.dylib 
file missing: /Users/derek/ugs-mobile-app/ugs-mobile-app/ugs_mobile_app.iOS/bin/iPhone/Release/ugs_mobile_app.iOS.app/SwiftFrameworksSimulator/libswiftContacts.dylib 
file missing: /Users/derek/ugs-mobile-app/ugs-mobile-app/ugs_mobile_app.iOS/bin/iPhone/Release/ugs_mobile_app.iOS.app/SwiftFrameworksSimulator/libswiftIntents.dylib 
file missing: /Users/derek/ugs-mobile-app/ugs-mobile-app/ugs_mobile_app.iOS/bin/iPhone/Release/ugs_mobile_app.iOS.app/SwiftFrameworksSimulator/libswiftCoreImage.dylib 
file missing: /Users/derek/ugs-mobile-app/ugs-mobile-app/ugs_mobile_app.iOS/bin/iPhone/Release/ugs_mobile_app.iOS.app/SwiftFrameworksSimulator/libswiftQuartzCore.dylib 
file missing: /Users/derek/ugs-mobile-app/ugs-mobile-app/ugs_mobile_app.iOS/bin/iPhone/Release/ugs_mobile_app.iOS.app/SwiftFrameworksSimulator/libswiftCoreMedia.dylib 
file missing: /Users/derek/ugs-mobile-app/ugs-mobile-app/ugs_mobile_app.iOS/bin/iPhone/Release/ugs_mobile_app.iOS.app/SwiftFrameworksSimulator/libswiftUIKit.dylib 

因此,它看起来像所有的迅速框架失踪,但他们也得到补充“框架/”我手动打开.app文件,并添加所有失踪资源手动并再次运行代码,我得到了这个。

ugs_mobile_app.iOS.app: valid on disk 
ugs_mobile_app.iOS.app: satisfies its Designated Requirement 

所以看起来这是问题,但我无法找到一种方法来获得这些文件被复制到IPA,当它被构建。

编辑#2:

所以我想通了如何通过手动移动它们后框架签字。但是现在我收到关于失踪资格的错误。

<Notice>: entitlement '<private>' has value not permitted by provisioning profile '<private>' 
Failed to verify code signature of /private/var/installd/Library/Caches/com.apple.mobile.installd.staging/temp.qNoMzx/extracted/Payload/ugs_mobile_app.iOS.app : 0xe8008016 (The executable was signed with invalid entitlements.) 

我已经通过并确保在权利中启用了推送通知,他们是。

回答

0

好了,事实证明,这是三件事情导致此。

第一个是最终包中丢失的框架。我能够通过归档然后打开软件包,添加框架和辞职来解决这个问题。

第二个问题是我的本地库绑定没有被移到项目中。在构建过程中手动移动此内容(将在构建过程中添加自定义命令)

第三个问题是在info.plist文件中有一个双推送通知实体,在entitlements.plist文件中有一个双推通知实体。从构建设置中删除自定义权利文件修复了此问题。

0

我不知道,如果你做到这一步,但你应该注册您的设备,你正在安装的应用程序:

https://developer.apple.com/account/ios/device/

在这个页面,你会需要设备的UDID。在这里你可以得到关于如何获得设备的UDID的信息。

http://www.iclarified.com/52179/how-to-find-your-iphones-udid

希望它能帮助,

+0

谢谢,我在配置文件中有正确的UDID。如上所述,该应用程序在设备上使用相同的供应配置文件并使用相同的捆绑ID与空应用程序(hellow world)一起工作。 –