如何对iPhone应用进行测试?我可以在自己的设备上运行游戏,任何人给我设备,我都可以在他们的设备上运行游戏,但有没有办法通过应用商店进行beta测试?
相关:另外,在不使用app Store的情况下将应用程序安装到手机上。
如何对iPhone应用进行测试?我可以在自己的设备上运行游戏,任何人给我设备,我都可以在他们的设备上运行游戏,但有没有办法通过应用商店进行beta测试?
相关:另外,在不使用app Store的情况下将应用程序安装到手机上。
当前回答
有一种相对较新的服务叫做HockeyApp,它似乎可以与TestFlight竞争,然而他们声称可以让你无限制地访问用户,但它确实需要花费一些美元,不像TestFlight,现在已经直接集成到iTunes Connect中。
其他回答
(因为官方指南在这个帖子中仍然缺失..)
TestFlight已被苹果收购,现在(iOS8+)可用于beta测试,这使得你可以轻松地将应用交给测试人员,而无需事先收集设备uuid(你只需要测试人员的电子邮件地址)。在iTunes Connect开发者指南中可以找到解释所有必要步骤的广泛指南。
Diawi Alternatives
因为diawi.com增加了一些免费帐户的限制。
接下来最好的和容易使用的替代是
微软
https://appcenter.ms
谷歌
https://firebase.google.com/docs/app-distribution/ios/distribute-console
其他人
https://hockeyapp.net/
http://buildtry.com
快乐构建分享!
2011年,有一项名为“试飞”的新服务,它直接解决了这个问题。
苹果于2014年收购了TestFlight,并将其整合到iTunes Connect和App Store Connect中。
创建临时分发配置文件
苹果提供的说明在这里,但这里是我如何创建一个通用配置文件,可以与多个应用程序一起工作,并添加了一个测试版测试器。
我的设置:
Xcode 3.2.1之上 iPhone SDK 3.1.3
在你开始之前,请确保…
你可以通过Xcode在自己的iPhone上运行这款应用。
步骤A:将设备添加到Provisioning Portal
Send an email to each beta tester with the following message: To get my app on onto your iPhone I need some information about your phone. Guess what, there is an app for that! Click on the below link and install and then run the app. http://itunes.apple.com/app/ad-hoc-helper/id285691333?mt=8 This app will create an email. Please send it to me. Collect all the UDIDs from your testers. Go to the Provisioning Portal. Go to the section Devices. Click on the button Add Devices and add the devices previously collected.
步骤B:创建一个新的配置文件
Start the Mac OS utility program Keychain Access. In its main menu, select Keychain Access / Certificate Assistant / Request a Certificate From a Certificate Authority... The dialog that pops up should aready have your email and name it it. Select the radio button Saved to disk and Continue. Save the file to disk. Go back to the Provisioning Portal. Go to the section Certificates. Go to the tab Distribution. Click the button Request Certificate. Upload the file you created with Keychain Access: CertificateSigningRequest.certSigningRequest. Click the button Aprove. Refresh your browser until the status reads Issued. Click the Download button and save the file distribution_identify.cer. Doubleclick the file to add it to the Keychain. Backup the certificate by selecting its private key and the File / Export Items.... Go back to the Provisioning Portal again. Go to the section Provisioning. Go to the tab Distribution. Click the button New Profile. Select the radio button Ad hoc. Enter a profile name, I named mine Evertsson Common Ad Hoc. Select the app id. I have a common app id to use for multiple apps: Evertsson Common. Select the devices, in my case my own and my tester's. Submit. Refresh the browser until the status field reads Active. Click the button Download and save the file to disk. Doubleclick the file to add it to Xcode.
步骤C:构建用于发行的应用
Open your project in Xcode. Open the Project Info pane: In Groups & Files select the topmost item and press Cmd+I. Go to the tab Configuration. Select the configuration Release. Click the button Duplicate and name it Distribution. Close the Project Info pane. Open the Target Info pane: In Groups & Files expand Targets, select your target and press Cmd+I. Go to the tab Build. Select the Configuration named Distribution. Find the section Code Signing. Set the value of Code Signing Identity / Any iPhone OS Device to iPhone Distribution. Close the Target Info pane. In the main window select the Active Configuration to Distribution. Create a new file from the file template Code Signing / Entitlements. Name it Entitlements.plist. In this file, uncheck the checkbox get-task-allow. Bring up the Target Info pane, and find the section Code Signing again. After Code Signing Entitlements enter the file name Entitlements.plist. Save, clean, and build the project. In Groups & Files find the folder MyApp / Products and expand it. Right click the app and select Reveal in Finder. Zip the .app file and the .mobileprovision file and send the archive to your tester. Here is my app. To install it onto your phone: Unzip the archive file. Open iTunes. Drag both files into iTunes and drop them on the Library group. Sync your phone to install the app.
完成了!唷。这对我很管用。到目前为止,我只添加了一个测试人员。
请注意,传统的“beta测试”是由专业QA工程师完成的,而“公开beta测试”是在产品准备好之前向公众发布的。
你可以进行“beta测试”——将内容加载到测试者将要使用的特定iphone / ipod上。你不能进行“公测测试”,即提前向公众发布。