flutter로 ios개발할 때 생겼던 오류
| topics | 501 Flutter 503 Ios |
| references | developer.apple.com/account/resources... |
dvtcoredeviceenabledstate_disabled
dvtcoredeviceenabledstate_disabled set via user default (dvtenablecoredevice=disabled)
xcodebuild: error: unable to find a destination matching the provided destination specifier
검색해보니 최근 fluuter버전서 종종 나타나는 애러라고한다. debug모드로 바꿔서 빌드하면된다. xcode로 빌드할땐 release로 해도 되는 것 같다.
No profiles for 'bundle identity' were fode
https://developer.apple.com/account/resources/identifiers/list
에서 identifier을 추가햇는데 해당 에러가 났다면
apple developer에 디바이스에 나의 기기를 추가하고 휴대폰을 연결하면 에러가 해결된다.
빌드는 잘되나 Archive할때 다음과 같은 에러가 날때
rsync error: some files could not be transferred (code 23) at /AppleInternal/Library/BuildRoots/9e200cfa-7d96-11ed-886f-a23c4f261b56/Library/Caches/com.apple.xbs/Sources/rsync/rsync/main.c(996) [sender=2.6.9]
Command PhaseScriptExecution failed with a nonzero exit code
나의 경우 cocoapods를 최신 버전으로 업데이트하고 종료후 재시작하니 해결되었다.
먼가 갑자기 잘되다가 안될 때
안될때 마다 다음 단계를 거쳤다..
1. XCode의 메뉴에서 product clean build folder를 눌러 빌드 폴더를 정리 후 다시빌드한다
2. User(맥북이름)/Library/Developer/Xcode/DerivedData 파일을 지운다
3. flutter clean을 하고 다시받는다
추후 더 추가예정..