[英]Attempting to deploy my app on my jailbroken iphone, but the app closes immediately!
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. 我正在尝试在越狱的iphone上开发iphone应用程序,但似乎无法停止该过程,因为每当我部署应用程序,将所有文件权限设置为777并重新启动时,当我尝试将iphone应用程序关闭时,该应用程序都会立即关闭启动它。 Furthermore, it does not have the auto-gloss xcode shows in the iphone simulator, so what gives? 此外,它在iPhone模拟器中没有自动光泽的xcode显示,那么该怎么办?
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. 我已经通过钥匙串访问生成了证书,并添加了两个用于REQUIREPROVISIONING和ALLOWPROVISIONING的密钥(两个值均为no),然后在xcode中设置了适当的证书,但是当我尝试在手机上运行该应用程序时,该应用程序仍然会立即关闭。
What gives? 是什么赋予了?
I had the same issue, ldid did not work for me at all. 我遇到了同样的问题,ldid根本不适合我。 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". 要使用Apple开发密钥进行部署,只需将项目构建代码符号标识设置为Apple开发人员密钥名称的名称,而不是“ Do n't code sign”。
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). 我不确定Xcode应用程序是否需要这样做,但是要运行Jailbreak-toolchain编译的应用程序,您必须在应用程序可执行文件(例如MyApp.app/MyApp)上运行ldid -S(作为根用户)。 This Thread may help: Thread 这个线程可以帮助: 螺纹
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.