2017-03-13 3 views
0

Ich habe die Vorschläge von allen diesbezüglichen Posts befolgt. Ich kann keine Ad-hoc-Version von unserem Build installieren. Dies ist der Fehler, den ich vom Gerät bekomme, wenn ich versuche, es über iTunes zu installieren. Was passiert, ist, dass die App-Installation sofort verschwindet.ADHOC Build verschwindet von Telefon

Ich habe vierfach überprüft die Bundle-Kennung und seine korrekte. Ich habe von vorne angefangen und die Zertifikate und Provisioning-Profile etwa 4 Mal neu erstellt. Ich habe sie alle aus dem Iphone und dem Mac gelöscht und habe wieder mit dem Formular angefangen.

Es scheint, als ob eine signierte Ressource bearbeitet oder dem Paket hinzugefügt wird, nachdem das Signign aufgetreten ist? Hier

ist das Protokoll:

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.) 

Ich bemerkte es ungültig Provisioning-Profil zu sagen Aber ich habe nur einen leeren Test-App und es funktioniert mit dem gleichen cert und Provisioning-Profil.

Nicht sicher, was dieser Fehler bedeutet, aber es könnte das Problem verursachen?

EDIT:

So lief ich diesen Befehl, um den Grund zu sehen, warum das Profil ungültig ist und ich diese.

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

und es gibt diese

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 

So sieht es aus wie alle die schnellen Rahmenbedingungen fehlen, aber sie auch in hinzugefügt bekommen „frameworks /“ Ich manuell die .app-Datei geöffnet und hinzugefügt, alle fehlenden Ressourcen manuell und führte den Code erneut und ich habe das.

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

So scheint es, dies das Problem ist, aber ich kann nicht einen Weg, um diese Dateien finden die IPV kopiert werden, wenn es gebaut wird.

Edit # 2:

Also habe ich herausgefunden, wie es mit den Rahmenbedingungen zu unterzeichnen, nachdem sie über manuell zu bewegen. Aber jetzt bekomme ich eine Fehlermeldung über fehlende Berechtigungen.

<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.) 

Ich bin durchgegangen und dafür gesorgt, dass die Push-Benachrichtigungen in den Berechtigungen aktiviert wurden und sie sind.

Antwort

0

Okay, so stellt sich heraus, dass es drei Dinge war dies verursacht.

Die erste war die fehlenden Frameworks im endgültigen Paket. Ich konnte dies lösen, indem ich das Paket archivierte und dann öffnete, die Frameworks hinzufügte und zurücktrat.

Das zweite Problem war meine native Bibliothek Bindungen wurde nicht mit dem Projekt verschoben. Manuelles Verschieben während des Builds behoben (wird während des Builds einen benutzerdefinierten Befehl hinzufügen)

Das dritte Problem war, dass es doppelte Push-Benachrichtigungsberechtigungen in der Datei info.plist und in der Datei entiainements.plist gab. Durch das Löschen der benutzerdefinierten Berechtigungsdatei aus den Build-Einstellungen wurde dies behoben.

0

Ich weiß nicht, ob Sie diesen Schritt zu tun, aber Sie sollten Ihr Gerät registrieren, wo Sie die App auf installieren:

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

Auf dieser Seite wirst du brauchen die UDID des Geräts. Hier können Sie Informationen darüber erhalten, wie Sie die UDID Ihres Geräts erhalten können.

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

Hoffe, dass es hilft,

+0

Danke, ich habe die richtigen UDIDs im Profil. Wie oben erwähnt, funktioniert die App auf dem Gerät mit dem gleichen Provisioning-Profil mit einer leeren App (Hellow World), die dieselbe Bundle-ID verwendet. –

Verwandte Themen