简体   繁体   English

在没有用户查看源代码的情况下发送iPhone应用程序

[英]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应用程序

  1. 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的“配置文件”部分中创建“临时配置文件”。

  2. In Xcode, make sure you set your build destination to "iOS Device" 在Xcode中,确保将构建目标设置为“ iOS设备”

  3. In Xcode, click Product->Archive. 在Xcode中,单击产品->存档。 The organizer window should pop up. 组织者窗口应弹出。 If the Archives tap isn't selected, select it. 如果未选择“存档”水龙头,请选择它。

  4. Click "Distribute". 点击“分发”。

  5. Select "Save for Enterprise or Ad Hoc Deployment. Click next. 选择“保存用于企业或临时部署。单击下一步。

  6. 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配置文件,然后单击“导出”。

  7. 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。

Here is a post about how to make one: 这是有关如何制作一个的帖子:

您必须创建该应用程序的临时版本,并将.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.

相关问题 用户可以在iphone或android的html 5应用程序中查看js调用的来源吗? - Can a user see the source of a js call in an html 5 app for iphone or android? 向特定Google用户发送FCM消息而无需安装应用程序? - Send FCM message to specific Google user without need to install an app? 在没有用户交互的情况下从 Flutter 应用程序发送短信? - Send SMS from Flutter app without user interaction? 如何检测用户是否正在查看我的应用(Android) - How to detect if the User is looking at my app (Android) 无需下载完整代码即可轻松查看Android源代码 - Easy looking at Android source code without downloading full code 发送电子邮件而无需用户干预 - Send emails without user interaction Android-发送电子邮件而无需用户按SEND - Android - Send email without user press SEND 通过我的android应用直接将文件发送到我的Dropbox空间,而无需用户登录 - Send files directly to my Dropbox space through my android app, without asking the user to log in 如何在应用程序中使用用户的电子邮件ID发送电子邮件(无目的) - How to send email using user's email ID from within the app (Without Intent) Android-如何在用户注册或登录后不重新启动App的情况下将注册ID发送到服务器 - Android - How to send registration ID to server once user signs up or logins without restarting App
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM