Skip to content

[JENKINS-39666] xcode plugin hangs when using workspace #326

Description

@jenkins-infra-bot

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions