cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kim Wilson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CB-8953) Cordova iOS prepare is removing UISupportedInterfaceOrientations from the plist file
Date Sun, 19 Jul 2015 22:41:04 GMT

    [ https://issues.apache.org/jira/browse/CB-8953?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14632951#comment-14632951
] 

Kim Wilson commented on CB-8953:
--------------------------------

Me too. Every fresh build I have to fix the orientations in XCode.

> Cordova iOS prepare is removing UISupportedInterfaceOrientations from the plist file
> ------------------------------------------------------------------------------------
>
>                 Key: CB-8953
>                 URL: https://issues.apache.org/jira/browse/CB-8953
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: CLI
>    Affects Versions: 5.0.0
>         Environment: iOS
>            Reporter: Vinoth Kumar
>
> 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: 
> {code}
> <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>
> {code}
> After Prepare:
> {code}
>  <key>UISupportedInterfaceOrientations~ipad</key>
>     <array>
>       <string>UIInterfaceOrientationPortrait</string>
>       <string>UIInterfaceOrientationLandscapeLeft</string>
>       <string>UIInterfaceOrientationPortraitUpsideDown</string>
>       <string>UIInterfaceOrientationLandscapeRight</string>
>     </array>
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


Mime
View raw message