ios - 在我的设备中安装 iPhone 应用程序

标签 ios iphone objective-c xcode

我最近正在使用 Xcode 开发 iPhone 应用程序。现在我想在我的 iPhone 上安装这个应用程序以测试它。我该怎么做?你能告诉我一步一步的答案吗,因为我是新手。

我已经在 iPhone Dev Center 现在下一步是什么?

根据 Apple 指南:

To test your app on a variety of devices and iOS versions, create a special distribution provisioning profile, called an ad hoc provisioning profile, and send it, along with the app, to testers. An ad hoc provisioning profile doesn’t require that testers be enrolled in an Apple Developer Program, be added to your team, create signing certificates, or use Xcode to run your app. Instead, app testers simply install the app and the ad hoc provisioning profile on their device to launch the app. You can then collect and analyse crash reports or logs from these testers to resolve problems before you ship your app.

我可以做这里提到的吗?如果是,怎么办?

最佳答案

go to memeber login area and login with your credential..

enter image description here

go to certificate , Identifiers & Profile tab

enter image description here

go to keychain access and create a .csr file and save it, it'll required for creating certificates

enter image description here

  1. create a certificate from certificate tab
  2. create App Ids from identifier tab
  3. Register your device UDID from Devices tab
  4. Create distribution profile from Provisioning Profile tab and download & save it.
  5. Install the Provisioning profile to your device and build your project using that profile.

enter image description here

Archive your project and create .ipa file

enter image description here

Final step: Install that .ipa file to your device.

希望对您有所帮助。快乐编码......

关于ios - 在我的设备中安装 iPhone 应用程序,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/19293185/

相关文章:

ios - 从自定义类调用 presentViewController

objective-c - MKMapView 中的注释未显示标题

ios - CocoaPods 设置太慢,如何在终端中设置代理

iphone - UIWebView 错误委托(delegate)方法与可达性

iphone - 将 iPad 支持添加到 iPhone 项目 : universal vs two separate apps?

ios - 如何实现两周模式的日历 View (使用JTCalendar示例)

iphone - sizeToFit 运行异常

objective-c - 长按 UI 元素(或如何确定按下的是哪个元素?)

ios - 如何将 UIActivityIndi​​catorView 添加到 UITableView 的底部,并在加载时切换它

objective-c - : + (instancetype)array;的实现是什么