简体   繁体   中英

How to build a cordova project in xcode?

I want to build my cordova project so I can publish it in the app store.

when i load the project from ./src-cordova/platforms/ios/myapp.xcodeproj in xcode

And I want to build it I get the following error

error: Build input file cannot be found: '/Users/user/Projects/git/myapp/src-cordova/platforms/ios/CordovaLib/Cordova/Info.plist' (in target 'Cordova' from project 'CordovaLib')

I tried to change the project properties to legacy build and changed the built option Any iOS device (arm64) and any mac (silicon,intel) but still get the same error.

What to I have to do to build the app so that I can publish it.

The solution was to delete the cordova project and reinstall it cordova platform rm ios and then cordova platform add ios

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM