Quantcast
Channel: Ionic Forum - Latest topics
Viewing all articles
Browse latest Browse all 70434

'Cordova/CDV.h' file not found

$
0
0

@surferway wrote:

I created a blank ionic app with iOS support. I then opened the app in Xcode, signed it and added a target WatchKit. Running the app in Xcode gives the error “‘Cordova/CDV.h’ file not found”. Also running “ionic cordova build ios” from the command line gives the following error:

=== BUILD TARGET watchapp Extension OF PROJECT watchSimple WITH CONFIGURATION Debug ===
Check dependencies

target specifies product type ‘com.apple.product-type.watchkit2-extension’, but there’s no such product type for the ‘iphonesimulator’ platform

** BUILD FAILED **

The following build commands failed:
Check dependencies
(1 failure)
Error: Error code 65 for command: xcodebuild with args: -xcconfig,/Users/surferway/documents/omnilert/ionic/watchSimple/platforms/ios/cordova/build-debug.xcconfig,-workspace,watchSimple.xcworkspace,-scheme,watchSimple,-configuration,Debug,-sdk,iphonesimulator,-destination,platform=iOS Simulator,name=iPhone X,build,CONFIGURATION_BUILD_DIR=/Users/surferway/documents/omnilert/ionic/watchSimple/platforms/ios/build/emulator,SHARED_PRECOMPS_DIR=/Users/surferway/documents/omnilert/ionic/watchSimple/platforms/ios/build/sharedpch

[ERROR] An error occurred while running cordova build ios (exit code 1).

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 70434

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>