Advertise Mobile SDKs Books Events Forum News Social Networking Support Us
Follow @iphonedevsdk on Twitter

Interface 2, Advanced iOS
Mockup & Code Gen
($9.99)

Make your own iPhone apps
and run them live!
(free)

Pic Frame Dynamo: Photo Editing
($0.99)

Abiliator
($1.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum > iPhone SDK Development Forums > iPhone SDK Development

Reply
 
LinkBack Thread Tools Display Modes
Old 12-15-2010, 08:57 AM   #1 (permalink)
Registered Member
 
Join Date: Dec 2010
Posts: 12
Everleigh1 is on a distinguished road
Default Opposite problem: works on device, NOT the Simulator

I'm sure I'm overlooking a simple fix, but I'm befuddled. My apps were working fine and have been submitted to Apple. However, now I can't run those same files (or safety copies of them) in the Simulator.

BUT, it builds and runs perfectly on the device!!! This is the opposite problem I've read in all the forums!

The application launches ok in the simulator, but any user interaction like changing views will cause it to crash. What am I missing?
Everleigh1 is offline   Reply With Quote
Old 12-15-2010, 01:17 PM   #2 (permalink)
Registered Member
 
Join Date: Jun 2010
Posts: 386
SoulRed12 is on a distinguished road
Default

Well, what does the console say after a crash? Anything? And what did you change/add in your app between the times when it worked in the past and now when it doesn't? And have you tried to delete your app from the simulator, cleaning all targets, and then rebuild for the simulator?

In addition, just what does your app try to do? And have you tried to use NSLogs to figure out just what lines the app crashes on? (that way you can determine what line the simulator doesn't seem to "like")
__________________
HEY! Was this post helpful?
If so, it would be MUCH appreciated if you'd just click on one of these apps:



MyD
Take 1 minute to set up your MyD and you'll always be able to prove you own your device!

Membrik
Test your memory by sliding tiles to match chains of increasing difficulty.

©2011 Dardom Productions | Like us on Facebook!
SoulRed12 is offline   Reply With Quote
Old 12-15-2010, 04:51 PM   #3 (permalink)
Registered Member
 
Join Date: Dec 2010
Posts: 12
Everleigh1 is on a distinguished road
Default

Quote:
Originally Posted by SoulRed12 View Post
Well, what does the console say after a crash? Anything? And what did you change/add in your app between the times when it worked in the past and now when it doesn't? And have you tried to delete your app from the simulator, cleaning all targets, and then rebuild for the simulator?

In addition, just what does your app try to do? And have you tried to use NSLogs to figure out just what lines the app crashes on? (that way you can determine what line the simulator doesn't seem to "like")
Not a thing changed, everything cleaned and rebuilt, still issues. Will try the logs next, was thinking I was just not flipping a random switch on rebuild. I'll let you know, thanks.
Everleigh1 is offline   Reply With Quote
Old 12-16-2010, 09:03 AM   #4 (permalink)
Registered Member
 
Join Date: Dec 2010
Posts: 12
Everleigh1 is on a distinguished road
Default

Console says "terminate called after throwing an instance of 'NSException'
"

It occurs when switching views. No info is being passed between views.

Again, I changed NOTHING! And everything builds and runs fine on the device. There are no warnings either.

Any ideas? Thanks for your help! :-)
Everleigh1 is offline   Reply With Quote
Old 12-16-2010, 09:06 AM   #5 (permalink)
Registered Member
 
Join Date: Oct 2009
Location: Amsterdam, The Netherlands
Posts: 782
TUX2K is on a distinguished road
Default

Could you post a bit more of the error message from the log.
TUX2K is offline   Reply With Quote
Old 12-16-2010, 09:19 AM   #6 (permalink)
Registered Member
 
Join Date: Dec 2010
Posts: 12
Everleigh1 is on a distinguished road
Default

I narrowed it down and it appears some of my file names changed. It's fixed, but it still doesn't explain why it runs ok on the device? I hope this doesn't impact my submission, no idea how this happened.

Sorry for the trouble, if you have any theories I'd be happy to hear them. Take care!
Everleigh1 is offline   Reply With Quote
Old 12-16-2010, 09:20 AM   #7 (permalink)
Registered Member
 
Join Date: Sep 2010
Location: Manchester
Posts: 25
treeba is on a distinguished road
Send a message via Skype™ to treeba
Default

Quote:
Originally Posted by Everleigh1 View Post
Console says "terminate called after throwing an instance of 'NSException'
"

It occurs when switching views. No info is being passed between views.

Again, I changed NOTHING! And everything builds and runs fine on the device. There are no warnings either.

Any ideas? Thanks for your help! :-)
What does the debug log say? Also activating NSZombieEnabled to see if any object has been released
__________________
Mathster - Maths brain training with a twist!
SoundZen - Generative sound sequencer using cellular logic
treeba is offline   Reply With Quote
Reply

Bookmarks

Tags
crash, device, simulator

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



» Advertisements
» Online Users: 396
9 members and 387 guests
chemistry, daudrizek, HemiMG, jeroenkeij, Kirkout, PavelMik, whitey99
Most users ever online was 1,387, 04-10-2012 at 04:21 AM.
» Stats
Members: 175,665
Threads: 94,120
Posts: 402,898
Top Poster: BrianSlick (7,990)
Welcome to our newest member, daudrizek
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 02:59 AM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0