Unfortunately, you need to assign a development team to each and every Pod target. But that’s no longer the case in Xcode 14. Xcode 13 used to automatically set CODE_SIGNING_ALLOWED to NO by default for resource bundles. If you’re using fastlane, then you may be able to solve the issue by adding xcargs "CODE_SIGN_STYLE=Manual" to Gymfile. So, if you are using Codemagic, pass the arguments as xcargs in the xcode-project build-ipa command: xcode-project build-ipa -project "$XCODE_PROJECT" -scheme "$XCODE_SCHEME -archive-xcargs "CODE_SIGN_STYLE=Manual DEVELOPMENT_TEAM=" Xcode 14 tries to code sign resource package bundles, but this is not supported.Ī solution suggested by an Apple engineer is to pass CODE_SIGN_STYLE=Manual as an argument when building the IPA. These errors may come from packages or local packages that have a resources bundle. Select a development team in the Signing & Capabilities editor. It works fine for Xcode 13 if you run it via a CLI, but running the same archive xcodebuild command on Xcode 14 throws an error similar to this: spm-bundle-sign-package_TargetWithResources requires a development team. The first dependency manager in which this code signing problem occurs is the Swift Package Manager. Swift Package Manager code signing issues If you’re new to iOS code signing, read this guide.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |