[
https://issues.apache.org/jira/browse/CB-2074?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13534188#comment-13534188
]
Filip Maj commented on CB-2074:
-------------------------------
I have hit this problem before too. There was an issue with how the plist file
was being re-written out before builds with cordova-client; the tool would
insert a lot of whitespace instead of the empty strings that are supposed to
exist in those elements.
Can you confirm which version of cordova-client you are running (run cordova
-v)?
> 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
> Reporter: Filip Maj
> Assignee: Filip Maj
> Fix For: 2.3.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