Skip to content

Commit 742609a

Browse files
committed
Added watchOS framework target and scheme
1 parent 22045ae commit 742609a

File tree

4 files changed

+209
-2
lines changed

4 files changed

+209
-2
lines changed

MapboxGeocoder.swift.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ Pod::Spec.new do |s|
77
s.summary = "Mapbox Geocoding API for Swift and Objective-C."
88

99
s.description = <<-DESC
10-
MapboxGeocoder.swift makes it easy to connect your iOS, OS X, or tvOS application to the Mapbox Geocoding API. MapboxGeocoder.swift exposes the power of the Carmen geocoder through a simple API similar to Core Location’s CLGeocoder.
10+
MapboxGeocoder.swift makes it easy to connect your iOS, OS X, tvOS, or watchOS application to the Mapbox Geocoding API. MapboxGeocoder.swift exposes the power of the Carmen geocoder through a simple API similar to Core Location’s CLGeocoder.
1111
DESC
1212

1313
s.homepage = "https://www.mapbox.com/geocoding/"

MapboxGeocoder.xcodeproj/project.pbxproj

Lines changed: 127 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,13 @@
4747
DA5170E31CF2542B00CD6DCF /* forward_invalid.json in Resources */ = {isa = PBXBuildFile; fileRef = DA210BAE1CB4C5A7008088FD /* forward_invalid.json */; };
4848
DA5170E41CF2542B00CD6DCF /* reverse_valid.json in Resources */ = {isa = PBXBuildFile; fileRef = DDF1E85B1BD70E4C00C40C78 /* reverse_valid.json */; };
4949
DA5170E51CF2542B00CD6DCF /* reverse_invalid.json in Resources */ = {isa = PBXBuildFile; fileRef = DDF1E85A1BD70E4C00C40C78 /* reverse_invalid.json */; };
50+
DA5170F31CF2582F00CD6DCF /* MapboxGeocoder.h in Headers */ = {isa = PBXBuildFile; fileRef = DDC229581A36073B006BE405 /* MapboxGeocoder.h */; settings = {ATTRIBUTES = (Public, ); }; };
51+
DA5170F41CF2582F00CD6DCF /* MBGeocodeOptions.swift in Sources */ = {isa = PBXBuildFile; fileRef = DA2EC05D1CED732F00D4BA5D /* MBGeocodeOptions.swift */; };
52+
DA5170F51CF2582F00CD6DCF /* MBGeocoder.swift in Sources */ = {isa = PBXBuildFile; fileRef = DDC229591A36073B006BE405 /* MBGeocoder.swift */; };
53+
DA5170F61CF2582F00CD6DCF /* MBPlacemark.swift in Sources */ = {isa = PBXBuildFile; fileRef = DA2E03EF1CB0FDB400D1269A /* MBPlacemark.swift */; };
54+
DA5170F71CF2582F00CD6DCF /* MBPlacemarkScope.h in Headers */ = {isa = PBXBuildFile; fileRef = DA29C8DE1CEBE90200E48A61 /* MBPlacemarkScope.h */; settings = {ATTRIBUTES = (Public, ); }; };
55+
DA5170F81CF2582F00CD6DCF /* MBPlacemarkScope.swift in Sources */ = {isa = PBXBuildFile; fileRef = DA2EC05B1CED72E900D4BA5D /* MBPlacemarkScope.swift */; };
56+
DA5170F91CF2582F00CD6DCF /* MBRectangularRegion.swift in Sources */ = {isa = PBXBuildFile; fileRef = DA2E03F11CB0FE0200D1269A /* MBRectangularRegion.swift */; };
5057
DA701C011CB1292C00B0E520 /* GeocoderTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = DA701C001CB1292C00B0E520 /* GeocoderTests.swift */; };
5158
DD342B5619A140EE00219F77 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = DD342B5519A140EE00219F77 /* AppDelegate.swift */; };
5259
DD342B5819A140EE00219F77 /* ViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = DD342B5719A140EE00219F77 /* ViewController.swift */; };
@@ -155,6 +162,7 @@
155162
DA51709F1CF1B18F00CD6DCF /* MapboxGeocoderTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = MapboxGeocoderTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; };
156163
DA5170C11CF253EE00CD6DCF /* MapboxGeocoder.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = MapboxGeocoder.framework; sourceTree = BUILT_PRODUCTS_DIR; };
157164
DA5170CA1CF253EE00CD6DCF /* MapboxGeocoderTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = MapboxGeocoderTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; };
165+
DA5170EB1CF2581900CD6DCF /* MapboxGeocoder.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = MapboxGeocoder.framework; sourceTree = BUILT_PRODUCTS_DIR; };
158166
DA701C001CB1292C00B0E520 /* GeocoderTests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = GeocoderTests.swift; sourceTree = "<group>"; };
159167
DD342B5019A140EE00219F77 /* Geocoder (Swift).app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "Geocoder (Swift).app"; sourceTree = BUILT_PRODUCTS_DIR; };
160168
DD342B5419A140EE00219F77 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
@@ -210,6 +218,13 @@
210218
);
211219
runOnlyForDeploymentPostprocessing = 0;
212220
};
221+
DA5170E71CF2581900CD6DCF /* Frameworks */ = {
222+
isa = PBXFrameworksBuildPhase;
223+
buildActionMask = 2147483647;
224+
files = (
225+
);
226+
runOnlyForDeploymentPostprocessing = 0;
227+
};
213228
DD342B4D19A140EE00219F77 /* Frameworks */ = {
214229
isa = PBXFrameworksBuildPhase;
215230
buildActionMask = 2147483647;
@@ -277,6 +292,7 @@
277292
DA51709F1CF1B18F00CD6DCF /* MapboxGeocoderTests.xctest */,
278293
DA5170C11CF253EE00CD6DCF /* MapboxGeocoder.framework */,
279294
DA5170CA1CF253EE00CD6DCF /* MapboxGeocoderTests.xctest */,
295+
DA5170EB1CF2581900CD6DCF /* MapboxGeocoder.framework */,
280296
);
281297
name = Products;
282298
sourceTree = "<group>";
@@ -401,6 +417,15 @@
401417
);
402418
runOnlyForDeploymentPostprocessing = 0;
403419
};
420+
DA5170E81CF2581900CD6DCF /* Headers */ = {
421+
isa = PBXHeadersBuildPhase;
422+
buildActionMask = 2147483647;
423+
files = (
424+
DA5170F31CF2582F00CD6DCF /* MapboxGeocoder.h in Headers */,
425+
DA5170F71CF2582F00CD6DCF /* MBPlacemarkScope.h in Headers */,
426+
);
427+
runOnlyForDeploymentPostprocessing = 0;
428+
};
404429
DDC2470119A1C3B40054B0C0 /* Headers */ = {
405430
isa = PBXHeadersBuildPhase;
406431
buildActionMask = 2147483647;
@@ -491,6 +516,24 @@
491516
productReference = DA5170CA1CF253EE00CD6DCF /* MapboxGeocoderTests.xctest */;
492517
productType = "com.apple.product-type.bundle.unit-test";
493518
};
519+
DA5170EA1CF2581900CD6DCF /* MapboxGeocoderWatch */ = {
520+
isa = PBXNativeTarget;
521+
buildConfigurationList = DA5170F21CF2581900CD6DCF /* Build configuration list for PBXNativeTarget "MapboxGeocoderWatch" */;
522+
buildPhases = (
523+
DA5170E61CF2581900CD6DCF /* Sources */,
524+
DA5170E71CF2581900CD6DCF /* Frameworks */,
525+
DA5170E81CF2581900CD6DCF /* Headers */,
526+
DA5170E91CF2581900CD6DCF /* Resources */,
527+
);
528+
buildRules = (
529+
);
530+
dependencies = (
531+
);
532+
name = MapboxGeocoderWatch;
533+
productName = MapboxGeocoderWatch;
534+
productReference = DA5170EB1CF2581900CD6DCF /* MapboxGeocoder.framework */;
535+
productType = "com.apple.product-type.framework";
536+
};
494537
DD342B4F19A140EE00219F77 /* Example (Swift) */ = {
495538
isa = PBXNativeTarget;
496539
buildConfigurationList = DD342B6C19A140EE00219F77 /* Build configuration list for PBXNativeTarget "Example (Swift)" */;
@@ -592,6 +635,9 @@
592635
DA5170C91CF253EE00CD6DCF = {
593636
CreatedOnToolsVersion = 7.3.1;
594637
};
638+
DA5170EA1CF2581900CD6DCF = {
639+
CreatedOnToolsVersion = 7.3.1;
640+
};
595641
DD342B4F19A140EE00219F77 = {
596642
CreatedOnToolsVersion = 6.0;
597643
};
@@ -627,6 +673,7 @@
627673
DA51709E1CF1B18F00CD6DCF /* MapboxGeocoderMacTests */,
628674
DA5170C01CF253EE00CD6DCF /* MapboxGeocoderTV */,
629675
DA5170C91CF253EE00CD6DCF /* MapboxGeocoderTVTests */,
676+
DA5170EA1CF2581900CD6DCF /* MapboxGeocoderWatch */,
630677
);
631678
};
632679
/* End PBXProject section */
@@ -668,6 +715,13 @@
668715
);
669716
runOnlyForDeploymentPostprocessing = 0;
670717
};
718+
DA5170E91CF2581900CD6DCF /* Resources */ = {
719+
isa = PBXResourcesBuildPhase;
720+
buildActionMask = 2147483647;
721+
files = (
722+
);
723+
runOnlyForDeploymentPostprocessing = 0;
724+
};
671725
DD342B4E19A140EE00219F77 /* Resources */ = {
672726
isa = PBXResourcesBuildPhase;
673727
buildActionMask = 2147483647;
@@ -885,6 +939,18 @@
885939
);
886940
runOnlyForDeploymentPostprocessing = 0;
887941
};
942+
DA5170E61CF2581900CD6DCF /* Sources */ = {
943+
isa = PBXSourcesBuildPhase;
944+
buildActionMask = 2147483647;
945+
files = (
946+
DA5170F91CF2582F00CD6DCF /* MBRectangularRegion.swift in Sources */,
947+
DA5170F61CF2582F00CD6DCF /* MBPlacemark.swift in Sources */,
948+
DA5170F51CF2582F00CD6DCF /* MBGeocoder.swift in Sources */,
949+
DA5170F81CF2582F00CD6DCF /* MBPlacemarkScope.swift in Sources */,
950+
DA5170F41CF2582F00CD6DCF /* MBGeocodeOptions.swift in Sources */,
951+
);
952+
runOnlyForDeploymentPostprocessing = 0;
953+
};
888954
DD342B4C19A140EE00219F77 /* Sources */ = {
889955
isa = PBXSourcesBuildPhase;
890956
buildActionMask = 2147483647;
@@ -1134,6 +1200,59 @@
11341200
};
11351201
name = Release;
11361202
};
1203+
DA5170F01CF2581900CD6DCF /* Debug */ = {
1204+
isa = XCBuildConfiguration;
1205+
buildSettings = {
1206+
APPLICATION_EXTENSION_API_ONLY = YES;
1207+
CLANG_ANALYZER_NONNULL = YES;
1208+
CURRENT_PROJECT_VERSION = 1;
1209+
DEBUG_INFORMATION_FORMAT = dwarf;
1210+
DEFINES_MODULE = YES;
1211+
DYLIB_COMPATIBILITY_VERSION = 1;
1212+
DYLIB_CURRENT_VERSION = 1;
1213+
DYLIB_INSTALL_NAME_BASE = "@rpath";
1214+
GCC_NO_COMMON_BLOCKS = YES;
1215+
INFOPLIST_FILE = MapboxGeocoder/Info.plist;
1216+
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
1217+
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
1218+
PRODUCT_BUNDLE_IDENTIFIER = com.mapbox.MapboxGeocoder;
1219+
PRODUCT_NAME = MapboxGeocoder;
1220+
SDKROOT = watchos;
1221+
SKIP_INSTALL = YES;
1222+
TARGETED_DEVICE_FAMILY = 4;
1223+
VERSIONING_SYSTEM = "apple-generic";
1224+
VERSION_INFO_PREFIX = "";
1225+
WATCHOS_DEPLOYMENT_TARGET = 2.0;
1226+
};
1227+
name = Debug;
1228+
};
1229+
DA5170F11CF2581900CD6DCF /* Release */ = {
1230+
isa = XCBuildConfiguration;
1231+
buildSettings = {
1232+
APPLICATION_EXTENSION_API_ONLY = YES;
1233+
CLANG_ANALYZER_NONNULL = YES;
1234+
COPY_PHASE_STRIP = NO;
1235+
CURRENT_PROJECT_VERSION = 1;
1236+
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
1237+
DEFINES_MODULE = YES;
1238+
DYLIB_COMPATIBILITY_VERSION = 1;
1239+
DYLIB_CURRENT_VERSION = 1;
1240+
DYLIB_INSTALL_NAME_BASE = "@rpath";
1241+
GCC_NO_COMMON_BLOCKS = YES;
1242+
INFOPLIST_FILE = MapboxGeocoder/Info.plist;
1243+
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
1244+
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
1245+
PRODUCT_BUNDLE_IDENTIFIER = com.mapbox.MapboxGeocoder;
1246+
PRODUCT_NAME = MapboxGeocoder;
1247+
SDKROOT = watchos;
1248+
SKIP_INSTALL = YES;
1249+
TARGETED_DEVICE_FAMILY = 4;
1250+
VERSIONING_SYSTEM = "apple-generic";
1251+
VERSION_INFO_PREFIX = "";
1252+
WATCHOS_DEPLOYMENT_TARGET = 2.0;
1253+
};
1254+
name = Release;
1255+
};
11371256
DD342B6A19A140EE00219F77 /* Debug */ = {
11381257
isa = XCBuildConfiguration;
11391258
buildSettings = {
@@ -1381,6 +1500,14 @@
13811500
defaultConfigurationIsVisible = 0;
13821501
defaultConfigurationName = Release;
13831502
};
1503+
DA5170F21CF2581900CD6DCF /* Build configuration list for PBXNativeTarget "MapboxGeocoderWatch" */ = {
1504+
isa = XCConfigurationList;
1505+
buildConfigurations = (
1506+
DA5170F01CF2581900CD6DCF /* Debug */,
1507+
DA5170F11CF2581900CD6DCF /* Release */,
1508+
);
1509+
defaultConfigurationIsVisible = 0;
1510+
};
13841511
DD342B4B19A140EE00219F77 /* Build configuration list for PBXProject "MapboxGeocoder" */ = {
13851512
isa = XCConfigurationList;
13861513
buildConfigurations = (
Lines changed: 80 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,80 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<Scheme
3+
LastUpgradeVersion = "0730"
4+
version = "1.3">
5+
<BuildAction
6+
parallelizeBuildables = "YES"
7+
buildImplicitDependencies = "YES">
8+
<BuildActionEntries>
9+
<BuildActionEntry
10+
buildForTesting = "YES"
11+
buildForRunning = "YES"
12+
buildForProfiling = "YES"
13+
buildForArchiving = "YES"
14+
buildForAnalyzing = "YES">
15+
<BuildableReference
16+
BuildableIdentifier = "primary"
17+
BlueprintIdentifier = "DA5170EA1CF2581900CD6DCF"
18+
BuildableName = "MapboxGeocoderWatch.framework"
19+
BlueprintName = "MapboxGeocoderWatch"
20+
ReferencedContainer = "container:MapboxGeocoder.xcodeproj">
21+
</BuildableReference>
22+
</BuildActionEntry>
23+
</BuildActionEntries>
24+
</BuildAction>
25+
<TestAction
26+
buildConfiguration = "Debug"
27+
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
28+
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
29+
shouldUseLaunchSchemeArgsEnv = "YES">
30+
<Testables>
31+
</Testables>
32+
<AdditionalOptions>
33+
</AdditionalOptions>
34+
</TestAction>
35+
<LaunchAction
36+
buildConfiguration = "Debug"
37+
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
38+
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
39+
launchStyle = "0"
40+
useCustomWorkingDirectory = "NO"
41+
ignoresPersistentStateOnLaunch = "NO"
42+
debugDocumentVersioning = "YES"
43+
debugServiceExtension = "internal"
44+
allowLocationSimulation = "YES">
45+
<MacroExpansion>
46+
<BuildableReference
47+
BuildableIdentifier = "primary"
48+
BlueprintIdentifier = "DA5170EA1CF2581900CD6DCF"
49+
BuildableName = "MapboxGeocoderWatch.framework"
50+
BlueprintName = "MapboxGeocoderWatch"
51+
ReferencedContainer = "container:MapboxGeocoder.xcodeproj">
52+
</BuildableReference>
53+
</MacroExpansion>
54+
<AdditionalOptions>
55+
</AdditionalOptions>
56+
</LaunchAction>
57+
<ProfileAction
58+
buildConfiguration = "Release"
59+
shouldUseLaunchSchemeArgsEnv = "YES"
60+
savedToolIdentifier = ""
61+
useCustomWorkingDirectory = "NO"
62+
debugDocumentVersioning = "YES">
63+
<MacroExpansion>
64+
<BuildableReference
65+
BuildableIdentifier = "primary"
66+
BlueprintIdentifier = "DA5170EA1CF2581900CD6DCF"
67+
BuildableName = "MapboxGeocoderWatch.framework"
68+
BlueprintName = "MapboxGeocoderWatch"
69+
ReferencedContainer = "container:MapboxGeocoder.xcodeproj">
70+
</BuildableReference>
71+
</MacroExpansion>
72+
</ProfileAction>
73+
<AnalyzeAction
74+
buildConfiguration = "Debug">
75+
</AnalyzeAction>
76+
<ArchiveAction
77+
buildConfiguration = "Release"
78+
revealArchiveInOrganizer = "YES">
79+
</ArchiveAction>
80+
</Scheme>

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
[📱&nbsp;![iOS Build Status](https://www.bitrise.io/app/6cae401ec4c1d406.svg?token=MJnXK0c2x2tmTnmHSPtcFA&branch=master)](https://www.bitrise.io/app/6cae401ec4c1d406) &nbsp;&nbsp;&nbsp;
44
[🖥💻&nbsp;![OS X Build Status](https://www.bitrise.io/app/8413a6e577d6aa9a.svg?token=N1agv0mw75SOE_SykliueQ&branch=master)](https://www.bitrise.io/app/8413a6e577d6aa9a)
55

6-
MapboxGeocoder.swift makes it easy to connect your iOS, OS X, or tvOS application to the [Mapbox Geocoding API](https://www.mapbox.com/geocoding/). MapboxGeocoder.swift exposes the power of the [Carmen](https://github.com/mapbox/carmen) geocoder through a simple API similar to Core Location’s CLGeocoder.
6+
MapboxGeocoder.swift makes it easy to connect your iOS, OS X, tvOS, or watchOS application to the [Mapbox Geocoding API](https://www.mapbox.com/geocoding/). MapboxGeocoder.swift exposes the power of the [Carmen](https://github.com/mapbox/carmen) geocoder through a simple API similar to Core Location’s CLGeocoder.
77

88
MapboxGeocoder.swift pairs well with [MapboxDirections.swift](https://github.com/mapbox/MapboxDirections.swift), [MapboxStatic.swift](https://github.com/mapbox/MapboxStatic.swift), and the [Mapbox iOS SDK](https://www.mapbox.com/ios-sdk/) or [OS X SDK](https://github.com/mapbox/mapbox-gl-native/tree/master/platform/osx).
99

0 commit comments

Comments
 (0)