Home > Blockchain >  Xcode 14 needs selected Development Team for Pod Bundles
Xcode 14 needs selected Development Team for Pod Bundles

Time:06-14

Build Error

Both Projects won't build with the Xcode 14 beta because of no selected Development Team. Both times it's the target with the blue lego icon (Bundles I suppose?). It seems that in earlier versions of Xcode the Team also wasn't set but it hasn't lead to a build error. Would it be wrong to select my own development team here?

CodePudding user response:

This post_install script in podfile fixed it. As it seems setting the own developer team is necessary. Replace Your Team ID with the TeamID of your project.

post_install do |installer|
  installer.generated_projects.each do |project|
    project.targets.each do |target|
        target.build_configurations.each do |config|
            config.build_settings["DEVELOPMENT_TEAM"] = "Your Team ID"
         end
    end
  end
end
  • Related