xcode iOS - .ipa 文件上的应用程序调试
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/10521682/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
iOS - Application debugging on .ipa file
提问by Romes
Is there a way to debug a .ipa file after archiving?
有没有办法在存档后调试 .ipa 文件?
I have a bug that I am running into when I archive to .ipa file that doesn't show up in xcode when I am running tests.
我在存档到 .ipa 文件时遇到了一个错误,当我运行测试时该错误没有出现在 xcode 中。
Thanks,
谢谢,
回答by Roger
Presumably your testing is done with a Debug build, whereas your archive is a Release build? You can check this if you select 'Edit Scheme' from the schemes drop down in Xcode.
大概您的测试是通过调试版本完成的,而您的存档是发布版本?如果您从 Xcode 的方案下拉列表中选择“编辑方案”,则可以检查这一点。
To test the archive build, you can change your "Run" setting to use a release build rather than debug - click on Run in the left hand panel from the Edit Scheme screen and then the Info tab and change the Build Configuration to Release.
要测试存档构建,您可以更改“运行”设置以使用发布构建而不是调试 - 单击编辑方案屏幕左侧面板中的运行,然后单击信息选项卡并将构建配置更改为发布。
Don't forget to turn it back to Debug once you have finished.
完成后不要忘记将其转回调试。
The thing is - it's pretty rare to find issues like this, could you perhaps explain more about what your problem actually is?
问题是 - 发现这样的问题非常罕见,您能否详细解释一下您的问题究竟是什么?