尝试在我越狱的 iPhone 上部署我的应用程序,但应用程序立即关闭!
我正在尝试在我的越狱 iPhone 上开发 iPhone 应用程序,但我似乎无法完成该过程,因为每当我部署应用程序、将所有文件权限设置为 777 并重新启动时,当我尝试执行以下操作时,应用程序会立即关闭启动它。此外,它没有在 iphone 模拟器中显示的 auto-gloss xcode,那又是什么呢?
我已经通过钥匙串访问生成了证书,并添加了 REQUIREPROVISIONING 和 ALLOWPROVISIONING 的两个密钥(两个值均为 no),然后在 xcode 中设置适当的证书,但当我尝试在手机上运行该应用程序时,该应用程序仍然立即关闭。
是什么赋予了?
I'm trying to develop iphone apps on my jailbroken iphone, and I can't seem to get the process down, for whenever I deploy my app, set all file permissions to 777, and respring, the application closes immediately when I try to launch it. Furthermore, it does not have the auto-gloss xcode shows in the iphone simulator, so what gives?
I've generated the cert via keychain access and added the two keys for REQUIREPROVISIONING and ALLOWPROVISIONING (both values no), and then set the appropriate cert in xcode, but the application still closes immediately when I attempt to run it on my phone.
What gives?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
我遇到了同样的问题,ldid 根本不适合我。这是我的解决方案:
要使用 Apple 开发密钥进行部署,只需将项目构建代码签名标识设置为 Apple 开发密钥名称,而不是“不进行代码签名”。
I had the same issue, ldid did not work for me at all. Here's my solution:
To deploy with an Apple devel key, just set your project build code sign identity to the name of the Apple dev key name instead of "Don't code sign".
您签署了您的应用程序吗?我不确定 Xcode 应用程序是否需要这样做,但要运行越狱工具链编译的应用程序,您必须在应用程序可执行文件(例如 MyApp.app/MyApp)上运行 ldid -S (以 root 身份)。此主题可能会有所帮助:主题
Did you sign your app? I'm not sure if this is needed for Xcode apps, but to run Jailbreak-toolchain compiled apps you have to run ldid -S (as root) on the app executable (ex. MyApp.app/MyApp). This Thread may help: Thread