How to test app on device by installing .app (binary) file? (without using Xcode for testing)

最后都变了- 提交于 2019-12-24 07:38:36

问题


I have created an app and I want to send that to another person for testing it. )

He got an iPhone and a mac, but doesn't have xcode on his mac. (he is not an iphone programmer) So,

If I send the .app file, can he test that on his iPhone? If not, how else I can do this?

This is my first app :) and I have no idea about testing on real devices. So please help me.

Thanks in advance. :)


回答1:


You need to do what's called "ad-hoc distribution", which requires creating a special ad-hoc provisioning profile that includes your tester's device UDID.

I highly recommend http://testflightapp.com/ as it greatly simplifies distributing your ad-hoc builds.




回答2:


Yes, this is what "Ad-hoc" testing is. You'll need to:

  1. Add the friend's device to the iOS provisioning portal at developer.apple.com
  2. Generate a provisioning profile that includes it for your app.
  3. Build the app using this profile.
  4. Generate an .IPA file using Product->Archive
  5. Send the friend that .IPA file.

Many more details available in Apple's guides under "Ad-Hoc" testing.



来源:https://stackoverflow.com/questions/6651357/how-to-test-app-on-device-by-installing-app-binary-file-without-using-xcode

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!