When i try to build my application from my terminal or jenkins, xcodebuild fails at the last step of building the application itself. I've watch os 2 application and extension with my application. It builds the extension and watch app. But at the end of the build process it can't find the watch application's .app file.
PBXCp build/MyApp/Build/Products/Release-watchos/MyWatchApp.app build/MyApp.app/Watch/MyWatchApp.app
this command fails and it says "No such file or directory"
My build command is;
xcodebuild build -project MyApp.xcodeproj -scheme MyApp -configuration Release CONFIGURATION_BUILD_DIR=./build
Environment:
MacOS 10.10.4
Xcode 7 beta 5
I hope Apple can take a look at this and fix the problem. It'll cause a lot of trouble for the developers who are using CI tools like Jenkins.
Thanks.