【发布时间】:2016-10-03 13:33:04
【问题描述】:
我会尽量礼貌谈论xCode。
问题:
我们更新了provisioning profiles,因为之前的已经过期了。
现在我可以从xCode 存档/构建,但不能使用xcodebuild(必须相同)
我什么都做了:
- 删除、添加配置文件、重新创建...
- 正在重新安装...正在重新启动...
- 删除帐户,添加回来等等
sudo xcodebuild -scheme nl.xxx.demo.iphone -workspace xxx.xcworkspace clean build
错误:
=== BUILD TARGET xxxWatchAppDemo Extension OF PROJECT xxx WITH CONFIGURATION Debug ===
Check dependencies
Code Sign error: No provisioning profiles found: No non–expired provisioning profiles were found.
但是当我通过xCode 归档或构建时,一切都很好,在ipa 内部,embedded.mobileprovision 实际上是我们的新mobileprovision,UUID 为d9179316-6950-4369-94dc-b7d71bba25a1
如果我明确设置配置文件 - 它不会成功:
sudo xcodebuild -scheme nl.xxx.demo.iphone -workspace xxx.xcworkspace archive PROVISIONING_PROFILE=d9179316-6950-4369-94dc-b7d71bba25a1
错误
Code Sign error: No matching provisioning profile found: Your build settings specify a provisioning profile with the UUID “d9179316-6950-4369-94dc-b7d71bba25a1”, however, no such provisioning profile was found.
没有找到???真的吗?
我检查了/Users/xxx/Library/.../Provisioning Profiles/...,它就在那里。
我删了,加了,重复了10次,没有结果。
这是什么魔法?
任何帮助表示赞赏。 谢谢
【问题讨论】:
-
1.您是否安装了多个版本的 Xcode? 2. 能否请您发布 xcodebuild -version 的结果?
-
问题已解决,谢谢
-
您好 Injectios,您是如何解决的。我遇到的和你一样。
-
@ycwjjjj 你解决过这个问题吗?
标签: ios xcode7 provisioning-profile xcodebuild ios-provisioning