Posts

Post not yet marked as solved
1 Replies
622 Views
I'm in the xcode cloud beta and have a project that is using git (bitbucket). I can use the integration to commit and push to my remotes on bitbucket but when I try to "Create Workflow..." in the cloud tab I get a welcome screen to Xcode Cloud Beta, but when I click the next button I get a warning that says "No Git repository associated with this project. Ad your project to a get repository".
Posted
by pmoprhy.
Last updated
.
Post not yet marked as solved
3 Replies
3.8k Views
I have generated a .xctestrun file using "build for Testing" on a MacOS 64 bit application. My tests are UI tests only. I can go to terminal and runxcodebuild test-without-building -xctestrun Application_macosx10.14-x86_64.xctestrun -destination 'platform=MacOS,arch=x86_64'It runs all the UI tests and works great.The problem I'm having is using this same Application_macosx10.14-x86_64.xctestrun on a different machine. We'd like to be able to run these UI tests on a Mac 10.12 Sierra machine. I copied the .xctestrun and the directories with the test runner and applicaiton and tests to the Sierra machine. I installed Xcode 9.2 and the command line tools. I open terminal in the directory where the .xctestrun file is and runxcodebuild test-without-building -xctestrun Application_macosx10.14-x86_64.xctestrun -destination 'platform=MacOS,arch=x86_64'I get the following error:User defaults from command line: IDETestRunSpecificationPath = /Users/sysqa/Desktop/UI Tests Release/build/Application_macosx10.14-x86_64.xctestrunxcodebuild: error: Failed to build workspace temporary with scheme Transient Testing.Reason: Validation for test run specification failed: TestBundlePath should be provided; TestHostPath should be provided; DYLD_FRAMEWORK_PATH should be provided in testing environment variables; DYLD_LIBRARY_PATH should be provided in testing environment variablesIt looks like XCode 9.2 supportsthe test-without-building and -xctestrun options but doesn't like the .xctestrun file becuase all the things it's asking for are in the Application_macosx10.14-x86_64.xctestrun. Is there some difference between the format of the .xctestrun file between XCode 9.2 and 10.2? Is it possible to run these tests on other machines using the same .xctestrun file?
Posted
by pmoprhy.
Last updated
.