I'm trying to run tests from a project that uses cocoapods.
This means I have to specify the workspace name. When I do so as well as giving the scheme name the xcode plugin will just hang at this point forever (I actually let it run for 30min before killing it several times)
Going to invoke xcodebuild:, scheme: ttt, sdk: DEFAULT, workspace: ttt, configuration: Debug, clean: NO, archive:NO, symRoot: DEFAULT, configurationBuildDir: DEFAULT, codeSignIdentity: DEFAULT
[lbp-iOS] $ /usr/bin/xcodebuild -scheme ttt -workspace ttt.xcworkspace -configuration Debug build test -destination "platform=iOS Simulator,name=iPhone 6,OS=10.1"
It seems to me that there might be something wrong with the plugin that causes it to hang in this specific case.
I've also created a stackoverflow for this http://stackoverflow.com/questions/40536087/unit-test-ios-with-jenkins.
Originally reported by mhermans, imported from: xcode plugin hangs when using workspace
- status: Open
- priority: Blocker
- component(s): xcode-plugin
- label(s): xcode
- resolution: Unresolved
- votes: 0
- watchers: 2
- imported: 20260924-211529
Raw content of original issue
I'm trying to run tests from a project that uses cocoapods.
This means I have to specify the workspace name. When I do so as well as giving the scheme name the xcode plugin will just hang at this point forever (I actually let it run for 30min before killing it several times)
Going to invoke xcodebuild:, scheme: ttt, sdk: DEFAULT, workspace: ttt, configuration: Debug, clean: NO, archive:NO, symRoot: DEFAULT, configurationBuildDir: DEFAULT, codeSignIdentity: DEFAULT
[lbp-iOS] $ /usr/bin/xcodebuild -scheme ttt -workspace ttt.xcworkspace -configuration Debug build test -destination "platform=iOS Simulator,name=iPhone 6,OS=10.1"
It seems to me that there might be something wrong with the plugin that causes it to hang in this specific case.
I've also created a stackoverflow for this http://stackoverflow.com/questions/40536087/unit-test-ios-with-jenkins.
- environment:
jenkins 2.19.2, xcode 8
1 attachment
I'm trying to run tests from a project that uses cocoapods.
This means I have to specify the workspace name. When I do so as well as giving the scheme name the xcode plugin will just hang at this point forever (I actually let it run for 30min before killing it several times)
Going to invoke xcodebuild:, scheme: ttt, sdk: DEFAULT, workspace: ttt, configuration: Debug, clean: NO, archive:NO, symRoot: DEFAULT, configurationBuildDir: DEFAULT, codeSignIdentity: DEFAULT [lbp-iOS] $ /usr/bin/xcodebuild -scheme ttt -workspace ttt.xcworkspace -configuration Debug build test -destination "platform=iOS Simulator,name=iPhone 6,OS=10.1"It seems to me that there might be something wrong with the plugin that causes it to hang in this specific case.
I've also created a stackoverflow for this http://stackoverflow.com/questions/40536087/unit-test-ios-with-jenkins.
Originally reported by mhermans, imported from: xcode plugin hangs when using workspace
Raw content of original issue
jenkins 2.19.2, xcode 81 attachment