2017-10-22 2 views
0

Ich habe eine nativescript eckige App, die einen Fehler anzeigt, wenn ich versuche, sie auf einem echten IOS-Gerät auszuführen. Die App läuft gut auf einem Emulator und auf Android.Xcode 9 Konflikte bei den Provisioning-Einstellungen

Das Fehlerprotokoll ist unten wiedergegeben. Ich habe versucht, automatisch die Signaturoption in Xcode zu verwenden, die in this SO answer vorgeschlagen wird. Dies funktioniert jedoch nicht und ich bekomme immer den gleichen Fehler. Ich habe auch versucht, ein Archiv in Xcode zu erstellen. Wenn ich versuche, den Archivcode zu exportieren, fährt xcode einfach mit einem Fehler herunter.

Das Fehlerprotokoll ist wie folgt:

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

Hallo Anurag, haben Sie eine Lösung? Ich habe genau das gleiche Problem und was auch immer ich versucht habe ... bisher keinen Erfolg. – Ingmar

+0

Haben Sie Ihr Konto in xcode- und app-Provisioning-Profilen für dieselbe Build-ID eingerichtet wie in der Apple-Entwickler-Website? – Dlucidone

+0

@Dlucidone Die Build-ID ist identisch. Für Bereitstellungsprofile verwende ich das verwaltete XCode-Profil durch automatisches Signieren. – Anurag

Antwort

0

dies mit den Fehlern als klar zu beheben, die Sie Konflikte in Provisioning-Profil haben -

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