ksp143 opened a new issue #880:
URL: https://github.com/apache/cordova-ios/issues/880
# Bug Report
## Problem
My cordova project has watchos target and trying to run `cordova build`
command. But failed execute the task.
```
builtin-copy -exclude .DS_Store -exclude CVS -exclude .svn -exclude .git
-exclude .hg -exclude Headers -exclude PrivateHeaders -exclude Modules -exclude
*.tbd -resolve-src-symlinks
/Users/Library/Developer/Xcode/DerivedData/ProjectName-bjwnwzepdrcztravufjlklyrdvdr/Build/Intermediates.noindex/ArchiveIntermediates/ProjectName/BuildProductsPath/Debug-watchos/ProjectNameWatch.app
/Users/Documents/development/tyfone/workspace/ProjectName/mb-ProjectName-greypath/platforms/ios/build/device/ProjectName.app/Watch
error:
/Users/Library/Developer/Xcode/DerivedData/ProjectName-bjwnwzepdrcztravufjlklyrdvdr/Build/Intermediates.noindex/ArchiveIntermediates/ProjectName/BuildProductsPath/Debug-watchos/ProjectNameWatch.app:
No such file or directory
** ARCHIVE FAILED **
The following build commands failed:
PBXCp
/Users/Library/Developer/Xcode/DerivedData/ProjectName-bjwnwzepdrcztravufjlklyrdvdr/Build/Intermediates.noindex/ArchiveIntermediates/ProjectName/BuildProductsPath/Debug-watchos/ProjectNameWatch.app
build/device/ProjectName.app/Watch/ProjectNameWatch.app
(1 failure)
xcodebuild: Command failed with exit code 65
[ERROR] An error occurred while running subprocess cordova.
cordova build ios --device --buildConfig build.json exited with exit
code 65.
```
### What is expected to happen?
cordova build task should complete without an error.
### What does actually happen?
## Information
<!-- Include all relevant information that might help understand and
reproduce the problem -->
### Command or Code
<!-- What command or code is needed to reproduce the problem? -->
### Environment, Platform, Device
<!-- In what environment, on what platform or on which device are you
experiencing the issue? -->
### Version information
<!--
What are relevant versions you are using?
For example:
Cordova: Cordova CLI, Cordova Platforms, Cordova Plugins
Other Frameworks: Ionic Framework and CLI version
Operating System, Android Studio, Xcode etc.
-->
## Checklist
<!-- Please check the boxes by putting an x in the [ ] like so: [x] -->
- [ ] I searched for existing GitHub issues
- [ ] I updated all Cordova tooling to most recent version
- [ ] I included all the necessary information above
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]