找不到xcodebuild配置文件?

注射剂

我会礼貌地谈论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所有内容时,一切都很好,在内部ipaembedded.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] 删除。

编辑于
0

我来说两句

0 条评论
登录 后参与评论

相关文章