在没有Apple开发人员程序和任何证书的情况下在真实设备上构建和部署Iphone App

时间:2011-12-28 11:03:09

标签: iphone ios xcode

Xcode 4.2.1 狮子

Jailbraked 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

/ / / / /

我也读过这个 How can I deploy an iPhone application from Xcode to a real iPhone device? 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和东西时,在评论那里有新软的帖子不起作用。所以我甚至都没试过。

SO ....

今天。有没有办法解决这个问题?

2 个答案:

答案 0 :(得分:2)

据我所知,在设备上“合法”安装任何应用程序的唯一方法是拥有开发者帐户。必须使用配置文件和开发人员证书对应用程序进行签名才能安装到设备上。

答案 1 :(得分:0)

您可以在越狱手机上安装自签名或伪签名(使用ldid)应用程序(否则)。查看有关如何在http://www.priyaontech.com/download/12/

完成此操作的演示文稿