- 전체보기
- 상수와 변수
- CocoaPods 설치
- SwiftUI에서 AppDelegate 추가하기
- Multiple commands produce 에러
- NavigationStack iOS 16부터 지원
- 코드 자동 정렬 단축키
- var body: some View 안에서 print 하기
- framework not found GoogleMapsCore 에러
- Untrusted Developer 표시가 난다면
- Cannot find type 'CLLocationCoordinate2D' in scope 에러가 난다면
- VStack 글자 정렬
- AsyncImage 이용해서 외부 이미지 불러와서 보여주기
Swift - Multiple commands produce 에러
조회수: 361
GoogleMapsSwiftUI
Multiple commands produce '/Users/james/Library/Developer/Xcode/DerivedData/GoogleMapsSwiftUI-gbgzmjrqztrxzmdkayuxnfretajn/Build/Products/Debug-iphonesimulator/GoogleMapsSwiftUI.app/GoogleMaps.bundle'
Target 'GoogleMapsSwiftUI' (project 'GoogleMapsSwiftUI') has copy command from '/Users/james/Xcode/maps-ios-swiftui-main/starter/GoogleMapsSwiftUI/GoogleMapsSwiftUI/GoogleMaps.bundle' to '/Users/james/Library/Developer/Xcode/DerivedData/GoogleMapsSwiftUI-gbgzmjrqztrxzmdkayuxnfretajn/Build/Products/Debug-iphonesimulator/GoogleMapsSwiftUI.app/GoogleMaps.bundle'
That command depends on command in Target 'GoogleMapsSwiftUI' (project 'GoogleMapsSwiftUI'): script phase “[CP] Copy Pods Resources”
이렇게 된 에러가 나왔었다.
Target -> Build Phases로 간다.
Copy Bundle Resources에서 하나 삭제하고 Build하면 작동한다.
Multiple commands produce '/Users/james/Library/Developer/Xcode/DerivedData/GoogleMapsSwiftUI-gbgzmjrqztrxzmdkayuxnfretajn/Build/Products/Debug-iphonesimulator/GoogleMapsSwiftUI.app/GoogleMaps.bundle'
Target 'GoogleMapsSwiftUI' (project 'GoogleMapsSwiftUI') has copy command from '/Users/james/Xcode/maps-ios-swiftui-main/starter/GoogleMapsSwiftUI/GoogleMapsSwiftUI/GoogleMaps.bundle' to '/Users/james/Library/Developer/Xcode/DerivedData/GoogleMapsSwiftUI-gbgzmjrqztrxzmdkayuxnfretajn/Build/Products/Debug-iphonesimulator/GoogleMapsSwiftUI.app/GoogleMaps.bundle'
That command depends on command in Target 'GoogleMapsSwiftUI' (project 'GoogleMapsSwiftUI'): script phase “[CP] Copy Pods Resources”
이렇게 된 에러가 나왔었다.
Target -> Build Phases로 간다.
Copy Bundle Resources에서 하나 삭제하고 Build하면 작동한다.