我会尽量成为礼貌谈论xCode
。找不到xcodebuild配置文件?
问题:
我们更新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
嗨Injectios,你如何解决它。我遇到了和你一样的人。 – ycwjjjj