uniquejava / blog

My notes regarding the vibrating frontend :boom and the plain old java :rofl.
Creative Commons Zero v1.0 Universal
11 stars 5 forks source link

ios打包 #235

Open uniquejava opened 6 years ago

uniquejava commented 6 years ago

https://stackoverflow.com/questions/18642302/cant-install-enterprise-app-to-devices-with-unregistered-uuids

https://stackoverflow.com/questions/33126849/xcode-7-app-installation-failed-a-valid-provisioning-profile-for-this-executab

Product > Archive (会打开一个窗口, 通过Window > Organizer也能调出来) 有4种方式 2) adhoc 账号必须是paid或者enterprise member也必须是admin权限 4) development 这个目标device必须在developer account中注册过.

安装

如果是iTunes12.6, 直接将ipa拖到Apps分类下. 最新版, 安装xcode, 在window > devices and simulators中, 将ipa拖到INSTALLED APPLICATIONS区域.

查看Apple Developer Account Team ID的两种方式

  1. https://developer.apple.com/account/#/membership
  2. Your developer and distribution certificates have your Team ID in them.

    Applications -> Utilities -> Keychain Access -> 'login' Keychain -> Certificates ->iPhone Distribution: Team Name (YOUR_TEAM_ID) or iPhone Developer: Team Name (YOUR_TEAM_ID)