开发者

iPhone Distribution profile with Simulator

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];

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜