Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Signing for "SwiftMessages-SwiftMessages" requires a development team #510

Open
maksirol opened this issue Nov 18, 2022 · 2 comments
Open

Comments

@maksirol
Copy link

I get this error while building with xcode version: 14.0.1. It worked fine with 13.1 version.

error: Signing for "SwiftMessages-SwiftMessages" requires a development team. Select a development team in the Signing & Capabilities editor. (in target 'SwiftMessages-SwiftMessages' from project 'Pods')

In my development environment i just removed additional pod "SwiftMessages-SwiftMessages" and it works. But on build server it pulls pod's from cocoapods, so i cannot remove it manually.

Any advices how to solve it?

@supermnemonic
Copy link

i found a general solution to solve this issue.

https://stackoverflow.com/questions/72561696/xcode-14-needs-selected-development-team-for-pod-bundles

@SunZhiC
Copy link

SunZhiC commented Apr 3, 2023

Work around, this is necessary for Xcode 14, because it signs resource bundles by default, when building for devices.

  installer.target_installation_results.pod_target_installation_results
  .each do |pod_name, target_installation_result|
    target_installation_result.resource_bundle_targets.each do |resource_bundle_target|
      resource_bundle_target.build_configurations.each do |config|
        config.build_settings['CODE_SIGNING_ALLOWED'] = 'NO'
      end
    end
  end

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants