[英]How to build a cordova project in xcode?
I want to build my cordova project so I can publish it in the app store.我想构建我的 cordova 项目,以便可以在应用商店中发布它。
when i load the project from ./src-cordova/platforms/ios/myapp.xcodeproj
in xcode当我从
./src-cordova/platforms/ios/myapp.xcodeproj
中的 ./src-cordova/platforms/ios/myapp.xcodeproj 加载项目时
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.我尝试将项目属性更改为旧版本并更改了构建选项
Any iOS device (arm64)
和any mac (silicon,intel)
但仍然出现相同的错误。
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 solution was to delete the cordova project and reinstall it
cordova platform rm ios
and then cordova platform add ios
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.