728x90
🐛
Xcode 14.3 에러 #1
Could not build the precompiled application for the device.
Error (Xcode): File not found: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/arc/libarclite_iphoneos.a
Error (Xcode): Linker command failed with exit code 1 (use -v to see invocation)
해결 #1
ios/Podfile에 아래와 같은 코드를 추가했습니다.
(추가할 위치 파악을 위해, 기존 코드도 포함)
post_install do |installer|
installer.generated_projects.each do |project|
project.targets.each do |target|
target.build_configurations.each do |config|
config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '11.0'
end
end
end
installer.pods_project.targets.each do |target|
flutter_additional_ios_build_settings(target)
end
end
(아래는 코드 추가한 부분 이미지)
에러 #2
Command PhaseScriptExecution failed with a nonzero exit code
해결 #2
ios/Pods/Target Support Files/Pods-Runner/Pods-Runner-frameworks.sh 파일에서 아래 코드를 찾아 수정했습니다.
# 변경 전
source="$(readlink "${source}")"
# 변경 후
source="$(readlink -f "${source}")"
(아래는 코드 추가한 부분 이미지)
📌
728x90
'액티브 스킬 > 플러터' 카테고리의 다른 글
<플러터> pubspec.yaml (0) | 2023.09.14 |
---|---|
<플러터> 패키지 사용시 앨범명 등 한글화하기 (0) | 2023.04.09 |
<플러터: Xcode> The operation couldn’t be completed. (AppThinning.StubError error 1.) (0) | 2023.04.04 |
<플러터> 드래그 또는 터치로 뒤집히는 카드 위젯 만들기 (0) | 2023.03.19 |
<플러터> 갤러리 사진의 gps 정보가 null 또는 0.0과 같이 제대로 넘어오지 않을 때 (0) | 2023.03.05 |