cordova-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shazron Abdullah (JIRA)" <>
Subject [jira] [Updated] (CB-2074) Could not find Nib in bundle for iPad in Simulator
Date Tue, 08 Jan 2013 23:14:15 GMT


Shazron Abdullah updated CB-2074:

    Fix Version/s:     (was: 2.3.0)
> Could not find Nib in bundle for iPad in Simulator
> --------------------------------------------------
>                 Key: CB-2074
>                 URL:
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: CLI
>    Affects Versions: 2.2.0
>            Reporter: Filip Maj
>            Assignee: Filip Maj
>             Fix For: 2.4.0
> Hi,
> Ive hit this a few times recently, Im running xCode 4.5.2 with all other settings default
> I start with the following steps to set up a 'vanilla' ios project
> {code}
> $ cordova create testproj
> $ cd testproj
> $ cordova platform add ios
> $ cd /Dev/testproj/ios // location of my cordova project
> $ open HelloCordova.xcodeproj // default name
> {code}
> Then
> if i launch the app as in the iPhone simulator 6.0 it (mostly) runs first time
> if i launch the app in the iPad simulator 6.0 i get a SIGABRT with a break on main with
an error that says
> "Could not load NIB in bundle"
> having looked more deeply into this, it is because there is a blank entry for nib file
in the plist file - this is known to cause an issue in some case : NOTE: I do have colleagues
who do not hit this straight away.
> Anyway, to resolve this problem (after digging around in the scripts) i went to this
> {{/usr/local/lib/node_modules/cordova/lib/ios/bin/templates/project/__TESTING__/__TESTING__-Info.plist}}
> and removed these two elements from the bottom of the file
> {code}
>  <key>NSMainNibFile</key>
>  <string></string>
>  <key>NSMainNibFile~ipad</key>
>  <string></string>
> {code}
> i can create as many ios platform apps as i want now and they run in either simulator
without hitch. Just as a note, its worth creating a blank "universal" app and looking in the
app delegate to see what apple do now with the nibs (and also note that they no longer use
those to settings (that i removed above) in the plist file.
> I hope this helps someone.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:

View raw message