문제 발생 과정
Xcode를 15.0 으로 업데이트 하고, iOS 17.0 Simulator 를 설치한 뒤 (설치를 안하면 실행 자체가 안되서), Android Studio 에서 앱을 실행 시켰더니, 아래와 같은 처음보는 에러가 발생하였다.
문제 해결
검색해보니, 대부분 Xcode를 업데이트 하면서 생기는 에러였던 것 같았다.
{Project 폴더}/ios/ 디렉토리에 있는 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
'Language > etc.' 카테고리의 다른 글
[Obsidian] 플러그인을 개발해보자 (0) | 2024.03.15 |
---|