-
Notifications
You must be signed in to change notification settings - Fork 493
Build hangs, with no messages. #217
Comments
I installed the certificates and now I get:
From reading the code, I don't really understand why. |
Cleaned out my build and started from scratch and now the issue is back. |
Ok, so I found the source of the issue. I put statements in shenzhen to see where the error was occurring. It is hanging at I inadvertently made it work, after installing the certificates, by opening the project in Xcode. Before opening in Xcode, I got the following:
Afterword, I got the following:
I noticed a few new files and folders. I think the important one is:
So, I am thinking that maybe this is a bug in xcodebuild? It's sort of an annoyance that these user-specific files have be in source control, but I digress. I think xcodebuild should return an error rather than just hanging. I'm not sure if you should handle this weird situation in your application, or not. |
Had exactly the same issue on my new CI server- turns out I had never opened Xcode and need to enable "Developer mode" on this mac. Whatever that means. |
We have had similar problem and solution was to open/wait/close xcode and then build. |
I forgot how to generate the xcscheme file, but that file is really needed for xcodebuild to not hang, pretty frustrating |
Running this ruby to open / save from the CLI seems to help with the hang, I needed to do this also when using Jenkins using the Xcode plugin, so I think it's more an issue with Xcode projects. (My xcode project is created from Cordova each build so I never actually open the Xcode app.) |
👍 to the solution provided by @cburyta It would be nice to have this handled automagically by shenzhen |
When I run
ipa build
nothing happens. There is no output and the software never exits. When I Ctrl+C, I get the following:(Note, I don't know anything about this software, I'm just following documentation given to me by others). I looked through the source code and found that shenzhen ultimately calls
xcodebuild
. So I ran that command and I get:That might be the underlying issue, but why then does shenzhen not output anything or exit?
The text was updated successfully, but these errors were encountered: