fisher
fisher

Reputation: 123

Strange thing when use Ad hoc distribution

I distribute my app by using Ad hoc distribution. After I download my app, and log in, then the app begin to download some data and save something with core data, but it could not be saved. Then I terminate the app and try again, it succeed. Something wrong, I think! I tried many times and found that every first time I installed the app, the save core data action would fail, then I terminate app, tried again, it succeed. At first time it failed, could some strange message blew.

(com.apple.ubd) <Notice>: (com.apple.ubd) Throttling respawn: Will start in 1 seconds

In degug model, the strange thing would not happen.

Could somebody help me?

Upvotes: 0

Views: 46

Answers (1)

Andr&#233;s Brun
Andr&#233;s Brun

Reputation: 185

It could a pair of things:

  • Maybe the time to execute - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions is too long when you init the App the first time and crash it.
  • If you are using MagicalRecord try to find [self setShouldDeleteStoreOnModelMismatch:NO]; line and set to YES in no DEBUG mode.

Good luck!

Upvotes: 1

Related Questions