Production app crashing

4 views
Skip to first unread message

num

unread,
Jan 13, 2011, 6:30:20 PM1/13/11
to Skyhook Local Faves
Hi!

I'm using iPhone 3GS with iOS 4.2.1 and Local Faves 1.1.4. My app is
running great when installed from Xcode.

Today my app was approved on the App Store, and when using version
from the app store, after my app calls:
[LocalFaves launchDashboardWithParent:self];
Local Faves screen does show, but few seconds later my app crashes.
Trying to debug this problem I can see that an Objective C exception
is raised from "NSThreadPerformPerform". Not very informative.

If I use the version installed using Xcode, everything works as it
should.

Anyone had a problem like this?

George

unread,
Jan 14, 2011, 11:32:26 AM1/14/11
to skyhook-l...@googlegroups.com
Hi num,

When you say "installed from XCode" do you mean in the simulator or on an actual device? Also, have you made an adhoc build of the version that you're submitting to the AppStore and tried it out on a device?

num

unread,
Jan 14, 2011, 5:29:06 PM1/14/11
to Skyhook Local Faves
I'm using actual device. I'm using Development Certificate when
installed from Xcode, not an Ad-Hoc Certificate (I haven't paid Apple
for Enterprise iOS Development Program to be able to use ad-hoc).
Version on the App Store is the same version, only difference is that
it is signed using App Store Distribution Certificate instead of
Development Certificate and installed using App Store instead of Xcode.

George

unread,
Jan 17, 2011, 12:08:47 PM1/17/11
to skyhook-l...@googlegroups.com
num can you attach or paste here the actual crash log from the device? Thanks.

andrei

unread,
Jan 18, 2011, 2:26:36 PM1/18/11
to Skyhook Local Faves
You don't need an Enterprise account in order to deploy an app in ad-
hoc mode.
All you need is a developer account.
There are many articles describing how to do an ad-hoc distribution
(which is a great way to test before submitting an app)
For example http://answers.oreilly.com/topic/1434-how-to-prepare-an-iphone-app-for-ad-hoc-distribution/


num

unread,
Jan 19, 2011, 8:54:41 AM1/19/11
to Skyhook Local Faves
Problem solved after I added "-ObjC -all_load" linker options in
production configuration. Sorry for the noise.
Reply all
Reply to author
Forward
0 new messages