- Total
꿈꾸는리버리
[Error] SPM 설치 중 체크박스가 누락 -> 수동 삭제하기 본문
🔧 문제 상황
Firebase 넣으려고 하는데 세부 패키지 선택을 할 수 없게 바껴 있었다.
UI가 변경된 건가 했지만, 그건 또 아니더라구요?
🌟 문제 해결
우선 여기서 선택하지 않을 SPM들의 <Add to Target> 영역은 None으로 체크한 후 Add Packages 버튼을 누른다.
그리고 타겟의 Frameworks, Libraries, and Embeded Content에서 제대로 들어갔는지, 원하지 않은 애가 들어간 건 아닌지 확인하고, 만약 원하지 않는 Content가 추가되었다면 수동으로 삭제한다.
애플 포럼에서 보니까 나랑 비슷한 문제를 겪고 있는 사람들이 꽤 있었다. 나는 Target 선택할 때 원하지 않는 애를 None으로 하니까 대부분 잘 작동하기는 했는데 제대로 안 될 때도 꽤 있었음... ^_^
참고
https://developer.apple.com/forums/thread/737817
Installing Dependencies Package is… | Apple Developer Forums
this is a bug that's been around for so long, and it's a bad look on apple to not fix it. here's likely what happened. a dev was running a test and temporarily disabled the checkboxes, and then never enabled it. and we've been complaining for years. and ap
developer.apple.com
https://stackoverflow.com/questions/77448599/cant-select-needed-packages-in-xcode-15
Can't select needed packages in Xcode 15
Why can't I select only the packages that I need in Xcode 15, when I add dependencies with Swift Package Manager? For example, I want to install Firebase, but I don't need all of those dependencies...
stackoverflow.com
'오뚝이 개발자 > SwiftUI' 카테고리의 다른 글
[Animation 뚜까파기 1] Animation의 기초 (3) | 2024.11.10 |
---|---|
[인앱 결제하기 4] 구독 결제 구현하기 (7) | 2024.10.20 |
[iCloudKit 시리즈 4] 나도 백엔드 있다 - iCloud Noti 알아보기 (1) | 2024.10.01 |
[iCloudKit 시리즈 3] 나도 백엔드 있다 - Coredata -> iCloud로 변경하기 (0) | 2024.10.01 |
[iCloudKit 시리즈 2.2] 나도 백엔드 있다 - 이미지, 비디오, 오디오 CRUD하기 (0) | 2024.10.01 |