You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Jacob Weber (JIRA)" <ji...@apache.org> on 2016/03/24 19:05:25 UTC

[jira] [Created] (CB-10955) iOS 7 support broken

Jacob Weber created CB-10955:
--------------------------------

             Summary: iOS 7 support broken
                 Key: CB-10955
                 URL: https://issues.apache.org/jira/browse/CB-10955
             Project: Apache Cordova
          Issue Type: Bug
          Components: iOS
    Affects Versions: 4.1.0
         Environment: cordova-ios 4.1.0
cordova cli 6.0.0
Mac OS 10.11.3
            Reporter: Jacob Weber


Regardless of whether I set the "deployment-target" preference in config.xml, Cordova builds an app that requires a minimum of iOS 8.0. As a result, I can no longer build apps for iOS 7.

Create a new cordova project, and add to its config.xml:
{code}
<engine name="ios" spec="~4.1.0" />
<preference name="deployment-target" value="7.0" />
{code}

Run {{cordova prepare --verbose}} and {{cordova build}}. During the prepare phase, I see this message (three times, for some reason):
{code}
Set IPHONEOS_DEPLOYMENT_TARGET to "7.0".
{code}

And if I open the app in Xcode, it shows "Deployment Target" set to 7.0.

But the resulting .app file's Info.plist contains:
{code}
<key>MinimumOSVersion</key>
<string>8.0</string>
{code}

This is still the case if I set "deployment-target" to 9.0.



--
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