File tree Expand file tree Collapse file tree 4 files changed +8
-1
lines changed Expand file tree Collapse file tree 4 files changed +8
-1
lines changed Original file line number Diff line number Diff line change 1
1
binary "https://www.mapbox.com/ios-sdk/Mapbox-iOS-SDK.json" ~> 5.5
2
2
github "AliSoftware/OHHTTPStubs" ~> 9.0
3
+ github "mapbox/mapbox-events-ios" ~> 0.10.2
Original file line number Diff line number Diff line change 1
1
binary "https://www.mapbox.com/ios-sdk/Mapbox-iOS-SDK.json" "5.9.0"
2
2
github "AliSoftware/OHHTTPStubs" "9.0.0"
3
+ github "mapbox/mapbox-events-ios" "v0.10.8"
Original file line number Diff line number Diff line change 931
931
);
932
932
inputPaths = (
933
933
"$(SRCROOT)/Carthage/Build/iOS/Mapbox.framework",
934
+ "$(SRCROOT)/Carthage/Build/iOS/MapboxMobileEvents.framework",
934
935
);
935
936
name = "Copy Frameworks";
936
937
outputPaths = (
937
938
"$(BUILT_PRODUCTS_DIR)/$(FRAMEWORKS_FOLDER_PATH)/Mapbox.framework",
939
+ "$(BUILT_PRODUCTS_DIR)/$(FRAMEWORKS_FOLDER_PATH)/MapboxMobileEvents.framework",
938
940
);
939
941
runOnlyForDeploymentPostprocessing = 0;
940
942
shellPath = /bin/sh;
947
949
);
948
950
inputPaths = (
949
951
"$(SRCROOT)/Carthage/Build/iOS/Mapbox.framework",
952
+ "$(SRCROOT)/Carthage/Build/iOS/MapboxMobileEvents.framework",
950
953
);
951
954
name = "Copy Frameworks";
952
955
outputPaths = (
Original file line number Diff line number Diff line change @@ -7,7 +7,9 @@ typealias JSONDictionary = [String: Any]
7
7
public let MBGeocoderErrorDomain = " MBGeocoderErrorDomain "
8
8
9
9
/// The Mapbox access token specified in the main application bundle’s Info.plist.
10
- let defaultAccessToken = Bundle . main. infoDictionary ? [ " MGLMapboxAccessToken " ] as? String
10
+ let defaultAccessToken =
11
+ Bundle . main. object ( forInfoDictionaryKey: " MBXAccessToken " ) as? String ??
12
+ Bundle . main. object ( forInfoDictionaryKey: " MGLMapboxAccessToken " ) as? String
11
13
12
14
/// The user agent string for any HTTP requests performed directly within this library.
13
15
let userAgent : String = {
You can’t perform that action at this time.
0 commit comments