2017-03-13 20 views
0

나는 이와 관련된 모든 게시물의 제안을 따랐습니다. 설치할 빌드의 임시 버전을 설치할 수 없습니다. 이것은 iTunes를 통해 설치하려고 할 때 장치에서 가져 오는 오류입니다. 그러면 앱 설치가 즉시 사라집니다.ADHOC이 (가) 휴대 전화에서 Disapears를 빌드합니다.

번들 식별자와 해당 번호가 4 배로 확인되었습니다. 저는 처음부터 시작하여 인증서 및 프로비저닝 프로파일을 약 4 번 다시 시작했습니다. 나는 아이폰과 맥에서 그들을 모두 삭제하고 양식 흠집을 다시 시작했다.

signign이 발생한 후 일부 서명 된 리소스가 수정되거나 패키지에 추가 된 것처럼 보입니까? 여기

로그입니다 :

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를 가져 오는 방법에 대한 정보를 얻을 수 있습니다.그것은 3 일이 원인이라고 밝혀 있도록

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

, 그것은 도움이

+0

감사합니다. 올바른 UDID가 프로필에 있습니다. 위에서 설명한 것처럼 앱은 동일한 번들 ID를 사용하여 빈 앱 (hellow world)이있는 동일한 프로비저닝 프로필로 기기에서 작동합니다. –