You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Shazron Abdullah (JIRA)" <ji...@apache.org> on 2013/11/27 01:40:35 UTC

[jira] [Resolved] (CB-5262) Adding config entries in plugin.xml for modifying .plist file results in whitespace entries for NSMainNibFile keys leading to App crashing

     [ https://issues.apache.org/jira/browse/CB-5262?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Shazron Abdullah resolved CB-5262.
----------------------------------

       Resolution: Fixed
    Fix Version/s: 3.2.0

> Adding config entries in plugin.xml for modifying .plist file results in whitespace entries for NSMainNibFile keys leading to App crashing
> ------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: CB-5262
>                 URL: https://issues.apache.org/jira/browse/CB-5262
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: iOS, Plugman
>    Affects Versions: 3.0.0
>         Environment: MacOSX
>            Reporter: tex
>             Fix For: 3.2.0
>
>
> with the following in plugin.xml :
> {code:xml}
> <platform name="ios">
>     <config-file target="*-Info.plist" parent="UIBackgroundModes">
>         <array>
>            <string>location</string>
>          </array>
>     </config-file>        
> </platform>
> {code}
> we get whitespaces in the generated info.plist :
> {code:xml}
> <key>NSMainNibFile</key>
> <string>
> </string>
> {code}
> the app compile but crash at runtime as it looking at a non existing .nib file.
> the .plist can be modified manualy, allowing correct building, but this is a real major issue for automated compiling (eg: phonegap build)
> this issue seems to be related to https://issues.apache.org/jira/browse/CB-4731 but is more important as it lead to app crashing



--
This message was sent by Atlassian JIRA
(v6.1#6144)