First export an iOS project using Cordova like so here
After that, if you decide to add Apple Watch code, you must resolve some framework linker issues.
framework not found AVFoundation….etc
The idea is that when you add target for Apple Watch, it links to a few frameworks that overlaps with the Target’s frameworks. Thus, if you remove the overlapping frameworks in the Apple Watch, the linker issue will disappear.
You need to select your Watch’s extension, and under Build Settings, type in linker, and you’ll see all the frameworks that it links to.
Then remove everything except -ObjC.
Do the same for Apple Watch:
Also, make sure your build versions all match in numbers: