简体   繁体   English

无法更新配置文件

[英]Cannot update provisioning profile

A team member needed to register her device so I added her device to Devices section of Apple Dev Portal. 团队成员需要注册她的设备,因此我将她的设备添加到Apple Dev Portal的“设备”部分。 I then created a new ad hoc provisioning profile that includes her device and finally deleted the old provisioning profile. 然后,我创建了一个新的临时配置文件,其中包括她的设备,最后删除了旧的配置文件。 But XCode doesn't seem to see this new provisioning profile: 但是XCode似乎看不到这个新的配置文件: 在此处输入图片说明

To ensure that Apple is using the latest profile I did this: 为了确保Apple使用最新的配置文件,我这样做:

rm -rF /Users/etayluz/Library/MobileDevice/Provisioning\ Profiles/

And when I try to build Xcode errors out: 当我尝试构建Xcode错误时:

error: Build input file cannot be found: '~/Library/MobileDevice/Provisioning Profiles/dab00c70-5073-403b-ae60-e337afeee7fc.mobileprovision'

How do I get Xcode to use the new ad hoc provisioning profile? 如何获得Xcode以使用新的临时配置文件?

I also clicked on "Download Manual Profiles" in Preferences->Accounts - and that does fetch the new profile that I've created - but Xcode is being stupid and still demanding to use the older profile. 我还单击了“首选项”->“帐户”中的“下载手动配置文件”-确实会获取我创建的新配置文件-但是Xcode很愚蠢,仍然要求使用旧的配置文件。 How do I get Xcode to point and start looking for new profile? 如何使Xcode指向并开始寻找新的配置文件?

  1. Go to ~/Library/MobileDevice/Provisioning\\ Profiles/ and delete all the provisioning profiles from there. 转到〜/ Library / MobileDevice / Provisioning \\ Profiles /,然后从那里删除所有配置文件。
  2. Go to XCode > Preferences > Accounts and select the Apple Id. 转到XCode>首选项>帐户,然后选择Apple ID。
  3. Click Download All Profiles. 单击下载所有配置文件。 And it will download all the provisioning profiles again. 它将再次下载所有配置文件。

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

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