Details
-
Bug
-
Status: Resolved
-
Critical
-
Resolution: Fixed
-
cordova-ios@4.5.1
-
None
-
Mac OS High Sierra 10.13.5,
Cordova 8.0.0,
Xcode 10.0 beta 4
Description
The issue is always reproducible. After adding the iOS platform, cordova cli can't build the project. In the terminal I got the following error:
2018-07-25 17:32:58.475 xcodebuild[10605:197344] DVTProvisioningProfileManager: Failed to load profile "/Users/user/Library/MobileDevice/Provisioning Profiles/c0c097c1-a467-4741-9e24-bc1e9cc9f6e1.mobileprovision" (Error Domain=DVTProvisioningProfileProviderErrorDomain Code=2 "Failed to load profile data." UserInfo={NSLocalizedDescription=Failed to load profile data., NSLocalizedRecoverySuggestion=Profile "(null)" ((null)) has unsupported platforms (null). Profiles with the "mobileprovision" file extension should have one of "tvOS", "watchOS", or "iOS".}) 2018-07-25 17:32:58.495 xcodebuild[10605:197351] DVTProvisioningProfileManager: Failed to load profile "/Users/user/Library/MobileDevice/Provisioning Profiles/cf70a42f-c89f-406d-b9a4-0badd7494a5d.mobileprovision" (Error Domain=DVTProvisioningProfileProviderErrorDomain Code=2 "Failed to load profile data." UserInfo={NSLocalizedDescription=Failed to load profile data., NSLocalizedRecoverySuggestion=Profile "(null)" ((null)) has unsupported platforms (null). Profiles with the "mobileprovision" file extension should have one of "tvOS", "watchOS", or "iOS".})