xcpretty
xcpretty copied to clipboard
no check dependency failure message for Xcode8
dependency failure message like below:
No certificate matching '
' for team ' ': Select a different signing certificate for CODE_SIGN_IDENTITY, a team that matches your selected certificate, or switch to automatic provisioning. Provisioning profile " " belongs to team " ", which does not match the selected team " ". Code signing is required for product type 'Application' in SDK 'iOS 10.0'
in xcpretty 0.2.2, it only display following message:
▸ Check Dependencies ** ARCHIVE FAILED ** The following build commands failed: Check dependencies (1 failure)
@truebit I believe it is fixed in https://github.com/supermarin/xcpretty/pull/265.
... or only partially fixed, maybe more matches need to be added to cover all the errors you've got
@mgrebenets The fix in #265 seems only addressing no profile problem. I mentioned a failed about "no certificate in specific team" in the issue
Ugh, this might need to wait until 0.3 where we just output all of this by default.
I have found one more error log as below:
Check dependencies Provisioning profile "foobar" has app ID "com.foo.bar", which does not match the bundle ID "com.foo.foo". Code signing is required for product type 'Application' in SDK 'iOS 10.2'
in xcpretty 0.2.4, it only displays Code signing is required for product type 'Application' in SDK 'iOS 10.2
@truebit mind checking if this is fixed in https://github.com/supermarin/xcpretty/commit/25b9709593ac7347e7b240bf91e32ef3ff6403a0 ?
you'll need to pull from master
I tried on xcpretty v0.2.7, it now reports check dependency error, but not all of them. for example:
Check dependencies Provisioning profile "WatchKitApp_enterprise" has app ID "com.company.enterprise.watchkitapp", which does not match the bundle ID ".watchkitapp". Provisioning profile "WatchKitApp_enterprise" doesn't match the entitlements file's value for the application-identifier entitlement. Code signing is required for product type 'WatchKit App' in SDK 'watchOS 3.2'
it only prints out as follows:
❌ Provisioning profile "WatchKitApp_enterprise" doesn't include the application-identifier entitlement.
❌ Code signing is required for product type 'WatchKitApp' in SDK 'watchOS 3.1'
It missed the first error line
I'm fairly sure the formatted errors you pasted don't correspond to the raw logs above
Just had the exact same error with xcpretty v0.2.8 today. Using Xcode 9.1. The error was that the provisioning profile's bundle ID provided did not match the app.
Here's what xcode returns:
Check dependencies
Code Signing Error: Provisioning profile "MyGame-Development" has app ID "com.org.mygame", which does not match the bundle ID "com.org.myothergame".
Code Signing Error: Code signing is required for product type 'Application' in SDK 'iOS 11.0'
** ARCHIVE FAILED **
The following build commands failed:
Check dependencies
(1 failure)
Now with xcpretty:
> Check Dependencies
** ARCHIVE FAILED **
The following build commands failed:
Check dependencies
(1 failure)
Same for v0.3. Any updates or workarounds?
code sign messages are very important, they should be considered by xcpretty, as a workaround, I am saving the full log with tee