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 Tools & Utilities

Reply
 
LinkBack Thread Tools Display Modes
Old 02-02-2012, 07:41 PM   #1 (permalink)
Registered Member
 
Join Date: Feb 2012
Posts: 1
chriso8 is on a distinguished road
Default missing dSYM from Release version

Hi

I've tested my app on many devices and all good, however it just got rejected saying it crashes upon starting.

I've downloaded the .crash files from Apple, and it looks like this:

Code:
Exception Type:  EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0x05385000
Crashed Thread:  0

Thread 0 name:  Dispatch queue: com.apple.main-thread
Thread 0 Crashed:
0   Myapp                             0x001c8fd0 ofPixels_<unsigned char>::swapRgb() + 24
1   Myapp                             0x001c5f02 void putBmpIntoPixels<unsigned char>(FIBITMAP*, ofPixels_<unsigned char>&, bool) + 266
2   Myapp                             0x001c5256 ofLoadImage(ofPixels_<unsigned char>&, std::string) + 678
3   Myapp                             0x001c59d0 ofImage_<unsigned char>::loadImage(std::string) + 96
4   Myapp                             0x000066a4 screenMenu::loadAssets() + 280
5   Myapp                             0x0000626e screenMenu::init(testApp*) + 1794
6   Myapp                             0x000039da testApp::setup() + 198
7   Myapp                             0x001ad3ca -[ofxiPhoneAppDelegate applicationDidFinishLaunching:] + 934
8   UIKit                              0x3269c83e -[UIApplication _callInitializationDelegatesForURL:payload:suspended:] + 1270
9   UIKit                              0x326963b6 -[UIApplication _runWithURL:payload:launchOrientation:statusBarStyle:statusBarHidden:] + 390
By the way, that above isn't symbolicated is it? How should a symbolicated file look?

When I open Organizer, then Archives, I click on the release version I sent to apple, then right click > show in finder. I right click the .xcarchive and show package contents. There is a dSYMs folder, but no .dsym file inside. What am I doing wrong?

Obviously I don't want the debug symbols inside my app that people download, but I do want the dsym file for debugging.

In xcode 4, I click my app project file, then in targets select the app then build settings, if I search for symbol I get these settings:



Any advice would be fantastic,

Many thanks

Chris
chriso8 is offline   Reply With Quote
Old 03-07-2012, 03:35 PM   #2 (permalink)
Registered Member
 
Join Date: Feb 2012
Posts: 22
appC is on a distinguished road
Default

Quote:
Originally Posted by chriso8 View Post
Code:
Exception Type:  EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0x05385000
Crashed Thread:  0

Thread 0 name:  Dispatch queue: com.apple.main-thread
Thread 0 Crashed:
0   Myapp                             0x001c8fd0 ofPixels_<unsigned char>::swapRgb() + 24
1   Myapp                             0x001c5f02 void putBmpIntoPixels<unsigned char>(FIBITMAP*, ofPixels_<unsigned char>&, bool) + 266
2   Myapp                             0x001c5256 ofLoadImage(ofPixels_<unsigned char>&, std::string) + 678
3   Myapp                             0x001c59d0 ofImage_<unsigned char>::loadImage(std::string) + 96
4   Myapp                             0x000066a4 screenMenu::loadAssets() + 280
5   Myapp                             0x0000626e screenMenu::init(testApp*) + 1794
6   Myapp                             0x000039da testApp::setup() + 198
7   Myapp                             0x001ad3ca -[ofxiPhoneAppDelegate applicationDidFinishLaunching:] + 934
8   UIKit                              0x3269c83e -[UIApplication _callInitializationDelegatesForURL:payload:suspended:] + 1270
9   UIKit                              0x326963b6 -[UIApplication _runWithURL:payload:launchOrientation:statusBarStyle:statusBarHidden:] + 390
By the way, that above isn't symbolicated is it? How should a symbolicated file look?
Actually, it is symbolicated. if it was not symbolicated you wouldn't see your function names, and line numbers. hope that helps
appC is offline   Reply With Quote
Old 03-07-2012, 03:39 PM   #3 (permalink)
Registered Member
 
Join Date: Feb 2012
Posts: 22
appC is on a distinguished road
Default

actually i think i "may" know what's going on. Your app is taking too long to launch. it seems like your calling some setup() function inside your applicationDidFinishLaunching: function. im not sure how long that setup is taking. but one thing i learned is that during development, the operating system wont kill an app if it takes too long to launch, but for release i think if it takes more than 10 seconds, OS kills the app. probably why apple rejected it.
appC is offline   Reply With Quote
Reply

Bookmarks

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: 465
14 members and 451 guests
7twenty7, David-T, Dj_kades, Elad, HemiMG, iAppDeveloper, jeroenkeij, LunarMoon, Mijator, Pauluz85, QuantumDoja, sacha1996, smithdale87, usernametaken
Most users ever online was 1,387, 04-10-2012 at 04:21 AM.
» Stats
Members: 175,679
Threads: 94,129
Posts: 402,928
Top Poster: BrianSlick (7,990)
Welcome to our newest member, xzoonxoom
Powered by vBadvanced CMPS v3.1.0

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