iOS 问题。我可以分发我的应用程序的 Xcode 模拟器版本吗?
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/3104127/
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
iOS Question. Can I distribute the Xcode simulator versions of my app?
提问by dugla
I would like to send someone the Xcode simulator version - not the device version- of my iPad app. I have located the .app file in the Finder. Do I just zip it up and send it off or is it more complicated than that?
我想向某人发送我的 iPad 应用程序的 Xcode 模拟器版本 -而不是设备版本。我在 Finder 中找到了 .app 文件。我是直接把它拉上拉链然后寄出去还是比这更复杂?
Thanks,
Doug
谢谢,
道格
UPDATE
更新
Chrisbtoo got the answer on this one however he left of some critical bits for those of you trying this at home:
Chrisbtoo 在这个问题上得到了答案,但他留下了一些关键的部分,供你们在家中尝试:
Path to Xcode simulator (the simulator can be run standalone.):
/Developer/Platforms/iPhoneSimulator.platform/Developer/Applications/iPhone Simulator.app
Xcode 模拟器的路径(模拟器可以独立运行。):/
Developer/Platforms/iPhoneSimulator.platform/Developer/Applications/iPhone Simulator.app
Path to app that appears in the home screen of the simulator:
/Users/turner/Library/Application Support/iPhone Simulator/3.2/Applications/{GUID}
出现在模拟器主屏幕中的应用程序路径:
/Users/turner/Library/Application Support/iPhone Simulator/3.2/Applications/{GUID}
It is instructive to watch what happens in the app simulator directory as you build for simulation, delete apps from the simulator desktop and generally use the simulator as an actual device.
在为模拟构建时观察应用程序模拟器目录中发生的情况、从模拟器桌面删除应用程序以及通常将模拟器用作实际设备是有益的。
Bottom line: This is a viable approach for sharing apps in a "simulated" ad hoc manner without the mind numbing, soul sucking process of true ad hoc app sharing.
底线:这是一种以“模拟”即席方式共享应用程序的可行方法,而没有真正的即席应用程序共享的头脑麻木和灵魂吮吸过程。
Cheers,
Doug
干杯,
道格
采纳答案by chrisbtoo
Assuming the other person already has the simulator installed, you can just zip up the stuff under ~/Library/Application Support/iPhone Simulator/3.2/Applications/{GUID}
(includes both the .app and any data directories needed) and send it to them - they'll need to unzip it under that same directory. What I've done in the past was to rename the {GUID}
part to a more friendly name - the sim will still pick it up.
假设其他人已经安装了模拟器,您可以压缩下面的内容~/Library/Application Support/iPhone Simulator/3.2/Applications/{GUID}
(包括 .app 和所需的任何数据目录)并将其发送给他们 - 他们需要将其解压缩到同一目录下。我过去所做的是将{GUID}
部件重命名为更友好的名称 - sim 卡仍然会捡起它。
If they don't already have the simulator, they will need to sign up for a free iphone dev account and download Xcode, etc.
如果他们还没有模拟器,他们将需要注册一个免费的 iphone 开发帐户并下载 Xcode 等。
回答by navidsafa
We just put up a little tool that will help you with this. It manages both what you need on the dev side and also the tester.
我们只是提供了一个小工具来帮助您解决这个问题。它管理您在开发方面和测试人员所需的内容。
Here it is
这里是
http://blog.placeit.net/ios-app-packager/
http://blog.placeit.net/ios-app-packager/
It basically creates a little zip that you can pass to the tester and it'll install the app in the right directory and also open it up for the user with the right device selected.
它基本上创建了一个小 zip,您可以将其传递给测试人员,它会将应用程序安装在正确的目录中,并为选择了正确设备的用户打开它。
回答by LDCodes
I would think you want to send the entire project folder to the other person- presumably you are expecting them to open it in their XCode- and presumably they have the sdk for the app.
我认为您想将整个项目文件夹发送给其他人-大概您希望他们在他们的 XCode 中打开它-并且大概他们拥有该应用程序的 sdk。
回答by user370507
You have to distribute via AdHoc or App Store for beta testing.
您必须通过 AdHoc 或 App Store 分发以进行 Beta 测试。
Become a developer and then look into how to do this.
成为一名开发人员,然后研究如何做到这一点。
You need to have a provisioning profile, and then select the UDID's for the device you want to beta test to.
您需要有一个配置文件,然后为要进行 Beta 测试的设备选择 UDID。
Go to the iPhone Provisioning Portal
and here is a documentwith more detail
这是一个更详细的文档