반응형

Flutter를 사용하여 MacOS Desktop 애플리케이션 개발 환경을 만드는 방법을 다루고 있습니다. 



2022. 7. 24 최초작성



아래 포스트에 기록한 대로 MacBook M1에 iOS와 Android를 위한 Flutter 개발 환경을 만든 후, 추가로 MacOS Desktop 애플리케이션을 만들기 위해 필요한 작업을 진행해보았습니다. 

 

MacBook M1에 iOS와 Android를 위한 Flutter 개발 환경 만들기

https://webnautes.tistory.com/2027




우선 터미널에서 다음 명령으로 Flutter를 최신 버전으로 업그레이드 후, MacOS Desktop 개발을 활성화합니다.

 

flutter channel dev

flutter upgrade

flutter config --enable-macos-desktop



이제 안드로이드 스튜디오에서 Flutter 프로젝트 생성시  MacOS 선택이 가능해집니다.

 




툴바에서 장치로 macOS (desktop)을 선택한 후, 실행합니다. 

 




다음처럼 실행이 됩니다.

 




콘솔 창에 다음과 같은 메시지가 보이지만 실행은 잘됩니다.  macOS 플랫폼에 해당하는 아키텍처가  arm64와 x86_64 두가지가 있는데 어느쪽을 사용할지 선택안해서 보이는 거 같습니다. 



Building macOS application...

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

objc[64295]: Class AMSupportURLSession is implemented in both /usr/lib/libamsupport.dylib (0x1f95a7690) and /Library/Apple/System/Library/PrivateFrameworks/MobileDevice.framework/Versions/A/MobileDevice (0x107924318). One of the two will be used. Which one is undefined.

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

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

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

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

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

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

--- xcodebuild: WARNING: Using the first of multiple matching destinations:

{ platform:macOS, arch:arm64, id:00008103-000D086A2E39001E }

{ platform:macOS, arch:x86_64, id:00008103-000D086A2E39001E }


반응형

문제 발생시 지나치지 마시고 댓글 남겨주시면 가능한 빨리 답장드립니다.

도움이 되셨다면 토스아이디로 후원해주세요.
https://toss.me/momo2024


제가 쓴 책도 한번 검토해보세요 ^^

+ Recent posts