简体   繁体   English

生成.app文件并安装在设备上

[英]Generate .app file and install on a device

I try to install my .app file, but when I install and click on Synchronize (in iTunes) I get the circle of installation beginning on my device and it stop, they're a problem, I don't know where but I see strange things that I can't fix: 我尝试安装.app文件,但是当我安装并单击“同步”(在iTunes中)时,我的设备开始安装,然后停止,这是一个问题,我不知道在哪里,但是我看到了我无法解决的奇怪的事情:

在此处输入图片说明 在此处输入图片说明

Seems to be you don't have provisioning profile install in Xcode with device UDID added in profile.create development certificate from developer account add UDID in provisioning profile install on device(In Xcode code signing ). 似乎您没有在配置文件中添加设备UDID的Xcode中安装配置文件。从开发人员帐户创建开发证书,在设备上的配置文件安装中添加UDID(在Xcode代码签名中)。

first create Development Certificate 首先创建开发证书

->add APP ID in developer account ->在开发者帐户中添加APP ID

->Add Device UDID ->添加设备UDID

->Create Provisioning profile-> ->创建配置文件->

-> Set in Xcode(Code Signing identity) ->在Xcode中设置(代码签名身份)

->Run app on Device. ->在设备上运行应用程序。

In itunes you just can install .ipa file. 在iTunes中,您只能安装.ipa文件。 (You must have a provisioning profile for distribution with your device registered) (您必须具有provisioning profile for distribution在注册了设备的provisioning profile for distribution

For register your account: Apple Developer Program . 要注册您的帐户: Apple Developer Program It costs $ 99 a year. 每年花费$ 99。

When you have the Dev Account create your provisioning profile and export and install 拥有开发人员帐户后,请创建您的配置文件,然后导出并安装

If you want install .app file in simulator, let me know and I share code with you here. 如果您想在模拟器中安装.app文件,请告诉我,我在这里与您共享代码。

If your using Xcode 7.1.x now, you should be able to distribute your app to your local device without having to spend the annual $100 bucks. 如果您现在使用Xcode 7.1.x,则应该可以将应用分发到本地设备,而不必每年花费100美元。 This feature was recently added to Xcode 7.x series. 此功能最近添加到Xcode 7.x系列。

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

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