Failed to build iOS app
Could not build the precompiled application for the device.
Error (Xcode): Cycle inside Runner; building could produce unreliable results.
Cycle details:
→ Target 'Runner': CodeSign /Users/nayakim/Documents/naya/program/me/mobile/webview_flutter_onlyweb_kt/build/ios/Debug-iphoneos/Runner.app
○ That command depends on command in Target 'Runner': script phase “[CP] Embed Pods Frameworks”
○ That command depends on command in Target 'Runner': script phase “Thin Binary”
○ Target 'Runner' has process command with output '/Users/nayakim/Documents/naya/program/me/mobile/webview_flutter_onlyweb_kt/build/ios/Debug-iphoneos/Runner.app/Info.plist'
○ Target 'Runner' has copy command from '/Users/nayakim/Documents/naya/program/me/mobile/webview_flutter_onlyweb_kt/build/ios/Debug-iphoneos/MyWidgetExtension.appex' to '/Users/nayakim/Documents/naya/program/me/mobile/webview_flutter_onlyweb_kt/build/ios/Debug-iphoneos/Runner.app/PlugIns/MyWidgetExtension.appex'
Raw dependency cycle trace:
target: ->
node: <all> ->
command: <all> ->
node: /Users/nayakim/Documents/naya/program/me/mobile/webview_flutter_onlyweb_kt/build/ios/Debug-iphoneos/Runner.app/_CodeSignature ->
command: P0:target-Runner-18c1723432283e0cc55f10a6dcfd9e0288a783a885d8b0b3beb2e9f90bde3f49-:Debug:CodeSign /Users/nayakim/Documents/naya/program/me/mobile/webview_flutter_onlyweb_kt/build/ios/Debug-iphoneos/Runner.app ->
node: /Users/nayakim/Documents/naya/program/me/mobile/webview_flutter_onlyweb_kt/build/ios/Debug-iphoneos/Runner.app/Frameworks/Dynatrace.framework/ ->
directoryTreeSignature: � ->
directoryContents: /Users/nayakim/Documents/naya/program/me/mobile/webview_flutter_onlyweb_kt/build/ios/Debug-iphoneos/Runner.app/Frameworks/Dynatrace.framework ->
CYCLE POINT ->
node: /Users/nayakim/Documents/naya/program/me/mobile/webview_flutter_onlyweb_kt/build/ios/Debug-iphoneos/Runner.app/Frameworks/Dynatrace.framework ->
command: P2:target-Runner-18c1723432283e0cc55f10a6dcfd9e0288a783a885d8b0b3beb2e9f90bde3f49-:Debug:PhaseScriptExecution [CP] Embed Pods Frameworks /Users/nayakim/Library/Developer/Xcode/DerivedData/Runner-cbfuqmcnigwurvglhbtljurajczy/Build/Intermediates.noindex/Runner.build/Debug-iphoneos/Runner.build/Script-AEAB7901A3931ABAC13A676E.sh ->
node: /Users/nayakim/Library/Developer/Xcode/DerivedData/Runner-cbfuqmcnigwurvglhbtljurajczy/Build/Intermediates.noindex/Runner.build/Debug-iphoneos/Runner.build/InputFileList-AEAB7901A3931ABAC13A676E-Pods-Runner-frameworks-Debug-input-files-f7121498aad61765d5dd51274d296d40-resolved.xcfilelist ->
command: P2:target-Runner-18c1723432283e0cc55f10a6dcfd9e0288a783a885d8b0b3beb2e9f90bde3f49-:Debug:WriteAuxiliaryFile /Users/nayakim/Library/Developer/Xcode/DerivedData/Runner-cbfuqmcnigwurvglhbtljurajczy/Build/Intermediates.noindex/Runner.build/Debug-iphoneos/Runner.build/InputFileList-AEAB7901A3931ABAC13A676E-Pods-Runner-frameworks-Debug-input-files-f7121498aad61765d5dd51274d296d40-resolved.xcfilelist ->
node: <target-Runner-18c1723432283e0cc55f10a6dcfd9e0288a783a885d8b0b3beb2e9f90bde3f49--fused-phase4-thin-binary> ->
command: P0:::Gate target-Runner-18c1723432283e0cc55f10a6dcfd9e0288a783a885d8b0b3beb2e9f90bde3f49--fused-phase4-thin-binary ->
node: <execute-shell-script-18c1723432283e0cc55f10a6dcfd9e02f1eee2015e8ff5ebcd27678f788c2826-target-Runner-18c1723432283e0cc55f10a6dcfd9e0288a783a885d8b0b3beb2e9f90bde3f49-> ->
command: P2:target-Runner-18c1723432283e0cc55f10a6dcfd9e0288a783a885d8b0b3beb2e9f90bde3f49-:Debug:PhaseScriptExecution Thin Binary /Users/nayakim/Library/Developer/Xcode/DerivedData/Runner-cbfuqmcnigwurvglhbtljurajczy/Build/Intermediates.noindex/Runner.build/Debug-iphoneos/Runner.build/Script-3B06AD1E1E4923F5004D2608.sh ->
node: /Users/nayakim/Documents/naya/program/me/mobile/webview_flutter_onlyweb_kt/build/ios/Debug-iphoneos/Runner.app/Info.plist/ ->
directoryTreeSignature: y ->
directoryContents: /Users/nayakim/Documents/naya/program/me/mobile/webview_flutter_onlyweb_kt/build/ios/Debug-iphoneos/Runner.app/Info.plist ->
node: /Users/nayakim/Documents/naya/program/me/mobile/webview_flutter_onlyweb_kt/build/ios/Debug-iphoneos/Runner.app/Info.plist ->
command: P0:target-Runner-18c1723432283e0cc55f10a6dcfd9e0288a783a885d8b0b3beb2e9f90bde3f49-:Debug:ProcessInfoPlistFile /Users/nayakim/Documents/naya/program/me/mobile/webview_flutter_onlyweb_kt/build/ios/Debug-iphoneos/Runner.app/Info.plist /Users/nayakim/Documents/naya/program/me/mobile/webview_flutter_onlyweb_kt/ios/Runner/Info.plist ->
node: /Users/nayakim/Documents/naya/program/me/mobile/webview_flutter_onlyweb_kt/build/ios/Debug-iphoneos/Runner.app/PlugIns/MyWidgetExtension.appex ->
command: P0:target-Runner-18c1723432283e0cc55f10a6dcfd9e0288a783a885d8b0b3beb2e9f90bde3f49-:Debug:Copy /Users/nayakim/Documents/naya/program/me/mobile/webview_flutter_onlyweb_kt/build/ios/Debug-iphoneos/Runner.app/PlugIns/MyWidgetExtension.appex /Users/nayakim/Documents/naya/program/me/mobile/webview_flutter_onlyweb_kt/build/ios/Debug-iphoneos/MyWidgetExtension.appex ->
node: <target-Runner-18c1723432283e0cc55f10a6dcfd9e0288a783a885d8b0b3beb2e9f90bde3f49--fused-phase5--cp--embed-pods-frameworks> ->
command: P0:::Gate target-Runner-18c1723432283e0cc55f10a6dcfd9e0288a783a885d8b0b3beb2e9f90bde3f49--fused-phase5--cp--embed-pods-frameworks ->
node: /Users/nayakim/Documents/naya/program/me/mobile/webview_flutter_onlyweb_kt/build/ios/Debug-iphoneos/Runner.app/Frameworks/Dynatrace.framework
Error launching application on iPhone.
해결방법
클린 빌드 (Clean Build):
- Xcode에서 Product 메뉴로 이동한 다음, Clean Build Folder를 선택합니다.
안됨
flutter 프로젝트에서 xcode 실행
$ open ios/Runner.xcworkspace 실행후
아래 그림같이 드래그 하여 위치 변경후 다시 빌드
아이폰 : 앱을 확인할수 없음
일반 > 프로파일 및 기기관리
이슈
iOS 최소 15이상 되야 webview 실행된다.
'프로그래밍 > flutter' 카테고리의 다른 글
[flutter] 안드로이드 apk 만들기 (0) | 2024.03.21 |
---|---|
[flutter] home_widget 0.4.0 이용하여 iOS 홈위젯 생성 방법 (1) | 2023.12.07 |
[flutter] Flutter에서 홈 화면 앱 위젯 웹뷰 메뉴 바로가기 방법 (안드로이드) (0) | 2023.11.14 |
[flutter] Flutter에서 홈 화면 앱 위젯 2개 만드는 방법 (안드로이드) (0) | 2023.10.25 |
[flutter] 인터넷에서 데이터 가져오기 GET/POST (fetch) (0) | 2023.10.25 |