Uploaded image for project: 'Titanium SDK/CLI'
  1. Titanium SDK/CLI
  2. TIMOB-10733

iOS: transport.py/Xcode project settings - Minimum iOS SDK set in tiapp.xml is not reflected in the Xcode project deployment target, allowing transport.py or xcode run on non-intended iOS versions

    Details

      Description

      Description:
      While testing the new feature that allows setting the minimum SDK, we tested the feature on device and simulator using Studio. A community comment in the bug during testing indicated that the appropriate setting in Xcode was not being made. We confirmed this. We were however able to verify that the setting was in fact being made in the produced ipa, either packaged or "run on device". We attempted to export the project via "transport.py" and es expected, the project could be run using xcode on simulators running older versions of the SDK (outside the minimum support iOS SDK)

      This is a new feature which broke transport, so technically a regression.

      Steps to reproduce:
      1) Create a new studio project using 2.1.2GA
      2) Set the tiapp.xml to a minimum SDK of 5.1:

      <ios>
        <min-ios-ver>5.1</min-ios-ver>
      </ios>
      

      3) Run transport.py on the root project folder
      4) Launch project (in build folder) in Xcode
      5) Examine "Deployment Target"in Xcode (see attached image)
      6) To verify, launch in <=5.0 device or simulator

      Result:
      Deployment target set to "4.0", project will run on all supported iOS versions.

      Exxpected Result:
      Deployment target set to same value as tiapp.xml setting, project will run only on minimum or greater iOS versions

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                mstepanov Max Stepanov
                Reporter:
                emerriman Eric Merriman
              • Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Backbone Issue Sync

                  • Titanium SDK/CLI <> Titanium Mobile
                    Synced with:
                    TIMOB-14128
                    Sync status:
                    ERROR
                    Last received:
                    Last sent:

                    Git Integration