更新时间:2023-01-01 16:26:26
我们开始拥有更新我们的Apple开发者会员资格后出现此问题。我通过Apple网站删除了iOS Provisioning Profiles并生成了新的。我还重置了我的XCode缓存数据:
We started to have this problem after renewing our apple developer membership. I fixed by deleting the iOS Provisioning Profiles through the apple website and generated new ones. I've also resetted my XCode cached data:
rm -rf "$(getconf DARWIN_USER_CACHE_DIR)/org.llvm.clang/ModuleCache"
rm -rf ~/Library/Developer/Xcode/DerivedData
rm -rf ~/Library/Caches/com.apple.dt.Xcode
defaults delete com.apple.dt.Xcode
我还删除了 / Users /<的所有缓存配置文件; user> / Library / MobileDevice / Provisioning Profiles
然后我打开 XCode>查看详细信息>下载所有
以下载新配置文件并分发新版本。它从那时开始起作用。
Then I opened XCode > View details > Download all
to download the new profiles and distributed a new build. It worked from then onwards.