M1 Macbook Run simulator

  1. Excluded Architecture中Debug和Release添加Any iOS Simulator SDK属性,添加值arm64并且设置Active Architecture都为YES

  2. Podfile文件添加设置,在指定source源后面(target前添加)添加

    post_install do |installer|
      installer.pods_project.build_configurations.each do |config|
        config.build_settings["EXCLUDED_ARCHS[sdk=iphonesimulator*]"] = "arm64"
      end
    end
    
  3. Excluded Architecture中Debug和Release后面值增加$(inherited),去除pod install警告