Xcode 4.2.1 Lion
越狱的iPhone
主要问题是我在信用卡信息更新时找不到我的国家,因此可能无法购买99美元的程序会员资格。
但我仍想在真正的iPhone上尝试制作应用程序。
这里有一个链接:Test iOS app on device without apple developer program or jailbreak
WrightsCS 写道:
There's a way you can do this.
You will need ROOT access to edit the following file.
Navigation to /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS4.2.sdk and open the file SDKSettings.plist.
In that file, expand DefaultProperties and change CODE_SIGNING_REQUIRED to NO, while you are there, you can also change ENTITLEMENTS_REQUIRED to NO also.
You will have to restart Xcode for the changes to take effect. Also, you must do this for every .sdk you want to be able to run on device.
Now, in your project settings, you can change Code Signing Identity to Don't Code Sign.
Your app should now build and install on your device successfully.
我已经完成了,但是出现了以下类型的错误。
Code Sign error: The identity 'iPhone Developer' doesn't match any valid certificate/private key pair in the default keychain
我也阅读了这篇文章:如何从Xcode将iPhone应用程序部署到真实的iPhone设备?,其中rpetrich写道:
It sounds like the application isn't signed. Download ldid from Cydia and then use it like so: ldid -S /Applications/AccelerometerGraph.app/AccelerometerGraph
Also be sure that the binary is marked as executable: chmod +x /Applications/AccelerometerGraph.app/AccelerometerGraph
但这发生在2008年。当我开始寻找这个Idid和相关事项时,在评论中有帖子说,新软件不起作用。所以我甚至没有尝试过。
那么...
今天,有没有解决这个问题的方法?