xcode 在 iPhone 上安装 ipa

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/43811105/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-15 09:57:10  来源:igfitidea点击:

Install ipa on iPhone

iosiphonexcodeitunesipa

提问by SUPARNA SOMAN

I am trying to install an .ipa on iPhone. This app need to be tested before publishing.

我正在尝试在 iPhone 上安装 .ipa。此应用程序需要在发布前进行测试。

First, I tried to install the .ipa using iTunes. I clicked on install, it went to will install and then "installing" and is stuck there. Nothing is happening. If I try "sync", it appears as the app is being installed on the device, but disappears after the sync.

首先,我尝试使用 iTunes 安装 .ipa。我点击安装,它会安装,然后“安装”并卡在那里。什么都没有发生。如果我尝试“同步”,它会在设备上安装应用程序时出现,但在同步后消失。

Trying installation using Xcode gives the error "A valid provisioning profile for this executable was not found."

尝试使用 Xcode 进行安装会出现错误“找不到此可执行文件的有效配置文件”。

采纳答案by Krunal

If you are trying to install your own developed app in iOS device and facing this problem, then there can be any of following reasons for this error.

如果您尝试在 iOS 设备中安装自己开发的应用程序并遇到此问题,则此错误可能有以下任何原因。

  1. You may have not created proper IPA file. Regenerate your IPA file again.
  2. You are trying to install app in iOS device which is not registered/associated with your app in developer account. Get UDID of your iOS device and register it with your app in developer account. Update your provisioning profile and regenerate your IPA.
  3. Problem with App Installation medium you are using to install an app i.e Diawi or any other.. Re-upload your IPA file (update IPA file on source location).
  1. 您可能没有创建正确的 IPA 文件。再次重新生成您的 IPA 文件。
  2. 您正在尝试在未在开发者帐户中注册/关联您的应用程序的 iOS 设备中安装应用程序。获取您的 iOS 设备的 UDID 并将其注册到您的应用程序中的开发者帐户。更新您的配置文件并重新生成您的 IPA。
  3. 您用于安装应用程序的应用程序安装介质有问题,即 Diawi 或任何其他应用程序。重新上传您的 IPA 文件(在源位置更新 IPA 文件)。

Go through each, one-by-one. You will get solution.

一个一个地通过。你会得到解决方案。

回答by dahiya_boy

Follow below steps.

请按照以下步骤操作。

  1. Create developer certificate and add in your project.
  2. certificate must contain your device UDID.
  3. Clean and build your project.
  4. Make zip of your project .app file
  5. Upload zip file to diawi https://www.diawi.com
  6. Scan bar code and open link in safari browser only.
  7. Click on install button.
  1. 创建开发人员证书并添加到您的项目中。
  2. 证书必须包含您的设备 UDID。
  3. 清理并构建您的项目。
  4. 压缩你的项目 .app 文件
  5. 将 zip 文件上传到 diawi https://www.diawi.com
  6. 仅在 safari 浏览器中扫描条形码并打开链接。
  7. 点击安装按钮。

Ref 1. https://mobileroadie.zendesk.com/hc/en-us/articles/200091736-iOS-Developer-Account-Step-by-Step-Guide

参考 1. https://mobileroadie.zendesk.com/hc/en-us/articles/200091736-iOS-Developer-Account-Step-by-Step-Guide

This method never stucks.

这种方法永远不会卡住。