기록중

11월 27일 끄적끄적

lian_is_clone 2023. 11. 27. 18:08

- 아이폰 업데이트 후 

Could not run build/ios/iphoneos/Runner.app on #code.
Try launching Xcode and selecting "Product > Run" to fix the problem:
  open ios/Runner.xcworkspace

Error launching application on myApp.

 

에러 

옵션 -> 개발자 -> 신뢰할수있는 기기 제거 -> 신뢰팝업 클릭

미해결

 

mac book update / xcode update / setting  -> xcode update

 

맥북 업데이트 엡스토어에서 xcode 업데이트 셋팅에서 xcode 업데이트

하였다.

 

그래도 에러

 

Could not build the precompiled application for the device.
Uncategorized (Xcode): Unable to find a destination matching the provided destination specifier:
{ id:00000001-001A0B0C0AB0000C }

Ineligible destinations for the "Runner" scheme:
{ platform:iOS, id:dvtdevice-DVTiPhonePlaceholder-iphoneos:placeholder, name:Any iOS Device, error:iOS 17.0 is not installed. To use with Xcode, first download and install the platform }

════════════════════════════════════════════════════════════════════════════════
iOS 17.0 is not installed. To download and install the platform, open
Xcode, select Xcode > Settings > Platforms, and click the GET button for the
required platform.

For more information, please visit:
  https://developer.apple.com/documentation/xcode/installing-additional-simulator-runtimes
════════════════════════════════════════════════════════════════════════════════

Error launching application on a_jennerbio.

 

 

빌드를 해보았다.

 

Uncategorized (Xcode): Unable to find a destination matching the provided destination specifier:
                { generic:1, platform:iOS }

        Ineligible destinations for the "Runner" scheme:
                { platform:iOS, id:dvtdevice-DVTiPhonePlaceholder-iphoneos:placeholder, name:Any iOS Device, error:iOS 17.0 is not installed. To use with Xcode, first download and install the platform }


════════════════════════════════════════════════════════════════════════════════
iOS 17.0 is not installed. To download and install the platform, open
Xcode, select Xcode > Settings > Platforms, and click the GET button for the
required platform.

For more information, please visit:
  https://developer.apple.com/documentation/xcode/installing-additional-simulator-runtimes
════════════════════════════════════════════════════════════════════════════════
Encountered error while building for device.

이번엔 이런에러...

 

 

뭔지 모르겠지만 해결

 

ios > Prod 폴더 삭제 /  ios > Podfile.lock 파일 삭제 /  app > pubspec.lock 파일 삭제

이후

flutter clean  ->  flutter pub get  ->  pod install  -> 에러 

 

에러 문구를 보니 pod repo update  을 하랜다 

 

이후 다시 pod install 이상없이 잘됨

 

그리고 맥북 재시작 

그리고 flutter build ios  붐 ~ 이상없이 업로드 완료...

뭐지.... ios 오류... 맥북 변경도 안했었는데 오류났었고 

허헛...

 

 

"String 공백 제거".code!.replaceAll(RegExp('\\s'), "");