2017-10-22 13 views
0

実際のIOSデバイスで実行しようとするたびにエラーを表示しているnativescript角度アプリがあります。 アプリはエミュレータとアンドロイドで正常に動作します。Xcode 9プロビジョニングの設定が矛盾しています

以下にエラーログを示します。私はthis SO answerで提案されているXcodeの署名オプションを自動的に管理しようとしました。しかし、これは動作しませんし、私は同じエラーが発生し続けます。 私はまた、Xcodeでアーカイブを構築しようとしました。アーカイブをエクスポートしようとすると、xcodeはエラーで終了します。

次のようにエラーログがある:

Xcode build... 
2017-10-22 14:14:29.951 xcodebuild[69327:634958] [MT] IDEDistribution: -[IDEDistributionLogging _createLoggingBundleAtPath:]: Created bundle at path '/var/folders/73/29kcfd816cd6jbsm48mqkp2r0000gp/T/questNewS_2017-10-22_14-14-29.950.xcdistributionlogs'. 
2017-10-22 14:14:34.389 xcodebuild[69327:634958] [MT] DVTAssertions: Warning in /Library/Caches/com.apple.xbs/Sources/DVTFrameworks/DVTFrameworks-13233/DVTFoundation/DeveloperStructure/DVTPlatformFamily.m:192 
Details: Error Domain=DVTMachOErrorDomain Code=1 "Reached end of file while looking for: Mach-O slice." UserInfo={NSLocalizedDescription=Reached end of file while looking for: Mach-O slice., NSLocalizedRecoverySuggestion=} 
Object: <NSBundle> 
Method: +dvt_platformFamilyForBundleAtPath:error: 
Thread: <NSThread: 0x7ff668d15a50>{number = 1, name = main} 
Please file a bug at http://bugreport.apple.com with this warning message and any useful information you can provide. 
2017-10-22 14:14:34.510 xcodebuild[69327:634958] [MT] DVTAssertions: Warning in /Library/Caches/com.apple.xbs/Sources/DVTFrameworks/DVTFrameworks-13233/DVTFoundation/DeveloperStructure/DVTPlatformFamily.m:192 
Details: Error Domain=DVTMachOErrorDomain Code=1 "Reached end of file while looking for: Mach-O slice." UserInfo={NSLocalizedDescription=Reached end of file while looking for: Mach-O slice., NSLocalizedRecoverySuggestion=} 
Object: <NSBundle> 
Method: +dvt_platformFamilyForBundleAtPath:error: 
Thread: <NSThread: 0x7ff668d15a50>{number = 1, name = main} 
Please file a bug at http://bugreport.apple.com with this warning message and any useful information you can provide. 
2017-10-22 14:14:34.512 xcodebuild[69327:634958] [MT] DVTAssertions: Warning in /Library/Caches/com.apple.xbs/Sources/DVTFrameworks/DVTFrameworks-13233/DVTFoundation/DeveloperStructure/DVTPlatformFamily.m:192 
Details: Error Domain=DVTMachOErrorDomain Code=1 "Reached end of file while looking for: Mach-O slice." UserInfo={NSLocalizedDescription=Reached end of file while looking for: Mach-O slice., NSLocalizedRecoverySuggestion=} 
Object: <NSBundle> 
Method: +dvt_platformFamilyForBundleAtPath:error: 
Thread: <NSThread: 0x7ff668d15a50>{number = 1, name = main} 
Please file a bug at http://bugreport.apple.com with this warning message and any useful information you can provide. 
2017-10-22 14:14:34.513 xcodebuild[69327:634958] [MT] DVTAssertions: Warning in /Library/Caches/com.apple.xbs/Sources/DVTFrameworks/DVTFrameworks-13233/DVTFoundation/DeveloperStructure/DVTPlatformFamily.m:192 
Details: Error Domain=DVTMachOErrorDomain Code=1 "Reached end of file while looking for: Mach-O slice." UserInfo={NSLocalizedDescription=Reached end of file while looking for: Mach-O slice., NSLocalizedRecoverySuggestion=} 
Object: <NSBundle> 
Method: +dvt_platformFamilyForBundleAtPath:error: 
Thread: <NSThread: 0x7ff668d15a50>{number = 1, name = main} 
Please file a bug at http://bugreport.apple.com with this warning message and any useful information you can provide. 
2017-10-22 14:14:34.863 xcodebuild[69327:634958] [MT] IDEDistribution: Step failed: <IDEDistributionSigningAssetsStep: 0x7ff66e134cc0>: Error Domain=IDEDistributionSigningAssetStepErrorDomain Code=0 "Locating signing assets failed." UserInfo={NSLocalizedDescription=Locating signing assets failed., IDEDistributionSigningAssetStepUnderlyingErrors=(
    "Error Domain=IDEProvisioningErrorDomain Code=8 \"adb has conflicting provisioning settings.\" UserInfo={NSLocalizedDescription=adb has conflicting provisioning settings., NSLocalizedRecoverySuggestion=adb is automatically signed for distribution, but a conflicting code signing identity iPhone Developer has been manually specified. Remove the \"signingCertificate\" entry from your Export Options property list, or switch to manual signing by setting \"signingStyle\" to \"Manual.}", 
    "Error Domain=IDEProvisioningErrorDomain Code=8 \"ios-device-lib has conflicting provisioning settings.\" UserInfo={NSLocalizedDescription=ios-device-lib has conflicting provisioning settings., NSLocalizedRecoverySuggestion=ios-device-lib is automatically signed for distribution, but a conflicting code signing identity iPhone Developer has been manually specified. Remove the \"signingCertificate\" entry from your Export Options property list, or switch to manual signing by setting \"signingStyle\" to \"Manual.}" 
)} 
error: exportArchive: adb has conflicting provisioning settings. 

Error Domain=IDEProvisioningErrorDomain Code=8 "adb has conflicting provisioning settings." UserInfo={NSLocalizedDescription=adb has conflicting provisioning settings., NSLocalizedRecoverySuggestion=adb is automatically signed for distribution, but a conflicting code signing identity iPhone Developer has been manually specified. Remove the "signingCertificate" entry from your Export Options property list, or switch to manual signing by setting "signingStyle" to "Manual.} 

error: exportArchive: ios-device-lib has conflicting provisioning settings. 

Error Domain=IDEProvisioningErrorDomain Code=8 "ios-device-lib has conflicting provisioning settings." UserInfo={NSLocalizedDescription=ios-device-lib has conflicting provisioning settings., NSLocalizedRecoverySuggestion=ios-device-lib is automatically signed for distribution, but a conflicting code signing identity iPhone Developer has been manually specified. Remove the "signingCertificate" entry from your Export Options property list, or switch to manual signing by setting "signingStyle" to "Manual.} 

** EXPORT FAILED ** 

Unable to apply changes on device: 2f5eb251a28d7102c8c421f1f8477b21f67a1470. Error is: Command xcodebuild failed with exit code 70 
+0

こんにちはアヌラーグ、あなたが見つけました溶液?私はまったく同じ問題を抱えており、これまでに何を試みたのか...これまでの成功はありません。 – Ingmar

+0

xcodeでアカウントをセットアップし、Appleの開発者サイトと同じビルドIDのプロビジョニングプロファイルをアプリに適用しますか? – Dlucidone

+0

@Dlucidoneビルド識別子は同じです。プロビジョニングプロファイルの場合、私はXCode管理プロファイルを自動署名によって使用しています。 – Anurag

答えて

0

プロファイルをプロビジョニングでの競合を持っているエラーとの明確なとしてこれを解決するには -

Delete all Provisioning Profiles related to your app from keychain and re-add it again

関連する問題