如何在iPhone上部署测试应用程序? [英] How to deploy test app on iPhone?

查看:137
本文介绍了如何在iPhone上部署测试应用程序?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想知道如何在iPhone 4.3.2上部署测试应用。使用XCode 4.3但没有购买许可证。

I want to know how to deploy test app on iPhone 4.3.2. with XCode 4.3 but without buying a licence.

我对它进行了越狱并安装了AppSync4.0 +

I have jailbreak on it and installed AppSync4.0+

我之所以这样问是因为我我正在从Qt移植一个应用程序,我想看看它在iOS下的表现。

The reason why I ask this is because I am porting an app from Qt and I want to see it how it behaves under iOS.

我一直在使用Qt4iOS并在使用模拟器时获得了所有内容。
现在我想在我的设备上看到它。

I have been using Qt4iOS and got everything build when using simulator. Now I want to see it on my device.

当我尝试时,我遇到了一些钥匙链错误。

When I try it I got some key chain error.

向我提供一些链接或想法。

Provide me with some links or ideas.

推荐答案

......一切皆有可能。这是关于所需的努力。而这种努力可能非常低。特别是因为您的设备已经越狱。

... everything is possible. It's about the effort needed. And the effort for this can be very low. Especially because your device is are already jailbroken.


  1. 您需要更改Xcode的代码签名才能构建设备。可在此处找到说明: http://iphonedevwiki.net/index.php/Xcode#Developing_without_Provisioning_Profile
    (更好地保存原始文件的副本)。由于Xcode 4.3不再使用/ Developer文件夹,你必须编辑Xcode.app中的文件(./Xcode.app/Contents/Developer /...)

  1. You'll need to change Xcode's code signing for building for an device. Instructions can be found here: http://iphonedevwiki.net/index.php/Xcode#Developing_without_Provisioning_Profile (better save copies of the original files). Since Xcode 4.3 doesn't use the /Developer folder any more you'll have to edit the files inside the Xcode.app (./Xcode.app/Contents/Developer/...)

为设备构建应用。确保目标不是胖二进制文件(而只是构建一个ARMv6可执行文件),如果使用ldid进行伪签名,它将无法在您的设备上运行。

Build your app for the device. Make sure the target isn't a fat binary (instead just build an ARMv6 executable) or it won't work on your device if pseudo-signed with ldid.

为您的应用找到.app包

Find the .app bundle for your app

将.app包复制到/ Applications /(不是/ var / mobile / Applications !!!)(例如通过ssh)。确保您的可执行文件的权限设置为755.重新启动或重新启动,如果您正确执行了所有操作,您将能够启动并测试您的应用程序。

Copy the .app bundle to /Applications/ (not /var/mobile/Applications!!!) (for example via ssh). Make sure the permissions of your executable are set to 755. Reboot or respring and if you did everything correctly you'll be able to launch and test your app.

玩得开心!

这篇关于如何在iPhone上部署测试应用程序?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆