【flutter】Error (Xcode): Signing

2022-10-14  本文已影响0人  朱慢慢

Solution 1: add Team ID in your PodFile
To Solve Requires a development team. Select a development team in the Signing & Capabilities editor Error You need to change Your Pod file. First of all, open your pod file and then paste the following code at the end of your pod file. And then Open Your Developer.Apple.com and find your team ID and then add Team ID in the podfile.

post_install do |installer|
  installer.pods_project.targets.each do |target|
    target.build_configurations.each do |config|
      if config.build_settings['WRAPPER_EXTENSION'] == 'bundle'
        config.build_settings['DEVELOPMENT_TEAM'] = 'YOUR_DEVELOPMENT_TEAM_ID'
      end
    end
  end
end
上一篇下一篇

猜你喜欢

热点阅读