Skip to content
This repository has been archived by the owner on Sep 20, 2023. It is now read-only.

Bitrise stuck with Watch App #1787

Closed
rnystrom opened this issue May 4, 2018 · 13 comments
Closed

Bitrise stuck with Watch App #1787

rnystrom opened this issue May 4, 2018 · 13 comments
Labels
🐛 bug Unintended behaviour within the app

Comments

@rnystrom
Copy link
Member

rnystrom commented May 4, 2018

After merging #1781, Bitrise is stuck trying to code sign the TestFlight build. The dev build worked just fine, but now when I'm trying to archive, it fails w/:

Last lines of the Xcode's build log:
Check dependencies
Code Signing Error: No profiles for 'com.whoisryannystrom.freetime.watchkitapp.watchkitextension' were found:  Xcode couldn't find any iOS App Development provisioning profiles matching 'com.whoisryannystrom.freetime.watchkitapp.watchkitextension'. Automatic signing is disabled and unable to generate a profile. To enable automatic signing, pass -allowProvisioningUpdates to xcodebuild.
Code Signing Error: Code signing is required for product type 'WatchKit Extension' in SDK 'watchOS 4.3'
** ARCHIVE FAILED **

I've created + uploaded the WatchKit App and Extension provisioning profiles (both dev and distribution) and nothing works. Running the xcodebuild command locally works fine, archiving w/in Xcode works fine... I'm stumped.

Does anyone have any advice? @viktorgardart maybe?

@rnystrom rnystrom added 🐛 bug Unintended behaviour within the app high labels May 4, 2018
@viktorgardart
Copy link
Contributor

Hmm, I actually have no idea, @KrauseFx maybe?

@rnystrom
Copy link
Member Author

rnystrom commented May 4, 2018

Er sorry meant @viktorbenei

Sent with GitHawk

@viktorbenei
Copy link

viktorbenei commented May 4, 2018

My guess is a missing dev profile which exists on your Mac but you forgot to upload it to Bitrise.io

Try https://github.com/bitrise-tools/codesigndoc it was designed exactly for this, to collect all required signing files 😉

PS you can also find the codesigndoc one liner in the workflow editor, on the Code Signing tab.

@rnystrom
Copy link
Member Author

rnystrom commented May 4, 2018

@viktorbenei I actually tried the script and it outputs an empty directory 😕 I’ll check the Xcode logs.

Sent with GitHawk

@viktorbenei
Copy link

@rnystrom without logs it's really hard to tell - can you share the terminal/log output of codesigndoc?

@rnystrom
Copy link
Member Author

rnystrom commented May 4, 2018

@viktorbenei here's the codesigndoc output:

https://gist.github.com/rnystrom/93bcd2da6b0ad113f840fd0cc312c0b9

Archive and everything succeeds, but exports is empty.

screen shot 2018-05-04 at 3 40 23 pm

@KrauseFx
Copy link

KrauseFx commented May 5, 2018

Alright, let's keep the tagging game going. Maybe @joshdholtz knows more?

@rnystrom
Copy link
Member Author

rnystrom commented May 5, 2018

Wait I wonder if I need to select the dev profile when archiving... 🤔 ... will try and report back!

Sent with GitHawk

@joshdholtz
Copy link

Totes out getting Mexican food right now so only able to look at things on my phone but seems like the profiles need to be selected in Xcode (if they aren’t) and bitrise (if they aren’t) since match and/or sigh isn’t being used 🤔

I don’t know much about bitrise but maybe match/sigh could be integrated into the Fastfile to do all the heavy lifting of certs and profiles so things don’t need to be manually done? ☺️

@rnystrom
Copy link
Member Author

rnystrom commented May 6, 2018

Looks like codesigndoc just needed dev profiles (not app store)

@rnystrom rnystrom closed this as completed May 6, 2018
@joshdholtz
Copy link

BTW, I just downloaded GitHawk (I didn’t know it was a thing) and it is awesome 👌 Thanks for making this!

Sent with GitHawk

@jdisho
Copy link
Collaborator

jdisho commented May 6, 2018

Cool @joshdholtz 👌
See, we should do this tagging game more often @rnystrom 😄

@joshdholtz
Copy link

I think so! Hope to get tagged again by you all sometime soon 🙃

Sent with GitHawk

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
🐛 bug Unintended behaviour within the app
Projects
None yet
Development

No branches or pull requests

6 participants