Note that there are some explanatory texts on larger screens.

plurals
  1. POerror phonegap xcode
    primarykey
    data
    text
    <p>I have a phonegap project on android. This woeks well but when I compile on the phonegap website I have some problems on the ios version.</p> <p>So I try using xcode using the xcode simulator but I have the folloing error:</p> <pre><code>2013-04-03 21:29:27.261 Assas[2339:c07] Multi-tasking -&gt; Device: YES, App: YES 2013-04-03 21:29:28.455 Assas[2339:c07] [LOG] true 2013-04-03 21:29:28.940 Assas[2339:c07] -[__NSCFArray dataUsingEncoding:allowLossyConversion:]: unrecognized selector sent to instance 0x8939150 2013-04-03 21:29:28.942 Assas[2339:c07] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[__NSCFArray dataUsingEncoding:allowLossyConversion:]: unrecognized selector sent to instance 0x8939150' *** First throw call stack: (0x14c012 0x25a2e7e 0x1d74bd 0x13bbbc 0x13b94e 0x163b0 0x16243 0x5bbdb 0x5b32c 0x5aedd 0x5b075 0x5af93 0x25b66b0 0x1125765 0xcff3f 0xcf96f 0xf2734 0xf1f44 0xf1e1b 0x33d37e3 0x33d3668 0x387ffc 0x214c 0x20a5) libc++abi.dylib: terminate called throwing an exception </code></pre> <p>I take the content of my www folder in my android project, I just change the config.xml and the cordova jsfile</p> <p>I'm using phonegap 2.4.0 on both projects</p> <p>edit:</p> <p>the error is in Others Sources/main.m</p> <pre><code>#import &lt;UIKit/UIKit.h&gt; int main(int argc, char* argv[]) { @autoreleasepool { int retVal = UIApplicationMain(argc, argv, nil, @"AppDelegate"); return retVal; } } </code></pre> <p>on line 6</p> <p>Thanks</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload