Xcode构建/归档应用程序,任何人都可以在模拟器中运行 [英] xcode build/archive app for anyone to run in a simulator

查看:54
本文介绍了Xcode构建/归档应用程序,任何人都可以在模拟器中运行的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试图弄清楚如何在xcode中构建/归档我的iOS应用程序,以便可以将其发送给任何人,并且他们可以在其中运行模拟器.我以为我可以构建它并在模拟器中运行并拉出.app文件,但是我没有运气.我想构建它,以便我给它的任何人都可以使用phonegap ios-sim在任何模拟器中运行它.

I am trying to figure out how I can build/archive my iOS application in xcode so that I can send it to anyone and they can run in it a simulator. I thought I could just build it and run it in the simulator and pull the .app file however I have no luck. I would like to build it so anyone I give it to can run it in any simulator using the phonegap ios-sim.

任何信息都很棒!

谢谢

推荐答案

此处的所有答案都是错误的.

All answers here are wrong.

您不能在模拟器上运行.IPA文件.该模拟器运行的文件是为x86处理器编译的,而IPA文件是为iPhone中的ARM处理器编译的.此外,.IPA文件必须包含有效的证书,而用于模拟器的应用程序则不需要证书.

You cannot run an .IPA file on the simulator. The simulator runs files which are compiled for the x86 processor, while IPA files are compiled for the ARM processor in the iPhone. Additionally .IPA files must contain a valid certificate while apps for the simulator do NOT need a certificate.

构建应用程序后,转到左侧导航栏,选择产品> appName.app,右键单击它并选择在Finder中显示".Finder将显示.app文件,您可以将该文件发送给您的同事/客户,并要求他们将其拖放到iOS Simulator中.

After building the app, go to the left side navigator bar, select Products > appName.app, right click it and select 'Show in Finder'. Finder will show the .app file and you can send the file to your colleague / client and ask them to drag and drop it into iOS Simulator.

这篇关于Xcode构建/归档应用程序,任何人都可以在模拟器中运行的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆