• Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Critical Critical
    • xcode-plugin
    • None

      All guides say to put "test" under "Custom xcodebuild arguments" to run tests for the selected scheme.
      However, if there's anything else in there (like -destination, CACHE_ROOT, etc.) then it still adds "build" to the command line and it will fail.

      [sdk] $ /usr/bin/xcodebuild -scheme MyTests -sdk iphonesimulator8.1 -configuration Release build test -destination "name=iPhone 5"
      ...
      xcodebuild: error: The scheme 'AurasmaSDKTests' is not configured for Running.
      The scheme 'AurasmaSDKTests' has nothing configured to build for Running and has no executable specified to Run. Edit the scheme to configure the Run action.
      Build step 'Xcode' marked build as failure

          [JENKINS-26534] Cannot run tests and set custom arguments

          There are no comments yet on this issue.

            Unassigned Unassigned
            jameshowe James Howe
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: