728x90
에러
iOS 빌드 중 발생한 에러
[!] Unable to find a target named 'RunnerTests' in project 'Runner xcodeproj,
did find Runner'.
'Runner xcodeproj' 프로젝트에서 'Runner'는 찾았고, 'RunnerTests'라는 대상을 찾을 수 없다고 한다.
Podfile을 확인해 보면
project 'Runner', {
'Debug' => :debug,
'Profile' => :release,
'Release' => :release,
}
상단에는 'Runner' 프로젝트가 있지만, 'RunnerTests' 프로젝트는 없음을 확인할 수 있다.
그런데 하단에 보면 'RunnerTests' 를 타겟으로 잡고 있는 코드가 있다.
target 'RunnerTests' do
inherit! :search_paths
end
이 부분을 주석 또는 제거해주면 된다.
#target 'RunnerTests' do
# inherit! :search_paths
#end
[참고]
Unable to find a target named `RunnerTests` in project `Runner.xcodeproj`
I have hackintosh on my HP laptop. I'm trying to run a flutter app on the iOS simulator but it's giving me this error: [!] Unable to find a target named `RunnerTests` in project `Runner.xcodeproj`,...
stackoverflow.com
728x90
'Flutter' 카테고리의 다른 글
[Flutter]SocketException: Connection refused (0) | 2024.03.23 |
---|---|
[Flutter]image picker로 프로필 화면 만들기 (0) | 2024.03.20 |
[Flutter][해결]build runner 에러 (0) | 2024.03.10 |
[Flutter][해결]Android 실행 시 에러(Migration하기) (0) | 2024.03.10 |
[Flutter]플러터 업그레이드(강제 업그레이드) (0) | 2024.03.09 |