开发者

How to test an iPhone app on a device for the first time?

I am developing an app for iPhone. How can I test this app on my device?

What are the procedures to follow? 开发者_运维知识库Please give information regarding this problem.


Deploying iPhone Apps to Real Devices
http://mobiforge.com/developing/story/deploying-iphone-apps-real-devices

In brief:

  • Sign up for the iPhone Developer Program
  • Obtain an iPhone Development Certificate
  • Generate a Certificate Signing Request
  • Generate, download and install your provisioning profile
  • Download and install your Development Certificate
  • Deploy your iPhone application.


Things you will need are

  1. your private key.
  2. your provisioning profile (with the UUID of your device added).
  3. go to project settings and change code signing entity to your distribution profile.

then you can build and run after connecting your device.


1) Open Xcode,

2) Go to Active SDK, and select the OS version running on your test device (viewable by going to Settings->General->About on the device).

3) With your project open, click on "Build and Run" (or press Command-R) to run the project, which will prompt you to allow access to your keychain.

4) Once deployed, the app will run automatically. Distribution


First of all, to run the app on your phisical device you must enroll to the apple developer program. Second, generate a developer certificate and download it. Then, import the certificate into Xcode and here you go.


There are some steps you need to follow to test your app on your personal iPhone. Below you can find all the steps:

  • Creat MAC certificate at first step.
  • Second step is to upload that certificate to developer account.
  • Now you should open developer account at http://www.developer.apple.com
  • You can now find an option for device id in your developer account on left side.
  • Now you should register your iphone device.
  • It is time to create your unique identifier on developer account
  • Download your certificate and install it on xcode organize
  • Now open your project embed your unique identifier in your project.

These steps can be beneficial for all software testing gusy involved in mobile application testing.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜