diff --git a/Compass.podspec b/Compass.podspec index 24151eb..5df14dc 100644 --- a/Compass.podspec +++ b/Compass.podspec @@ -13,7 +13,7 @@ Pod::Spec.new do |s| s.requires_arc = true - s.ios.source_files = 'Sources/**/*' - s.osx.source_files = 'Sources/**/*' + s.ios.source_files = 'Sources/{iOS,Shared}/**/*' + s.osx.source_files = 'Sources/{Mac,Shared}/**/*' s.dependency 'Sugar' end diff --git a/Compass.xcodeproj/project.pbxproj b/Compass.xcodeproj/project.pbxproj index 3a73039..13be44f 100644 --- a/Compass.xcodeproj/project.pbxproj +++ b/Compass.xcodeproj/project.pbxproj @@ -9,8 +9,8 @@ /* Begin PBXBuildFile section */ BDF7B4091C3FF40300576737 /* Compass.swift in Sources */ = {isa = PBXBuildFile; fileRef = BDF7B4081C3FF40300576737 /* Compass.swift */; }; BDF7B40A1C3FF40300576737 /* Compass.swift in Sources */ = {isa = PBXBuildFile; fileRef = BDF7B4081C3FF40300576737 /* Compass.swift */; }; - BDF7B40C1C3FF40A00576737 /* Compass+Navigate.swift in Sources */ = {isa = PBXBuildFile; fileRef = BDF7B40B1C3FF40A00576737 /* Compass+Navigate.swift */; }; - BDF7B40E1C3FF41500576737 /* Compass+Navigate.swift in Sources */ = {isa = PBXBuildFile; fileRef = BDF7B40D1C3FF41500576737 /* Compass+Navigate.swift */; }; + BDF7B40C1C3FF40A00576737 /* Compass+Navigate-Mac.swift in Sources */ = {isa = PBXBuildFile; fileRef = BDF7B40B1C3FF40A00576737 /* Compass+Navigate-Mac.swift */; }; + BDF7B40E1C3FF41500576737 /* Compass+Navigate-iOS.swift in Sources */ = {isa = PBXBuildFile; fileRef = BDF7B40D1C3FF41500576737 /* Compass+Navigate-iOS.swift */; }; BDF7B4101C3FF43F00576737 /* TestCompass.swift in Sources */ = {isa = PBXBuildFile; fileRef = BDF7B40F1C3FF43F00576737 /* TestCompass.swift */; }; BDF7B4111C3FF43F00576737 /* TestCompass.swift in Sources */ = {isa = PBXBuildFile; fileRef = BDF7B40F1C3FF43F00576737 /* TestCompass.swift */; }; BDF7B4151C3FF51100576737 /* Sugar.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = BDF7B4141C3FF51100576737 /* Sugar.framework */; }; @@ -38,8 +38,8 @@ /* Begin PBXFileReference section */ BDF7B4081C3FF40300576737 /* Compass.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Compass.swift; sourceTree = ""; }; - BDF7B40B1C3FF40A00576737 /* Compass+Navigate.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = "Compass+Navigate.swift"; sourceTree = ""; }; - BDF7B40D1C3FF41500576737 /* Compass+Navigate.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = "Compass+Navigate.swift"; sourceTree = ""; }; + BDF7B40B1C3FF40A00576737 /* Compass+Navigate-Mac.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = "Compass+Navigate-Mac.swift"; sourceTree = ""; }; + BDF7B40D1C3FF41500576737 /* Compass+Navigate-iOS.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = "Compass+Navigate-iOS.swift"; sourceTree = ""; }; BDF7B40F1C3FF43F00576737 /* TestCompass.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = TestCompass.swift; sourceTree = ""; }; BDF7B4141C3FF51100576737 /* Sugar.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Sugar.framework; path = Carthage/Build/Mac/Sugar.framework; sourceTree = ""; }; BDF7B4161C3FF51800576737 /* Sugar.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Sugar.framework; path = Carthage/Build/iOS/Sugar.framework; sourceTree = ""; }; @@ -134,7 +134,7 @@ D5C6296A1C3A809D007F7B7C /* iOS */ = { isa = PBXGroup; children = ( - BDF7B40D1C3FF41500576737 /* Compass+Navigate.swift */, + BDF7B40D1C3FF41500576737 /* Compass+Navigate-iOS.swift */, ); path = iOS; sourceTree = ""; @@ -142,7 +142,7 @@ D5C6296C1C3A809D007F7B7C /* Mac */ = { isa = PBXGroup; children = ( - BDF7B40B1C3FF40A00576737 /* Compass+Navigate.swift */, + BDF7B40B1C3FF40A00576737 /* Compass+Navigate-Mac.swift */, ); path = Mac; sourceTree = ""; @@ -397,7 +397,7 @@ buildActionMask = 2147483647; files = ( BDF7B4091C3FF40300576737 /* Compass.swift in Sources */, - BDF7B40E1C3FF41500576737 /* Compass+Navigate.swift in Sources */, + BDF7B40E1C3FF41500576737 /* Compass+Navigate-iOS.swift in Sources */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -414,7 +414,7 @@ buildActionMask = 2147483647; files = ( BDF7B40A1C3FF40300576737 /* Compass.swift in Sources */, - BDF7B40C1C3FF40A00576737 /* Compass+Navigate.swift in Sources */, + BDF7B40C1C3FF40A00576737 /* Compass+Navigate-Mac.swift in Sources */, ); runOnlyForDeploymentPostprocessing = 0; }; diff --git a/Sources/Mac/Compass+Navigate.swift b/Sources/Mac/Compass+Navigate-Mac.swift similarity index 100% rename from Sources/Mac/Compass+Navigate.swift rename to Sources/Mac/Compass+Navigate-Mac.swift diff --git a/Sources/iOS/Compass+Navigate.swift b/Sources/iOS/Compass+Navigate-iOS.swift similarity index 100% rename from Sources/iOS/Compass+Navigate.swift rename to Sources/iOS/Compass+Navigate-iOS.swift