CocoaPod config to solve XCode 14, iOS16 Requires a development team. Select a development team in the Signing & Capabilities editor

Viewed 34

In my project i have different targets, signed with different entities

in Xcode 14, some of the pods require signing, and however i could assign a signing team manually, it differs from target to target

How to configure cocoapods to sign the dependency, with the targets signing?

i found how to disable the signing for dependencies completely (putting the bellow into the Podfile), but this is not what i want (even it compiles), as i want to have it signed to fulfill Apples expectations

post_install do |installer|
    installer.pods_project.targets.each do |target|
      target.build_configurations.each do |config|
        config.build_settings['EXPANDED_CODE_SIGN_IDENTITY'] = ""
        config.build_settings['CODE_SIGNING_REQUIRED'] = "NO"
        config.build_settings['CODE_SIGNING_ALLOWED'] = "NO"
       end
    end
  end
0 Answers
Related