简体   繁体   English

"如何在 XCode iOS 模拟器上安装 .ipa 文件"

[英]How to Install .ipa File on XCode iOS Simulator

I have downloaded an .ipa<\/code> file from an iOS developer for our project.我从 iOS 开发人员处为我们的项目下载了一个.ipa<\/code>文件。

I need to test the app on my simulator because I don't have a physical device, but I don't know how to.我需要在我的模拟器上测试应用程序,因为我没有物理设备,但我不知道如何去做。

how to install the .ipa<\/code> file to XCode iOS Simulator<\/strong> ?如何将.ipa<\/code>文件安装到 XCode iOS 模拟器<\/strong>? I have been read the difference between emulator and simulator, which the .ipa<\/code> only able installed on real device and emulator while the .app<\/code> only able installed on simulator.我已经阅读了模拟器和模拟器之间的区别, .ipa<\/code>只能安装在真实设备和模拟器上,而.app<\/code>只能安装在模拟器上。 The emulator also mimic the real device's hardware and software while simulator only mimic the software and interface.模拟器还模仿真实设备的硬件和软件,而模拟器只模仿软件和界面。 If those differences above are true, does anyone know how to convert the .ipa<\/code> to working .app<\/code> file?如果上述差异属实,有谁知道如何将.ipa<\/code>转换为工作.app<\/code>文件? I have been tried changed the .ipa<\/code> to .zip<\/code> by rename it then extract it and last, drag and drop the .app<\/code> file (in the payload folder after extracted) to my simulator but failed, the message is "Please update the app".我已尝试通过重命名将.ipa<\/code>更改为.zip<\/code> ,然后将其解压缩,最后将.app<\/code>文件(在解压缩后的有效负载文件夹中)拖放到我的模拟器但失败,消息是“请更新应用程序” . I also tried the command xcrun simctl install<\/code> but failed.我也尝试了命令xcrun simctl install<\/code>但失败了。 Currently, I am using the Mac with Big Sur and XCode 12. I can't download the project because the project size is very big and my internet too slow for download it, Thank you all目前,我正在使用带有 Big Sur 和 XCode 12 的 Mac。我无法下载该项目,因为项目太大而且我的互联网速度太慢,无法下载,谢谢大家

"

Since you have the ability to run the simulator, You have the ability to have Xcode installed.既然你有能力运行模拟器,你就有能力安装 Xcode。

Rather than have the developer send you the IPA file, you could get access to the source code for your project (usually this is on a Git service provider) download the source and build the app to the simulator directly.与其让开发人员向您发送 IPA 文件,您还可以访问项目的源代码(通常在 Git 服务提供商上)下载源代码并直接将应用程序构建到模拟器。

In a well set up project it shouldn't be hard to clone the repository, maybe run some configuration, then open Xcode and build to the simulator在一个设置良好的项目中,克隆存储库应该不难,也许运行一些配置,然后打开 Xcode 并构建到模拟器

I have the same problem, and refer to that link before.我有同样的问题,之前参考那个链接。 it seems noway but to buy an iphone test device...看来没办法了,只能买个iphone测试设备……

"

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM