I’m trying to run some simple unit tests for my app. I have configured the Xcode: Unit test step, but it fails, and I can see this in the log:
xcodebuild: error: '/App.xcworkspace' does not exist.
This file should be created in the previous step, which is “Run CocoaPods install”, but apparently it’s not there. Normally I have it in .gitignore but just for test I have commited it to the repo, but the error persists. Anyway, the xcworkspace should be createdy by pod install, but it’s not, so I think the problem might be somewhere there. But the log says it’s successful:
-> Pod installation complete! There are 20 dependencies from the Podfile and 26 total pods installed.
The general log says this:
xcode test exit code: 66
xcode test failed, error: exit status 66