Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-25024] iOS: Remove <iphone> section from tiapp.xml

GitHub Issuen/a
TypeBug
PriorityMedium
StatusClosed
ResolutionFixed
Resolution Date2017-07-26T15:30:38.000+0000
Affected Version/sn/a
Fix Version/sRelease 7.0.0
ComponentsiOS
Labelsn/a
ReporterHans Knöchel
AssigneeHans Knöchel
Created2017-07-26T05:30:46.000+0000
Updated2017-11-14T23:01:46.000+0000

Description

We deprecated the <iphone /> section in Titanium SDK 2.1.0, so it's time to remove it in 7.0.0!

Comments

  1. Hans Knöchel 2017-07-26

    PR: https://github.com/appcelerator/titanium_mobile/pull/9257 Test-Steps:

    Create a new app

    Add the following to your tiapp.xml:

       <iphone>
       	<what>ever</what>
       </iphone>
       

    Run the app

    Expected behavior: The build fails with the following logs:
       [INFO]  Creating Entitlements.plist
       [DEBUG] Writing /Users/hknoechel/Documents/Apps/test_tmp/build/iphone/test_tmp.entitlements
       [INFO]  Creating Info.plist
       [ERROR] The <iphone> section of the tiapp.xml has been removed in Titanium SDK 7.0.0 and later.
       Please use the <ios> section of the tiapp.xml to specify iOS-specific values instead:
        
       <ti:app xmlns:ti="http://ti.appcelerator.org">
           <ios>
               <plist>
                   <dict>
                       <!-- Enter your Info.plist keys here -->
                   </dict>
               </plist>
           </ios>
       </ti:app>
       
  2. Eric Wieber 2017-11-14

    Verified in SDK build: 7.0.0.v20171114134144

JSON Source