Skip to content

Commit acd55cf

Browse files
committed
Complete migration from CocoaPods to Swift Package Manager
- Remove all CocoaPods files and configuration (Pods/, Podfile, etc.) - Fix MapCache API compatibility issue in GPXMapView.swift - Update project.pbxproj to use SPM dependencies only - Clean up .gitignore and .swiftlint.yml for SPM-only setup - Verify successful build with Swift Package Manager Dependencies now managed via SPM: - CoreGPX: https://github.com/vincentneo/CoreGPX.git (v0.9.1+) - MapCache: https://github.com/vincentneo/MapCache.git (master)
1 parent 58c213d commit acd55cf

File tree

129 files changed

+1
-11280
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

129 files changed

+1
-11280
lines changed

.gitignore

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,7 @@ DerivedData
1717
*.ipa
1818
*.xcuserstate
1919

20-
# CocoaPods
21-
#
22-
# We recommend against adding the Pods directory to your .gitignore. However
23-
# you should judge for yourself, the pros and cons are mentioned at:
24-
# http://guides.cocoapods.org/using/using-cocoapods.html#should-i-ignore-the-pods-directory-in-source-control
25-
#
26-
# Pods/
20+
# CocoaPods (No longer used - migrated to Swift Package Manager)
2721

2822
# Carthage
2923
#

.swiftlint.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ disabled_rules:
44
- identifier_name
55

66
excluded:
7-
- Pods
87

98
line_length: 150
109

OpenGpxTracker.xcodeproj/project.pbxproj

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,6 @@
214214
12D4905524C448540065D995 /* fr */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = fr; path = fr.lproj/Localizable.strings; sourceTree = "<group>"; };
215215
12D4905624C448540065D995 /* fr */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = fr; path = fr.lproj/InfoPlist.strings; sourceTree = "<group>"; };
216216
12D4905724C448540065D995 /* fr */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = fr; path = fr.lproj/InfoPlist.strings; sourceTree = "<group>"; };
217-
44E786790A477838358F948C /* Pods-OpenGpxTracker.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-OpenGpxTracker.debug.xcconfig"; path = "Pods/Target Support Files/Pods-OpenGpxTracker/Pods-OpenGpxTracker.debug.xcconfig"; sourceTree = "<group>"; };
218217
455F78BE230AA9D6003705F3 /* de */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = de; path = de.lproj/Main.strings; sourceTree = "<group>"; };
219218
4588D66C230D23AA009AA75F /* de */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = de; path = de.lproj/InfoPlist.strings; sourceTree = "<group>"; };
220219
4588D66E230D23AD009AA75F /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/InfoPlist.strings; sourceTree = "<group>"; };
@@ -223,8 +222,6 @@
223222
45A430EA230D61240003C2F2 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Interface.storyboard; sourceTree = "<group>"; };
224223
45A430ED230D612B0003C2F2 /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/Interface.strings; sourceTree = "<group>"; };
225224
45A430EF230D612C0003C2F2 /* de */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = de; path = de.lproj/Interface.strings; sourceTree = "<group>"; };
226-
4D4846D740851C2838EFED65 /* Pods-OpenGpxTrackerTests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-OpenGpxTrackerTests.debug.xcconfig"; path = "Pods/Target Support Files/Pods-OpenGpxTrackerTests/Pods-OpenGpxTrackerTests.debug.xcconfig"; sourceTree = "<group>"; };
227-
554D2ACAA71E64B3A7B1A167 /* Pods-OpenGpxTracker-Watch Extension.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-OpenGpxTracker-Watch Extension.release.xcconfig"; path = "Pods/Target Support Files/Pods-OpenGpxTracker-Watch Extension/Pods-OpenGpxTracker-Watch Extension.release.xcconfig"; sourceTree = "<group>"; };
228225
836B1BAC2E7DC69900285130 /* ViewControllerTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ViewControllerTests.swift; sourceTree = "<group>"; };
229226
836B1BAE2E7DC7D500285130 /* MapCache.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; path = MapCache.framework; sourceTree = BUILT_PRODUCTS_DIR; };
230227
836B1BB22E7DC7E900285130 /* CoreGPX.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; path = CoreGPX.framework; sourceTree = BUILT_PRODUCTS_DIR; };
@@ -281,8 +278,6 @@
281278
89F6E0F6227E107C00CE3E3F /* Preferences.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Preferences.swift; sourceTree = "<group>"; };
282279
89F8749A1BBB7362004EF41A /* GPXTrack+length.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = "GPXTrack+length.swift"; sourceTree = "<group>"; };
283280
89F8749E1BBCB97F004EF41A /* GPXRoot+length.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = "GPXRoot+length.swift"; sourceTree = "<group>"; };
284-
91430500A0A86B4A063D0325 /* Pods-OpenGpxTrackerTests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-OpenGpxTrackerTests.release.xcconfig"; path = "Pods/Target Support Files/Pods-OpenGpxTrackerTests/Pods-OpenGpxTrackerTests.release.xcconfig"; sourceTree = "<group>"; };
285-
9A591D96EF2E41D00AD6BB3A /* Pods-OpenGpxTracker-Watch Extension.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-OpenGpxTracker-Watch Extension.debug.xcconfig"; path = "Pods/Target Support Files/Pods-OpenGpxTracker-Watch Extension/Pods-OpenGpxTracker-Watch Extension.debug.xcconfig"; sourceTree = "<group>"; };
286281
BF15092123916FC100F51F1B /* UIColor+DarkMode.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "UIColor+DarkMode.swift"; sourceTree = "<group>"; };
287282
BF177EE924D54F9200D5E021 /* CoreDataHelper+BatchDelete.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = "CoreDataHelper+BatchDelete.swift"; sourceTree = "<group>"; };
288283
BF1FE1A7230EAB9B00404B59 /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/Localizable.strings; sourceTree = "<group>"; };
@@ -325,7 +320,6 @@
325320
D39420E623CC1B0500EDC8F6 /* uk */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = uk; path = uk.lproj/InfoPlist.strings; sourceTree = "<group>"; };
326321
DC4908A01C4A136F009484AE /* TrackerButton.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = TrackerButton.swift; sourceTree = "<group>"; };
327322
DC4908A21C4A332E009484AE /* MapViewDelegate.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = MapViewDelegate.swift; sourceTree = "<group>"; };
328-
F8AD19460733F6AD5C43BE2D /* Pods-OpenGpxTracker.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-OpenGpxTracker.release.xcconfig"; path = "Pods/Target Support Files/Pods-OpenGpxTracker/Pods-OpenGpxTracker.release.xcconfig"; sourceTree = "<group>"; };
329323
/* End PBXFileReference section */
330324

331325
/* Begin PBXFrameworksBuildPhase section */
@@ -405,7 +399,6 @@
405399
BF692F672209AAFB00F8A0F1 /* OpenGpxTracker-Watch Extension */,
406400
898EED0119C4A16600B4B207 /* Frameworks */,
407401
898EECD619C49B5800B4B207 /* Products */,
408-
B27080D4833A50C81310699E /* Pods */,
409402
);
410403
sourceTree = "<group>";
411404
};
@@ -531,19 +524,6 @@
531524
name = shared;
532525
sourceTree = "<group>";
533526
};
534-
B27080D4833A50C81310699E /* Pods */ = {
535-
isa = PBXGroup;
536-
children = (
537-
44E786790A477838358F948C /* Pods-OpenGpxTracker.debug.xcconfig */,
538-
F8AD19460733F6AD5C43BE2D /* Pods-OpenGpxTracker.release.xcconfig */,
539-
9A591D96EF2E41D00AD6BB3A /* Pods-OpenGpxTracker-Watch Extension.debug.xcconfig */,
540-
554D2ACAA71E64B3A7B1A167 /* Pods-OpenGpxTracker-Watch Extension.release.xcconfig */,
541-
4D4846D740851C2838EFED65 /* Pods-OpenGpxTrackerTests.debug.xcconfig */,
542-
91430500A0A86B4A063D0325 /* Pods-OpenGpxTrackerTests.release.xcconfig */,
543-
);
544-
name = Pods;
545-
sourceTree = "<group>";
546-
};
547527
BF692F582209AAF900F8A0F1 /* OpenGpxTracker-Watch */ = {
548528
isa = PBXGroup;
549529
children = (

OpenGpxTracker.xcworkspace/contents.xcworkspacedata

Lines changed: 0 additions & 10 deletions
This file was deleted.

OpenGpxTracker.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist

Lines changed: 0 additions & 8 deletions
This file was deleted.

OpenGpxTracker.xcworkspace/xcshareddata/OpenGpxTracker.xccheckout

Lines changed: 0 additions & 41 deletions
This file was deleted.

OpenGpxTracker.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings

Lines changed: 0 additions & 5 deletions
This file was deleted.

OpenGpxTracker.xcworkspace/xcshareddata/swiftpm/Package.resolved

Lines changed: 0 additions & 24 deletions
This file was deleted.

Podfile

Lines changed: 0 additions & 24 deletions
This file was deleted.

Podfile.lock

Lines changed: 0 additions & 28 deletions
This file was deleted.

0 commit comments

Comments
 (0)