简体   繁体   中英

Why does my distributed app look different than it did while debugging in xcode?

I 'completed' an app and submitted it to the app store. The app was rejected because they couldn't get the app to start. They sent me images and they look different than anything that I have seen while debugging.

I created an ad hoc .ipa and loaded it onto my device and then I was able to see the same symptoms. Some images are missing, including the 'start' button.

It does not cause a crash, so I can't use crash reports to debug the problem.

Are there certain settings that I need to modify to make sure that a distributed app and a debugged app are the same?

I am using Xcode 5.1.1 and Cocos2D.

(Some of the images that are missing are images whose zOrder I modified; I don't know if this is relevant or not).

One of the missing images is 'tower_blank.png' shown in the project navigator in the screen shot below:

在此处输入图片说明

I found a solution that fixed the problem. I would love to get some feedback as to whether this is a good idea or not.

Under 'Build Settings->Apple LLVM 5.1 - Code Generation->Optimization Level' I changed the Release setting from 'Fastest,Smallest' to 'None'

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM