Cordova iOs Error

Im uses the Cordova platform to build iOS, Android and Windows App. I tried to learn all about Cordoba, and I consider myself very good with the tool.

After upgrading xCode 6.4 to 7, I had a problem. The problem occurs when I try to create an iOs application in a terminal. I got an error in this error, creating some additional conflicts, see assembly again:

// ERROR AppDelegate.m: 138: 1: warning: conflicting return type when implementing 'application: supportedInterfaceOrientationsForWindow:': 'UIInterfaceOrientationMask' (aka 'enum UIInterfaceOrientationMask') vs 'NSUInteger' (aka 'unsigned int') [-Wmism return types] // ERROR

I looked at many forums and still can not find a solution. Can someone help me solve this problem?

+5
source share
1 answer

I donโ€™t feel bad. Whenever Xcode and iOS are updated, all kinds of things break down for experienced and inexperienced people. I would try to update everything related to the creation of Cordova applications: cordova, ios-sim, ios-deploy, etc.

Be sure to update and back up first, but sometimes uninstalling and re-adding the platform will also resolve random issues. Try:

cordova platform rm ios cordova platform add ios 
+1
source

Source: https://habr.com/ru/post/1232221/


All Articles