Shawn Johnson
Posts: 0
Joined: Wed Jan 15, 2014 4:17 pm

app crashing after launching

I am having an issue where the my apps are crashing after loading on device and in simulator

I get the following error message

-[__NSCFString JSONObject]: unrecognized selector sent to instance 0x15585900

I has previously solved the issue but i can't remember the fix.

I am running 7.1 on device and xcode 5.1

really need to get this app running for a demo

thanks
-Shawn.J

Kateryna Grynko
Posts: 0
Joined: Thu Nov 15, 2012 9:13 am

app crashing after launching

Hi Shawn,

Do you see this error in browser?

Shawn Johnson
Posts: 0
Joined: Wed Jan 15, 2014 4:17 pm

app crashing after launching

Hello,

No this is only related to IOS and and once the app is device,

again I previously defeated this issue but i can not remember how i did, now I can't run on device.

I have previously shared this project with support, can you please try running in xcode on device?

Kateryna Grynko
Posts: 0
Joined: Thu Nov 15, 2012 9:13 am

app crashing after launching

Shawn,

Did you change sources?
Could you please remind the app name?

Shawn Johnson
Posts: 0
Joined: Wed Jan 15, 2014 4:17 pm

app crashing after launching

No I have not made changes to the sources since i have the app running correctly.

The app name is FitMob_beta

Kateryna Grynko
Posts: 0
Joined: Thu Nov 15, 2012 9:13 am

app crashing after launching

Shawn,

Does the error appear right after you run the app?

Unfortunately I don't have an access to this specific device right now. For now, please try creating an application copy and there delete all the pages, except for the start screen.

Shawn Johnson
Posts: 0
Joined: Wed Jan 15, 2014 4:17 pm

app crashing after launching

The issue happens when the first page loads("login"), in debug mode you see the page is loaded, then the app crashes, and again the message says there was some issue with some json that was returned.
Im having the issue with an iphone 5s & iphone 4,but this issue is happening with simulator you don't need a device to see the issue.
I don't have space to create a new clone of the app,

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

app crashing after launching

Hello!

[quote:]I found this fix remove the
"-force_load ${TARGETBUILDDIR}/libCordova.a”
from the linkr flag[/quote]Have you tried this solution https://getsatisfaction.com/apperyio/...? Not just delete, but replace with another string.

Shawn Johnson
Posts: 0
Joined: Wed Jan 15, 2014 4:17 pm

app crashing after launching

I managed to work out the issue but using an older version of xcode, the above solution didn't work for me in xcode 5.1 it did at one point but not now.

Shawn.J

Kateryna Grynko
Posts: 0
Joined: Thu Nov 15, 2012 9:13 am

app crashing after launching

Hi Shawn,

Thank you for the update.

Return to “Issues”