调试和发布构建工作正常,但分发/临时崩溃

发布于 2024-10-22 19:05:26 字数 461 浏览 1 评论 0原文

你好呀, 我的应用程序的一些用户向我报告说我的应用程序不再工作。它在启动后立即关闭。

几天来我一直在尝试识别崩溃问题,但没有成功使用构建调试和发布并在多个设备中测试它。今天早上,当我能够通过生成 AdHoc 版本并将其安装在我的 iPhone 上来重现该问题时,我感到很惊讶。

我已经尝试删除所有自定义配置并使用发布版本的副本重新创建它们,但它不起作用。

当我在模拟器中运行时,我收到以下错误,并且崩溃报告也指向同一位置...

检测到调用 iPhone 上不存在的系统库中的符号的尝试:fwrite$UNIX2003 称为来自函数 -[My7zipExtract extract7zFile:]

所以,我的问题是:构建调试/发布和分发(App Store/Ad Hoc)之间有什么区别。我已经仔细检查了所有内容,唯一的区别是证书。

任何帮助表示赞赏。

非常感谢

HI there,
Some users of my application have reported me that my application is no longer working. It closes just after launching it.

I have been trying to identify the crash for days with no luck using builds debug and release and testing it in several devices. This morning I was surprised when I was able to reproduce the problem by generating a AdHoc version and installing it on my iPhone.

I have already tried to remove all the custom configurations and recreate them using a copy of the release version but it did not work.

I got this error below when I was running in the simulator and the crash reports also points to the same place...

Detected an attempt to call a symbol in system libraries that is not present on the iPhone:fwrite$UNIX2003 called from function -[My7zipExtract extract7zFile:]

So, my question is: What is the difference between build Debug/Release and Distribution (App Store/Ad Hoc). I have double checked everything and the only difference are the certificates.

Any help is appreciated.

Many thanks

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

呆° 2024-10-29 19:05:26

我现在也遇到同样的问题。我复制了 Debug Xcode 配置来创建 AdHoc 配置,添加权利并更改证书。

进行良好的旧 printf 调试;)我发现,当使用 AdHoc 构建时,C++ 构造函数在 iPhone 上的调用方式似乎有所不同/根本没有调用。

I'm having precisely the same problem right now. I copied my Debug Xcode configuration to create the AdHoc one, adding entitlements and changing the certificate.

Doing good old printf-debugging ;) i found that the c++ constructors seem to be called differently / not called at all on the iPhone when using the AdHoc build.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文