본문 바로가기
Flutter

[Flutter / Error] M1 Mac : flutter build ios 에러

by hymndaniel 2022. 4. 14.

1.Target Integrity (Xcode): The linked framework 'Pods_Runner.framework' is missing one or more architectures required by this target: armv7. /Users/daniel/StudioProjects/ai_farm_monitoring/ios/Runner.xcodeproj

 

beepeach 님 블로그 참조

https://beepeach.tistory.com/458

 

Xcode - The linked framework ~~ is missing one ore more architectures required by this target: arm64

이 에러는 프로젝트를 Intel맥에서 생성하고 M1맥에서 실행하면 발생하는 문제인 거 같습니다. 해결 방법은 Build Settings을 추가시켜주면 끝! 1. Target -> Build Settings로 이동합니다. 2. +를 클릭한 후 A..

beepeach.tistory.com

 

2. objc[84843]: Class AMSupportURLConnectionDelegate is implemented in both /usr/lib/libauthinstall.dylib (0x1dd09ab90) and /Library/Apple/System/Library/PrivateFrameworks/MobileDevice.framework/Versions/A/MobileDevice (0x1042682c8). One of the two will be used. Which one is undefined.

 

해결방법

해당 프로젝트 디렉토리에서

flutter clean
flutter pub get
cd ios
pod install
cd ..
flutter build ios

 

728x90