[TIMOB-25024] iOS: Remove <iphone> section from tiapp.xml
| GitHub Issue | n/a |
|---|---|
| Type | Bug |
| Priority | Medium |
| Status | Closed |
| Resolution | Fixed |
| Resolution Date | 2017-07-26T15:30:38.000+0000 |
| Affected Version/s | n/a |
| Fix Version/s | Release 7.0.0 |
| Components | iOS |
| Labels | n/a |
| Reporter | Hans Knöchel |
| Assignee | Hans Knöchel |
| Created | 2017-07-26T05:30:46.000+0000 |
| Updated | 2017-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!
PR: https://github.com/appcelerator/titanium_mobile/pull/9257 Test-Steps:
Create a new app
Add the following to your tiapp.xml:
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>Verified in SDK build: 7.0.0.v20171114134144