[ https://issues.apache.org/jira/browse/CB-2074?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Filip Maj resolved CB-2074. --------------------------- Resolution: Fixed Fixed in [4f9eebe|https://git-wip-us.apache.org/repos/asf?p=cordova-cli.git;a=commit;h=4f9eebe86c02c64a38c76ddf8c18386d17f62fe9]. Pushed as 2.3.3 to npm. > Could not find Nib in bundle for iPad in Simulator > -------------------------------------------------- > > Key: CB-2074 > URL: https://issues.apache.org/jira/browse/CB-2074 > Project: Apache Cordova > Issue Type: Bug > Components: CLI > Affects Versions: 2.2.0, 2.3.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 file > {{/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: http://www.atlassian.com/software/jira