-
Notifications
You must be signed in to change notification settings - Fork 52
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
xcodebuild ... archive hangs without any output (missing shared scheme) #53
Comments
Most likely you did not share the scheme you try to archive - that's a known Xcode bug: https://bitrise-io.github.io/devcenter/ios/known-xcode-issues/#everyany-xcode-command-hangs Make sure that the scheme is shared and that you don't gitignore the required Xcode files: http://devcenter.bitrise.io/v1.0/docs/scheme-cannot-be-found |
I'll close this issue, but if Shared scheme would not fix the issue just let us know and we'll reopen it |
I forgot to mention that if your tool which generates the Xcode project doesn't have an option to make the scheme as shared (it should, and if it does you should use that option!) we have a |
Another thing/note: this issue can be reproduced locally too, if you do a clean git clone (into a new directory) and try to run Xcode's command line tools without opening the project in Xcode.app. Xcode.app auto-generates missing user schemes when you open the project, but Xcode's command line tools do not. You can also use our CLI to run/debug the build locally: https://www.bitrise.io/cli |
Thank you Viktor. Cordova said I can use CodeSign only without xcodebuild. Thanks. I'll inform you here about result.
|
Thanks, keep us updated! ;) |
Ok thank you very much again, @viktorbenei.
I try to solve it now. Maybe I can't select ad-hoc and must use development instead. Or something is wrong with the provisioning profiles? |
This is an unrelated, code sign issue - you can find more info and help in this blog post: http://blog.bitrise.io/2016/09/21/xcode-8-and-automatic-code-signing.html If that wouldn't help please create a new issue for that problem. |
Hey guys,
I have a problem with my Pro-Test-Account of Bitrise.io.
After I configured a complete workflow I always get a build process of 45 minutes - then the build aborts.
On my local computer it takes no minute to execute the xcodebuild command to complete.
The steps before the xCode command takes around 6 minutes.
So normally it should be possible to finish everything within 10 minutes 👍
Workflow
The "do anything" is only for preparing the project. It's a cordova / ionic v2 project. So I must do npm install -g ionic cordova for example before ionic build ios. Then the platforms/ios folder is available with the TestApp.xcodeproj file in it.
Configuration
Version: Always latest
Should this step run even if a previous step failed?: No
Select method for export: auto-detect
Include bitcode: yes
Rebuild from bitcode: yes
The Developer Portal team to use for this export:
Working directory: $BITRISE_SOURCE_DIR/platforms/ios
Project (or Workspace) path: $BITRISE_SOURCE_DIR/platforms/ios/TestApp.xcodeproj
Scheme name: TestApp
Configuration name:
Output directory path: $BITRISE_DEPLOY_DIR
Force Developer Portal team to use during archive: AY2H9C3YC1
Force code signing with Identity:
Force code signing with Provisioning Profile Specifier:
Force code signing with Provisioning Profile: b284373b-9b5f-4e01-9af0-6442b6bb5222
Do a clean Xcode build before the archive?: no
Output tool: xcodebuild (xcpretty tested, too and not working, too!)
Additional options for xcodebuild call:
Export the generated archive?: yes
Use deprecated ipa export method?: no
Export all dsyms: no
Custom export options plist content: ad-hoc
Log
The text was updated successfully, but these errors were encountered: