2014-09-24 24 views
8

Tôi gặp lỗi này, có ai biết vấn đề là gì không? tôi kiểm tra và tôi có chìa khóa Quyền lợi trong cả hai ADHOC và hồ sơ provisioning chính nhưng tôi không biết tại sao tôi có lỗi nàySự cố tiểu sử Ad ​​Hoc

DTFetchSymbols[512] <Notice>: 
/System/Library/Caches/com.apple.dyld/dyld_shared_cache_armv7s 
DTFetchSymbols[512] <Notice>: kCommand_ListFilesPlist 
syslog_relay[377] <Notice>: syslog_relay found the ASL prompt. Starting... 
profiled[84] <Notice>: (Note) MC: Provisioning profiles changed 
mobile_installation_proxy[375] <Warning>: LaunchServices: Please include the 
kCFBundleIdentifierKey in the options dictionary when installing an app. 
mobile_installation_proxy[375] <Warning>: LaunchServices: installing app with unknown 
    bundleID 
installd[384] <Notice>: 0x603000 -[MIClientConnection 
_doBackgroundInstallationForPath:withOptions:completion:]: Install of 
"/var/mobile/Media/PublicStaging/Test.ipa" type Customer requested by 
mobile_installation_proxy (pid 375) 
installd[384] <Notice>: 0x603000 -[MIInstaller performInstallationWithError:]: 
Installing <MIInstallableBundle ID=test.testTest.Test; Version=3, ShortVersion=3.1.2> 
misagent[378] <Error>: attempt to install invalid profile: 0xe8008012 
installd[384] <Error>: 0x603000 -[MIInstallableBundle 
_installEmbeddedProfileInBundle:]: Could not install embedded profile: 0xe8008012 
(Unsupported device) 
installd[384] <Error>: SecTrustEvaluate [leaf CriticalExtensions IssuerCommonName] 
installd[384] <Error>: entitlement 'beta-reports-active' has value not permitted by 
provisioning profile 'test TEST AdHoc 2015' 
installd[384] <Error>: 0x603000 -[MICodeSigningVerifier performValidationWithError:]: 
186: Failed to verify code signature of <MIExecutableBundle : path = /private/var/mobile/Library/Caches/com.apple.mobile.installd.staging/temp.asUxKy/extracted/Payload/Test.app identifier = test.Test.testTest type = 4> : 0xe8008016 (Entitlements found that are not permitted by provisioning profile) 

installd[384] <Error>: 0x603000 -[MIInstaller performInstallationWithError:]: 
Verification stage failed 
mobile_installation_proxy[375] <Error>: 0x603000 
__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.asUxKy/extracted/Payload/Test.app identifier = test.Test.testTest type = 4> : 0xe8008016 (Entitlements found that are not permitted by provisioning profile)" UserInfo=0x17566950 {LibMISErrorNumber=-402620394, LegacyErrorString=ApplicationVerificationFailed, FunctionName=-[MICodeSigningVerifier performValidationWithError:], NSLocalizedDescription=Failed to verify code signature of <MIExecutableBundle : path = 
     /private/var/mobile/Library/Caches/com.apple.mobile.installd.staging/temp.asUxKy/extracted/ Payload/Test.app identifier = test.Test.testTest type = 4> : 0xe8008016 (Entitlements found that are not permitted by provisioning profile), SourceFileLine=186} 
mobile_installation_proxy[375] <Warning>: ERROR: MobileInstallationInstallForLaunchServices returned nil 
mobile_installation_proxy[375] <Error>: 0x581000 handle_install: Installation failed: Error Domain=LaunchServicesError Code=0 "The operation couldn’t be completed. (LaunchServicesError error 0.)" UserInfo=0x17566a30 {Error=ApplicationVerificationFailed, ErrorDetail=-402620394, ErrorDescription=Failed to verify code signature of <MIExecutableBundle : path = /private/var/mobile/Library/Caches/com.apple.mobile.installd.staging/temp.asUxKy/extracted/Payload/Test.app identifier = test.Test.testTest type = 4> : 0xe8008016 (Entitlements found that are not permitted by provisioning profile)} 

Cảm ơn trước!

+0

Tôi đã thấy điều này sáng nay. rất kỳ quặc. Tôi đã phải tạo lại tệp cung cấp và sau đó nó hoạt động tốt. –

+0

@MikeM những gì nó liên quan đến Apple hoặc itunes lỗi hoặc apple trang web cung cấp vấn đề? –

+0

Tôi không biết nguyên nhân gây ra nó - Tôi vừa tạo lại tệp cấp phép, làm mới Xcode để sử dụng cấp phép mới và sau đó nó hoạt động. –

Trả lời

0

Không chắc chắn nếu điều này sẽ giúp bạn, nhưng những gì tôi đã làm điều đó giải quyết nó là tôi đã xóa hồ sơ cấp phép của tôi cho ứng dụng. Sau đó tôi tạo lại nó trong cổng thông tin dành cho nhà phát triển. Tiếp theo tôi đã xây dựng tôi vừa tạo và có XCode xuất nó (Organizer> Export> Save for Ad Hoc Deployment), xác minh nó đang sử dụng provisioning profile mà tôi vừa tạo và sau đó tải lên testflight và tôi đã có thể cài đặt nó điện thoại của tôi. Tôi đang sử dụng iPhone 6 chạy ios 8.0.

0

Lỗi này có thể xảy ra nếu bạn xây dựng và ký IPA của bạn từ dòng lệnh (CI hệ thống như Jenkins) và cần phải nhúng một hồ sơ provisioning thoại di động để sử dụng Apple Đẩy Thông báo:

xcrun [...] --sign "<<CERTIFICATE NAME>>" --embed "<</path/to/mobileprovision>>"

Trong trường hợp đó hồ sơ cấp phép di động bạn đang cố gắng nhúng không giống với cấu hình bạn sử dụng trong xcode.


Ví dụ mã bạn cung cấp cũng cho thấy quyền lợi 'beta-reports-active' cho biết bạn đang sử dụng phiên bản beta. Nếu bạn nhìn vào đây trên StackOverflow bạn sẽ tìm thấy rất nhiều bài viết với các giải pháp về vấn đề cụ thể đó.

+3

Bạn có thể giải thích thêm về điều đó không? –

+0

Vẫn gặp sự cố này và đây là trường hợp chính xác: nhúng hồ sơ cho APNS. Tôi sử dụng 'shenzhen' với hồ sơ cung cấp của tôi và bản sắc ký tên của tôi. – dvkch

+1

'beta-reports-active' không cho biết bạn đang sử dụng bản beta; nó chỉ ra rằng bạn có thể phân phối bản dựng của mình bằng cách sử dụng TestFlight của Apple nếu bạn muốn. – LoriHC

1

Đối với tôi beta-báo cáo chủ động là vấn đề: https://developer.apple.com/library/ios/qa/qa1830/_index.html

Tôi có hai tài liệu lưu trữ Xcode mà tôi có thể xuất khẩu để phân phối ad-hoc. AFAIK chúng dựa trên cùng một mã và được tạo theo cùng một cách (Xcode> Sản phẩm> Lưu trữ). Trong trình hướng dẫn xuất khẩu, một kho lưu trữ cho tôi thấy "beta-reports-active" dưới quyền lợi mà người khác không làm. Tôi nhận được thông báo lỗi tương tự như OP khi cố cài đặt ipas với quyền "beta-reports-active". Tôi đã tạo lại hồ sơ cấp phép và cài đặt lại hồ sơ phân phối appstore trước khi lưu trữ lại sản xuất lưu trữ mà không có quyền "beta-reports-active", nhưng tôi không chắc đó có phải là nguyên nhân hay không.

1

Đối với tôi, điều này bắt đầu xảy ra kể từ Xcode 7.

tôi sử dụng để làm ADHOC .ipa để phân phối over-the-air qua

xcodebuild -exportArchive -archivePath "/path/to/My App 9-24-15, 21.21.xcarchive" -exportPath /path/to/MyApp_AdHoc.ipa -exportFormat ipa -exportProvisioningProfile "MyApp Ad Hoc Distribution Profile" 

(các .xcarchive do Xcode)

Bậc cầu thang, làm thế nào tôi cố định này:

  1. Không còn sử dụng xcodebuild, nhưng thay vào đó hãy Xco de do .ipa cho tôi qua "Xuất ..."Lệnh trong Organizer
  2. Set up Xcode to automatically manage my provisioning profiles
  3. Từ doc trên tôi đã thực hiện một ngoại lệ: trong Cài đặt xây dựng mục tiêu của dưới Mã Ký Xác định tôi làm rõ iOS Developer cho Debug xây dựng và iOS Distribution cho phát hành builds
  4. Đóng Xcode
  5. Refresh một App Store Cung cấp hồ sơ như mô tả trong The beta-reports-active Entitlement Technical Q&A, NHƯNG trước khi xuống tải hồ sơ Cung cấp qua Xcode (Bước 9) Tôi đã gỡ bỏ nó từ đây

    ~/Library/MobileDevice/Provisioning Profiles 
    
  6. Hủy bỏ thư mục DerivedData

    rm -rf ~/Library/Developer/Xcode/DerivedData/* 
    
  7. Di Xcode Cache (chỉ trong trường hợp)

    sudo rm -rf ~/Library/Caches/com.apple.dt.Xcode 
    
  8. Khởi chạy Xcode lần nữa
  9. Tải xuống Hồ sơ cấp phép của App Store qua Preferences ... -> Accounts
  10. Đạt
  11. Hãy chắc chắn rằng khi tôi "xuất khẩu ..." qua Xcode có NO beta-reports-active chìa khóa dưới Quyền lợi của ứng dụng (nếu bạn có một - đó sẽ không làm việc cho ADHOC xây dựng)
1

này bắt đầu xảy ra sau khi nâng cấp từ XCode 6-8, và những gì giải quyết vấn đề đã được bổ sung như sau:

-exportProvisioningProfile "MyApp Ad Hoc Distribution Profile"

vào dòng lệnh xcodebuild -exportArchive của tôi.

Các vấn đề liên quan