본문 바로가기
카테고리 없음

[Xcode] Missing package product

by daye_ 2024. 4. 15.

 

 

 

 

오류가 떴다.

처음엔 SDK 문제인줄 알았는데 Xcode 오류라고 함

 

 

 

 

File -> Packages -> Reset Package Caches

해주면 해결된다고 하는데 나는 왜 안돼....

 

 

 

 

 

 

 

그래서 다른 예시를 또 찾아봤다.https://forums.developer.apple.com/forums/thread/687275

 

Xcode 13 "Missing package product"… | Apple Developer Forums

In my case, the error occurred because for one of my packages, they moved from using the master branch nomenclature to the main branch nomenclature, and in my project, it was set to the master branch. Changing this fixed all my outstanding issues. Xcode 14

forums.developer.apple.com

 

업데이트 후 XCode를 응용프로그램 폴더 말고 다른 곳에 두어서

이런 오류가 뜬다고 한다.

 

실제로 나도 바탕화면에 위치했기 때문에

응용프로그램 폴더에 옮겨줬는데 안됐음 ㅎ,,

 

 

 

 

 

https://sujinnaljin.medium.com/xcode-deriveddata-삭제하기-b64492ecb4a7

 

[Xcode] DerivedData 삭제하기

Build Clean(⌘ + ⇧ + K)으로 해결이 안된대도 신에게는 아직 하나의 방법이 남아있읍니다..!

sujinnaljin.medium.com

마지막으로 다음과 같이 DrivedData 삭제 후

 

 

 

 

Mac 다시 시동

XCode 껐다 켜기

Clean Build Folder

Reset Package Cache

 

 

 

 

해주니까 됐음!!