简体   繁体   English

如何在未越狱的iOS设备上测试已签名的应用程序

[英]How can I test my signed app on an unjailbroken iOS device

As part of our software development life cycle, we want to make sure that the binary we test in house before pushing to iTunes, is the same as the binary that we push to iTunes. 作为软件开发生命周期的一部分,我们希望确保在推送到iTunes之前在内部进行测试的二进制文件与推送到iTunes的二进制文件相同。 I know that sounds really silly, but it's a matter of checks and balances in a mid size company, so that the testers can be sure the coders didn't add in anything after testing occurred. 我知道这听起来很傻,但这只是中型公司的制衡问题,因此测试人员可以确定编码人员在进行测试后没有添加任何内容。

So is there a way to run a signed/certed app on a device that's not jail broken? 因此,有没有办法在没有越狱的设备上运行经过签名/认证的应用程序? Or is there a way to verify that an IPW is the exact identical code in the zip that gets pushed to iTunes? 还是有一种方法可以验证IPW是否与推送到iTunes的zip中的代码完全相同?

Or possibly a way to accomplish my goals with a different way? 还是可能以另一种方式实现我的目标?

We have a valid developer account and around 15 different devices that are not jail broken. 我们有一个有效的开发者帐户,还有大约15种没有越狱的设备。 Would prefer to test with them left stock and not jail broken. 宁愿与他们一起测试剩余库存而不是越狱。

A binary signed to go to the App Store cannot be run on devices via the normal ways. 不能通过常规方式在设备上运行已签名为进入App Store的二进制文件。 You can test the code by having the developers create an Ad Hoc build. 您可以通过让开发人员创建一个临时构建来测试代码。 This will have the same functionality as the App Store version, but you can test it. 它具有与App Store版本相同的功能,但是您可以对其进行测试。

Unfortunately, when the app is recompiled for the App Store, more code can be added. 不幸的是,当为App Store重新编译该应用程序时,可以添加更多代码。

Do you not have access to the code to test? 您无权测试代码吗? If you must, you can have them create an adhoc in front of you, test it, and then recompile for the app store all in front of you. 如果必须的话,可以让他们在您面前创建一个自组织,对其进行测试,然后为您面前的应用商店重新编译。 Seems a bit overkill, however. 但是,似乎有些过分了。

There is with another trick: 还有另一个技巧:

first test you code for functionality's, buggs in normal way. 首先以正常方式测试您的功能代码。

Than push the code to AppStore, but set the release date farther with 3 weeks, while your testers are validating it is that what they tested last time or not. 而不是将代码推送到AppStore,但将发布日期设置为3周,而测试人员正在验证它的发布日期是他们上一次测试与否。 Somewhere here, I have read that possibility forgot where. 在这里的某个地方,我已经读过那种可能性忘记了在哪里。 Never tried! 没尝试过!

If you compile your app for distribution using an ad-hoc profile you can later take that archive and resign it with the appstore profile and upload it. 如果您使用临时配置文件编译应用程序以进行分发,则以后可以获取该归档文件,并使用appstore配置文件将其签名并上传。

You can't however upload an application that was compiled with an development certificate. 但是,您不能上载使用开发证书编译的应用程序。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM