I know my distribution profile shouldn't work with my phone, but should it work with the simulator?
My app runs fine in debug on the phone and on the simulator, but then when I run with my distribution profile on the simulator I get开发者_开发技巧 an EXC_BAD_ACCESS error on the line:
[self.window addSubview:viewController.view];
If I comment this line out then the application starts and stays running with a blank screen. This leads me to thing that the profile should work with the simulator. So why am I getting different results from the different profile??
thanks
Eds
you might have release the viewcontroller after
[self.window addSubview:viewController.view];
精彩评论