diff --git a/Example/Example.xcodeproj/project.xcworkspace/contents.xcworkspacedata b/Example/Example.xcodeproj/project.xcworkspace/contents.xcworkspacedata index 55dc151a8..919434a62 100644 --- a/Example/Example.xcodeproj/project.xcworkspace/contents.xcworkspacedata +++ b/Example/Example.xcodeproj/project.xcworkspace/contents.xcworkspacedata @@ -2,6 +2,6 @@ + location = "self:"> diff --git a/Package.swift b/Package.swift index 8778452b4..84d9ed552 100644 --- a/Package.swift +++ b/Package.swift @@ -316,7 +316,7 @@ let package = Package( dependencies: [ "GrowingTrackerCore", "GrowingService_WebSocket", - "GrowingService_Screenshot", + .target(name: "GrowingService_Screenshot", condition: .when(platforms: [.iOS])), ], path: "Modules/MobileDebugger", cSettings: [ @@ -328,8 +328,8 @@ let package = Package( dependencies: [ "GrowingAutotrackerCore", "GrowingService_WebSocket", - "GrowingService_Screenshot", - "GrowingModule_Hybrid", + .target(name: "GrowingService_Screenshot", condition: .when(platforms: [.iOS])), + .target(name: "GrowingModule_Hybrid", condition: .when(platforms: [.iOS, .macCatalyst])), ], path: "Modules/WebCircle", cSettings: [