为什么我的分布式应用程序看起来与在 xcode 中调试时不同? [英] Why does my distributed app look different than it did while debugging in xcode?

查看:14
本文介绍了为什么我的分布式应用程序看起来与在 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.

我创建了一个临时 .ipa 并将其加载到我的设备上,然后我能够看到相同的症状.缺少一些图片,包括开始"按钮.

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?

我正在使用 Xcode 5.1.1 和 Cocos2D.

I am using Xcode 5.1.1 and Cocos2D.

(丢失的一些图片是我修改了zOrder的图片;我不知道这是否相关).

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

缺少的图像之一是以下屏幕截图中项目导航器中显示的tower_blank.png":

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.

在构建设置->Apple LLVM 5.1 - 代码生成->优化级别"下,我将发布设置从最快、最小"更改为无"

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

这篇关于为什么我的分布式应用程序看起来与在 xcode 中调试时不同?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆