Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Duplicate
-
5.0.0
-
None
-
None
-
iOS
Description
I just installed the CLI 5.0.0 and when I try to run,
'cordova prepare ios', it is modifying the app plist file.
That is, the prepare is removing the UISupportedInterfaceOrientations key and the array list from the plist.
Before Prepare:
<key>UISupportedInterfaceOrientations</key> <array> <string>UIInterfaceOrientationPortrait</string> <string>UIInterfaceOrientationPortraitUpsideDown</string> </array> <key>UISupportedInterfaceOrientations~ipad</key> <array> <string>UIInterfaceOrientationPortrait</string> <string>UIInterfaceOrientationLandscapeLeft</string> <string>UIInterfaceOrientationPortraitUpsideDown</string> <string>UIInterfaceOrientationLandscapeRight</string> </array>
After Prepare:
<key>UISupportedInterfaceOrientations~ipad</key> <array> <string>UIInterfaceOrientationPortrait</string> <string>UIInterfaceOrientationLandscapeLeft</string> <string>UIInterfaceOrientationPortraitUpsideDown</string> <string>UIInterfaceOrientationLandscapeRight</string> </array>