最新消息:20210816 当前crifan.com域名已被污染,为防止失联,请关注(页面右下角的)公众号

[记录]Xcode打包Swift项目程序用于安装到iPhone中

iphone crifan 3197浏览 0评论

要把Swift项目程序用于安装到iPhone中,听说是,打包为ipa,然后安装到iPhone上去

搜:

ios package for iphone install

xcode swift app to iphone

xcode install ipa on iphone

参考:

How to create a application package in iphone? – Stack Overflow

iphone – Install iOS IPA via Xcode with no certificate in keychain and no provisioning profile installed – Stack Overflow

Tips & Techniques: How to install an .ipa file on an iPad or iPhone

Xcode 7 lets anyone install pirated apps, emulators on iPhone

Installing an Ad Hoc Distribution – iPhone How To Docs – Inner Fence

.ipa:developer app -> allow you to test the app on your iPad or iPhone before you send the .zip file to Apple for review. 

.zip: distribution app

install .ipa to iPhone:

One way is to add the .ipa file to your iTunes library on your computer, and then sync your iPad/iPhone with iTunes.

Ad Hoc Distribution:

allows you to try an application before it’s available in the iTunes App Store. This is how we distribute iPhone applications to beta customers.

需要:

如何安装:

拖动.ipa and .mobileprovision到iTunes中的Library(程序)目录中

然后在 应用 中看到自己的程序

然后同步的时候,同步的内容中包含自己的程序 即可:

把iPhone插入到装了iTunes的电脑上,iTunes会自动识别出手机,会显示出手机的图标,然后点击应用,然后点击同步

还是官网解释的清楚:

Exporting Your App for Testing (iOS, tvOS, watchOS)

Maintaining Identifiers, Devices, and Profiles

Registering Individual Devices - Maintaining Identifiers, Devices, and Profiles

步骤:

  • Register all test devices.
  • Archive your app.
  • Export the archive using either an ad hoc provisioning profile or team provisioning profile to code sign your app.
  • Install the app on test devices.
  • Solicit crash reports from testers.

ad hoc provisioning profile

ad hoc:临时的

Member Center:register and add to a provisioning profile

For iOS apps, you can register 100 iPad, 100 iPhone, and 100 iPod Touch devices.

Certificates, Identifiers & Profiles – Apple Developer

iOS Devices – Apple Developer

然后就是填写表格:

然后继续申请即可。

其中上面列出的设备,是之前通过Xcode下载安装调试过程序的iPhone设备。

所以此处自动已经更新,把两个设备加到此处了-》已经自动注册了。

有空可以去试试:

Apple Configuration

还要操心appicon之类的:

Adding Image Sets

Adding an iOS App Icon Set or Launch Image Set

拖动app icon到对应框框内:

[已解决]Xcode中加入app icon后编译出错:warning: Ambiguous Content: AppIcon.appiconset is 98×98 but should be 120×120

[记录]Xcode添加Swift写的iOS的app的启动界面

[记录]Xcode打包压缩app

抽空继续看:

About App Distribution Workflows

转载请注明:在路上 » [记录]Xcode打包Swift项目程序用于安装到iPhone中

发表我的评论
取消评论

表情

Hi,您需要填写昵称和邮箱!

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址
83 queries in 0.173 seconds, using 22.13MB memory