[英]Send iPhone app without user looking at source
I was wondering if it was possible to send someone an iPhone application without them having access to the source code? 我想知道是否可以在没有人访问源代码的情况下向其发送iPhone应用程序? For example lets say I create an app that i do not want to put on the app store (or cydia for that matter), and I want to send this application to someone (via email, usb, etc) without them being able to look at the source code.
例如,假设我创建了一个我不想放到应用商店(或cydia)上的应用,而我想将此应用发送给某人(通过电子邮件,usb等),但他们无法看在源代码。 I don't see how I could do this when they would have to load the application onto their device via Xcode.
当他们不得不通过Xcode将应用程序加载到设备上时,我看不到该怎么做。
ps I see this being applicable to android applications also PS我看到这也适用于Android应用程序
As Choppin Broccoli already said, create an Ad Hoc Provisioning profile in the provisioning profile section at http://developers.apple.com . 如Choppin Broccoli所说,请在http://developers.apple.com的“配置文件”部分中创建“临时配置文件”。
In Xcode, make sure you set your build destination to "iOS Device" 在Xcode中,确保将构建目标设置为“ iOS设备”
In Xcode, click Product->Archive. 在Xcode中,单击产品->存档。 The organizer window should pop up.
组织者窗口应弹出。 If the Archives tap isn't selected, select it.
如果未选择“存档”水龙头,请选择它。
Click "Distribute". 点击“分发”。
Select "Save for Enterprise or Ad Hoc Deployment. Click next. 选择“保存用于企业或临时部署。单击下一步。
From the list of provisioning profiles on the next screen, select the same Ad Hoc profile that you created in step 1, and click "Export". 在下一个屏幕上的供应配置文件列表中,选择在步骤1中创建的相同的Ad Hoc配置文件,然后单击“导出”。
Select the location to store the file, then click "Save". 选择存储文件的位置,然后单击“保存”。
You can send that IPA to the user to install via iTunes. 您可以将该IPA发送给用户,以通过iTunes进行安装。
What @Katim Languedoc said wad pretty accurate. @Katim Languedoc说的很准确。 In Android you do the same but the file extension is .apk.
在Android中,您可以执行相同的操作,但是文件扩展名是.apk。
您必须创建该应用程序的临时版本,并将.ipa文件发送给他们,以便他们通过iTunes安装。
You can also use services like TestFlight, but they just make the process described a little easier for your install-person (letting TestFlight handle the details of the actual install instead of having do it through iTunes). 您还可以使用诸如TestFlight之类的服务,但是它们只是使安装人员更容易描述上述过程(让TestFlight处理实际安装的详细信息,而不是通过iTunes进行)。 The fact that you have to do a build with an ad-hoc distribution profile is the same.
您必须使用临时分发配置文件进行构建的事实是相同的。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.