Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-12105] CLI: iOS: plist entries that contain dictionary values cause error

GitHub Issuen/a
TypeBug
PriorityCritical
StatusClosed
ResolutionFixed
Resolution Date2012-12-18T20:40:34.000+0000
Affected Version/sRelease 3.0.0
Fix Version/sRelease 3.0.1, Release 3.1.0, 2012 Sprint 26 JS, 2012 Sprint 26
ComponentsCLI
Labelstriage
ReporterChris Barber
AssigneeChris Barber
Created2012-12-15T23:22:15.000+0000
Updated2013-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.

Comments

  1. Chris Barber 2012-12-15

    Master pull request: https://github.com/appcelerator/titanium_mobile/pull/3605 3.0.x pull request: https://github.com/appcelerator/titanium_mobile/pull/3606
  2. Chris Barber 2012-12-18

    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>
       
  3. Ingo Muschenetz 2012-12-20

    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
  4. Paras Mishra 2013-01-18

    Application build and executed successfully when it has section in the tiapp.xml. Verified on : SDK version: 3.0.1.v20130111165328 , 3.1.0.v20130111163212 CLI version : 3.0.22 OS : MAC OSX 10.7.5 XCode : 4.5.1

JSON Source