[TIMOB-12105] CLI: iOS: plist entries that contain dictionary values cause error
| GitHub Issue | n/a |
|---|---|
| Type | Bug |
| Priority | Critical |
| Status | Closed |
| Resolution | Fixed |
| Resolution Date | 2012-12-18T20:40:34.000+0000 |
| Affected Version/s | Release 3.0.0 |
| Fix Version/s | Release 3.0.1, Release 3.1.0, 2012 Sprint 26 JS, 2012 Sprint 26 |
| Components | CLI |
| Labels | triage |
| Reporter | Chris Barber |
| Assignee | Chris Barber |
| Created | 2012-12-15T23:22:15.000+0000 |
| Updated | 2013-01-18T02:45:33.000+0000 |
Description
If the app has an section in the tiapp.xml or custom Info.plist file that has a entry where the value is a , an error is thrown because the destination is undefined.
Master pull request: https://github.com/appcelerator/titanium_mobile/pull/3605 3.0.x pull request: https://github.com/appcelerator/titanium_mobile/pull/3606
Test case:
<ios> <min-ios-ver>4.3</min-ios-ver> <plist> <dict> <key>UIPrerenderedIcon</key> <true/> <key>UIStatusBarStyle</key> <string>UIStatusBarStyleBlackOpaque</string> <key>UISupportedInterfaceOrientations</key> <array> <string>UIInterfaceOrientationPortrait</string> <string>UIInterfaceOrientationPortraitUpsideDown</string> </array> <key>UISupportedInterfaceOrientations~ipad</key> <array> <string>UIInterfaceOrientationPortrait</string> <string>UIInterfaceOrientationPortraitUpsideDown</string> <string>UIInterfaceOrientationLandscapeLeft</string> <string>UIInterfaceOrientationLandscapeRight</string> </array> <key>CFBundleIcons</key> <dict> <key>CFBundlePrimaryIcon</key> <dict> <key>CFBundleIconFiles</key> <array> <string>appicon.png</string> <string>appicon@2x.png</string> <string>appicon-72.png</string> <string>appicon-72@2x.png</string> <string>appicon-Small-50.png</string> <string>appicon-Small-50@2x.png</string> <string>appicon-Small.png</string> <string>appicon-Small@2x.png</string> </array> <key>UIPrerenderedIcon</key> <true/> </dict> </dict> </dict> </plist> </ios>For those experiencing the issue, please download the following build of the SDK: * OSX: http://nightlies.s3.amazonaws.com/mobile/mobilesdk-3.0.1.v20121218130634-osx.zip * Linux: http://nightlies.s3.amazonaws.com/mobile/mobilesdk-3.0.1.v20121218130634-linux.zip * Windows: http://nightlies.s3.amazonaws.com/mobile/mobilesdk-3.0.1.v20121218130634-win32.zip You may install these manually into your SDK folder, or using Studio's *Help > Install Titanium SDK...* menu option
Application build and executed successfully when it has