Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cordova-ios v6.0.0: cordova build command failed with multiple targets/watchos. #880

Closed
ksp143 opened this issue May 31, 2020 · 3 comments
Closed

Comments

@ksp143
Copy link

ksp143 commented May 31, 2020

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

Command or Code

cordova build ios

Environment, Platform, Device

ios

Version information

cordova-ios v6.0.0

Checklist

  • [ x] I searched for existing GitHub issues
  • [ x] I updated all Cordova tooling to most recent version
  • [ x] I included all the necessary information above
@timbru31
Copy link
Member

Please stop creating new issues, Cordova does not support watchOS.

@ksp143
Copy link
Author

ksp143 commented Jun 1, 2020

Please stop creating new issues, Cordova does not support watchOS.

But Cordova Project should run without fail after adding native watchOS target! Not asking about cordova support for watchOS.

@breautek
Copy link
Contributor

breautek commented Jun 1, 2020

We cannot provide support for something Cordova doesn't support. If it works, it works. If not, then respectfully you're on your own.

If you want to add support, you're free to fork cordova-ios and add support yourself for your own use. But considering that WatchOS doesn't appear to support WKWebView you probably need an entire new custom platform. And that's assuming WatchOS even have a webview you can use.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants