Reputation: 123
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
Reputation: 185
It could a pair of things:
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
is too long when you init the App the first time and crash it. [self setShouldDeleteStoreOnModelMismatch:NO];
line and set to YES in no DEBUG mode.Good luck!
Upvotes: 1