개발하자
iOS 시뮬레이터에서 릴리스 모드로 앱을 실행하는 중 문제 발생 Flooth
Cuire
2023. 5. 5. 11:45
반응형
iOS 시뮬레이터에서 릴리스 모드로 앱을 실행하는 중 문제 발생 Flooth
시뮬레이터에서 더 이상 프로그램을 릴리스 모드로 실행할 수 없습니다. ""를 입력하면 오류 메시지가 표시됩니다. 다른 사람들도 같은 문제를 가지고 있나요?
릴리스 모드는 에뮬레이터를 지원하지 않습니다. 실제 장치를 사용하여 이 문제를 해결합니다. 먼저 USB 케이블을 사용하여 장치를 연결한 다음 실제 장치를 선택합니다:
~/source/third-party/Cruise/ios on master! ⌚ 12:29:28
$ ~/apps/flutter/bin/flutter run --release
Changing current working directory to: /Users/dolphin/source/third-party/Cruise
Multiple devices found:
sdk gphone x86 arm (mobile) • emulator-5554 • android-x86 • Android 11 (API 30) (emulator)
dolphin’s iPad (mobile) • 00008020-000E78C01EC3002E • ios • iOS 14.0
iPhone SE (2nd generation) (mobile) • D233A502-B00B-4FCC-B4D1-91408C88EC81 • ios • com.apple.CoreSimulator.SimRuntime.iOS-14-0 (simulator)
[0]: sdk gphone x86 arm (emulator-554)
[1]: dolphin’s iPad (00002020-000E88C01ECY002E)
[2]: iPhone SE (2nd generation) (D233A502-B00B-4FCC-B4D1-91408C88EC81)
Please choose one: [0|1|2]: 2
Release mode is not supported by iPhone SE (2nd generation).
~/source/third-party/Cruise/ios on master! ⌚ 12:46:01
$ ~/apps/flutter/bin/flutter run --release
Changing current working directory to: /Users/dolphin/source/third-party/Cruise
Multiple devices found:
sdk gphone x86 arm (mobile) • emulator-5554 • android-x86 • Android 11 (API 30) (emulator)
dolphin’s iPad (mobile) • 00008020-000E78C01EC3002E • ios • iOS 14.0
iPhone SE (2nd generation) (mobile) • D233A502-B00B-4FCC-B4D1-91408C88EC81 • ios • com.apple.CoreSimulator.SimRuntime.iOS-14-0 (simulator)
[0]: sdk gphone x86 arm (emulator-5554)
[1]: dolphin’s iPad (00008020-000E78C01EC3002E)
[2]: iPhone SE (2nd generation) (D233A502-B00B-4FCC-B4D1-91408C88EC81)
Please choose one: [0|1|2]: 1
Launching lib/main.dart on dolphin’s iPad in release mode...
Automatically signing iOS for device deployment using specified development team in Xcode project: 6JP4P88ZJB
Running pod install... 2.1s
Running Xcode build...
└─Compiling, linking and signing... 32.7s
Xcode build done. 193.4s
이 문제를 해결하기 위해 xcode에서 실행 스키마의 빌드 구성을 변경할 수 있습니다:
xcode에서 프로젝트 열기
1.) Runner(실행자) 및 Edit Scheme(스킴 편집)을 누릅니다
2.) 실행 스키마의 빌드 구성에 대한 릴리스 선택
나는 똑같은 오류를 겪고 있었고 내 것은 내 아이폰에서 개발자 모드가 활성화되지 않았기 때문이었다.
콘솔에 인쇄된 솔루션:
반응형