简体   繁体   English

无法刷新配置文件

[英]Can not refresh provisioning profiles

Why I can not refresh provisioning profiles? 为什么我不能刷新配置文件?

I try doing it with: 我尝试这样做:

Xcode->Preferences->Accounts->Provisioning profiles-> Press refresh button Xcode->首选项->帐户->配置文件->按刷新按钮

But got message: "The data couldn't be read because it isn't in the correct format." 但收到消息:“由于格式不正确,无法读取数据。”

It is happening after updating my Mac OS to 10.9.3 将我的Mac OS更新到10.9.3之后,这种情况发生了

On one of my app's project I ran this command on the terminal in my app directory 在我的一个应用程序项目中,我在我的应用程序目录中的终端上运行了此命令

plutil file-name.plist plutil文件名.plist

Assuming file-name is the name of your apps's .plist. 假设文件名是应用程序.plist的名称。 This command cleans your .plist and formats it in the correct format. 此命令清除您的.plist并将其格式化为正确的格式。

After that I was able to generate and refresh my provisional profiles within Xcode. 之后,我能够在Xcode中生成并刷新我的临时配置文件。

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

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