Я обновил свой xcode до 15.4
Я бегу flutter run
на симуляторе iPhone 15 Pro
pod --version
это 1.15.2
В моем PodFile я добавил
post_install do |installer|
installer.pods_project.targets.each do |target|
flutter_additional_ios_build_settings(target)
target.build_configurations.each do |config|
xcconfig_path = config.base_configuration_reference.real_path
xcconfig = File.read(xcconfig_path)
xcconfig_mod = xcconfig.gsub(/DT_TOOLCHAIN_DIR/, "TOOLCHAIN_DIR")
File.open(xcconfig_path, "w") { |file| file << xcconfig_mod }
end
end
end
ошибку я вижу
Uncategorized (Xcode): Command CodeSign failed with a nonzero exit code
Ни одно из вышеперечисленных решений не решило мою проблему. Произошло следующее: когда я обновил свои версии Mac и Xcode, папка проекта Flutter на моем рабочем столе была сохранена в iCloud Drive. Отключение синхронизации с iCloud решило проблему, и все ошибки исчезли.