我会礼貌地谈论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次,没有结果。
这是什么魔术?
任何帮助表示赞赏。谢谢
因此Jenkins
一直在buildagent用户下运行,但是未找到配置文件。
我
/buildagent/Library/MobileDevice/ProvisioningProfiles/
在根文件夹-中创建了指向我的符号链接/Library/
。
那解决了我的问题
本文收集自互联网,转载请注明来源。
如有侵权,请联系 [email protected] 删除。
我来说两句