xcpretty icon indicating copy to clipboard operation
xcpretty copied to clipboard

no check dependency failure message for Xcode8

Open truebit opened this issue 8 years ago • 11 comments

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 avatar Sep 01 '16 07:09 truebit

@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 avatar Feb 14 '17 14:02 mgrebenets

@mgrebenets The fix in #265 seems only addressing no profile problem. I mentioned a failed about "no certificate in specific team" in the issue

truebit avatar Feb 15 '17 06:02 truebit

Ugh, this might need to wait until 0.3 where we just output all of this by default.

supermarin avatar Feb 15 '17 21:02 supermarin

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 avatar Mar 24 '17 12:03 truebit

@truebit mind checking if this is fixed in https://github.com/supermarin/xcpretty/commit/25b9709593ac7347e7b240bf91e32ef3ff6403a0 ?

supermarin avatar Mar 24 '17 21:03 supermarin

you'll need to pull from master

supermarin avatar Mar 24 '17 21:03 supermarin

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

truebit avatar May 11 '17 03:05 truebit

I'm fairly sure the formatted errors you pasted don't correspond to the raw logs above

supermarin avatar May 18 '17 22:05 supermarin

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)

bhallionOhbibi avatar Nov 10 '17 10:11 bhallionOhbibi

Same for v0.3. Any updates or workarounds?

Arzumanian avatar Aug 23 '18 09:08 Arzumanian

code sign messages are very important, they should be considered by xcpretty, as a workaround, I am saving the full log with tee

junalmeida avatar Oct 26 '18 18:10 junalmeida