-
Notifications
You must be signed in to change notification settings - Fork 43
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Codesigndoc failing to make Archive for iOS app #151
Comments
@ragu-pdx I'll release version 2.4.4 tomorrow which should resolve the issue for M1 |
@shams-ahmed We are just following your documentation and calling |
@shams-ahmed I tried this from an Intel Mac, and got farther, but I'm hitting this endless loop at the end. I keep selecting yes and app store build, but it's not prompting me for my bitrise credentials as your docs lead us to believe. Eventually I typed
|
@ragu-pdx Please have a go now. Let me know if it fails |
@shams-ahmed It's getting farther on my M1 mac that is similar to my Intel Mac. However, the same issue I just posted in my last comment is still happening. I get an endless loop of asks even though I say yes as your documentation tell us to do, and at no time does it ask me to enter my Bitrise credentials. |
@ragu-pdx your last log seems alright.. could you try entering NO or no and seeing if you can manually move the files over? |
How do I manually find the files? and move the files over to where? |
@ragu-pdx On the last step it will ask if you want to auto-update to Bitrise, enter Also, i believe it prints out the path as well |
@shams-ahmed It's not getting to that step. The logs I provided above in my second large comment are all I see after the archive build is made. It just infinite loops on asking "app store" "development" "ad-hoc", etc. if you type yes. If you type no, it just quits to command line. There is no ask for "auto-updating" to Bitrise, nor credential entering. Just to be clear, this is what happens when i enter 'NO' at the last step, in Terminal output:
I don't know if this is helpful, but when we manually do this process via XCode Organizer, we always use "Automatically Manage Profiles/Certificates" rather than "Manually". Does your script reconcile with that system? |
@ragu-pdx @shams-ahmed I'm seeing this same exact issue using an Intel Mac. Is there any fix for this?
|
Ok so the problems seems to be that the xcode provisional profile needs to be set to the same "type". So my above example I had a I wish there was something in the docs explaining this that xcode needs to be set to the correct profile or something or the CLI would fail gracefully and throw a much more descriptive error. |
Was a solution to this issue ever found? I'm getting the same issue as ragu when I enter "no" for the last question it prints out "no export code sign groups collected" and exports. Is there any chance the script has a cache at play somewhere? It worked for me the first I tried running it about a month ago. I was able to generate the files for my dev environment. This week we switched to a new Bundle ID due to a business change. So I'm trying to regenerate for the new one now. Couple additional pieces of info, the xcodebuild log that is generated ends with "** ARCHIVE SUCCEEDED **" so I think I'm good there. I'm running it on an M1 mac mini since M1s seemed to be an issue (the run a few weeks back was on the same mac). |
It looks like I found the secret sauce for my issue. I needed to not only do an archive locally but I had to try uploading to app store connect. I went through manually uploading a build and on of of the steps it prompted me for my keychain password. I then stopped doing it manually at the final upload screen and tried the script again. This time it worked. Looks like Xcode isn't adding something that's needed to the keychain until you try to upload. |
@bmiller many thanks!! it worked!! |
I can make archives from my XCode project and this Scheme as that's what we are manually doing all the time. Not sure why this is failing, but this is an iOS app, yet it seems to be building for my Mac? Not sure what is going on there. Papaya is the name of my Mac M1 computer.
xcodebuild-output.log
The text was updated successfully, but these errors were encountered: