Skip to content

Commit

Permalink
Merge branch 'master' into jerrad/146-navigation-service
Browse files Browse the repository at this point in the history
  • Loading branch information
Jerrad Thramer committed Aug 29, 2018
2 parents 45795e4 + 5ff994a commit a139f89
Show file tree
Hide file tree
Showing 6 changed files with 129 additions and 52 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,6 @@
"${BUILT_PRODUCTS_DIR}/MapboxNavigation/MapboxNavigation.framework",
"${BUILT_PRODUCTS_DIR}/MapboxSpeech/MapboxSpeech.framework",
"${BUILT_PRODUCTS_DIR}/Polyline/Polyline.framework",
"${BUILT_PRODUCTS_DIR}/SDWebImage/SDWebImage.framework",
"${BUILT_PRODUCTS_DIR}/Solar/Solar.framework",
"${BUILT_PRODUCTS_DIR}/Turf/Turf.framework",
);
Expand All @@ -252,7 +251,6 @@
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/MapboxNavigation.framework",
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/MapboxSpeech.framework",
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/Polyline.framework",
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/SDWebImage.framework",
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/Solar.framework",
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/Turf.framework",
);
Expand Down
4 changes: 2 additions & 2 deletions MapboxCoreNavigationTests/CocoaPodsTest/PodInstall/Podfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@ use_frameworks!

target 'PodInstall' do
# The branch of MapboxNavigation and MapboxNavigation will be replaced by Bitrise to use the current branch.
pod 'MapboxNavigation', :git => 'GIT_REPO_URL', :branch => 'BRANCH_NAME'
pod 'MapboxCoreNavigation', :git => 'GIT_REPO_URL', :branch => 'BRANCH_NAME'
pod 'MapboxNavigation', :path => '../../../'
pod 'MapboxCoreNavigation', :path => '../../../'
end
60 changes: 22 additions & 38 deletions MapboxCoreNavigationTests/CocoaPodsTest/PodInstall/Podfile.lock
Original file line number Diff line number Diff line change
@@ -1,59 +1,43 @@
PODS:
- Mapbox-iOS-SDK (3.7.4)
- MapboxCoreNavigation (0.13.1):
- MapboxDirections.swift (~> 0.16.1)
- MapboxMobileEvents (~> 0.3)
- Turf (~> 0.0.4)
- MapboxDirections.swift (0.16.1):
- Mapbox-iOS-SDK (4.3.0)
- MapboxCoreNavigation (0.19.2):
- MapboxDirections.swift (~> 0.22.0)
- MapboxMobileEvents (~> 0.4)
- Turf (~> 0.2)
- MapboxDirections.swift (0.22.0):
- Polyline (~> 4.2)
- MapboxMobileEvents (0.3.0)
- MapboxNavigation (0.13.1):
- Mapbox-iOS-SDK (~> 3.6)
- MapboxCoreNavigation (= 0.13.1)
- MapboxMobileEvents (0.4.51)
- MapboxNavigation (0.19.2):
- Mapbox-iOS-SDK (~> 4.3)
- MapboxCoreNavigation (= 0.19.2)
- MapboxSpeech (~> 0.0.1)
- SDWebImage (~> 4.1)
- Solar (~> 2.1)
- Turf (~> 0.0.4)
- MapboxSpeech (0.0.1)
- Polyline (4.2.0)
- SDWebImage (4.3.0):
- SDWebImage/Core (= 4.3.0)
- SDWebImage/Core (4.3.0)
- Solar (2.1.0)
- Turf (0.0.4)
- Turf (0.2.0)

DEPENDENCIES:
- MapboxCoreNavigation (from `https://github.com/mapbox/mapbox-navigation-ios.git`, branch `master`)
- MapboxNavigation (from `https://github.com/mapbox/mapbox-navigation-ios.git`, branch `master`)
- MapboxCoreNavigation (from `../../../`)
- MapboxNavigation (from `../../../`)

EXTERNAL SOURCES:
MapboxCoreNavigation:
:branch: master
:git: https://github.com/mapbox/mapbox-navigation-ios.git
:path: ../../../
MapboxNavigation:
:branch: master
:git: https://github.com/mapbox/mapbox-navigation-ios.git

CHECKOUT OPTIONS:
MapboxCoreNavigation:
:commit: 518a3d1b8ab327f6bb895b10071bc113ffddb84a
:git: https://github.com/mapbox/mapbox-navigation-ios.git
MapboxNavigation:
:commit: 518a3d1b8ab327f6bb895b10071bc113ffddb84a
:git: https://github.com/mapbox/mapbox-navigation-ios.git
:path: ../../../

SPEC CHECKSUMS:
Mapbox-iOS-SDK: fb994b9e46df7b909f58dd0c5df5a44f58cdab04
MapboxCoreNavigation: 47b9983ceb8d52d4d8879a3bbf8afe1277de7166
MapboxDirections.swift: 750b7c94e7e1d85fcfe4ccc815423f33164178dc
MapboxMobileEvents: 246843e366f6687f697098673ef78a858c0d8619
MapboxNavigation: 7367316f879b252096a9d54726e7ae783ef0fb6b
Mapbox-iOS-SDK: 7d8d510088ba7900d11aa3ceb98f563b040efca1
MapboxCoreNavigation: e4fe458ab71b2a345a5df40e6398e639435f3bf7
MapboxDirections.swift: 67da008c3bff72ab68b0fc166185eebda23303be
MapboxMobileEvents: 83ed9a5ea8f81ca455c350cb15f05ce287d5d2a3
MapboxNavigation: d10c8ee497250f9609fe43d3602e2070057a0e25
MapboxSpeech: 6cc9b3d53adc2988af3ebc704dd17907b84a3f9f
Polyline: 3d69f75bb136357e27291d439d0436c6ebda57a4
SDWebImage: 6da6c8bca115addc4de8613362e1b15f66333825
Solar: 2dc6e7cc39186cb0c8228fa08df76fb50c7d8f24
Turf: 6c169618fa671e3f8a7b764b5b3332053ad6110e
Turf: 65817136031583da7ea2b43e6611dd10ddbdab2f

PODFILE CHECKSUM: 13f94add0160d7ec0d5c512e193f75911b46950d
PODFILE CHECKSUM: 55ae5a7edbc3dedda5149ba3d58b992ab7327f95

COCOAPODS: 1.4.0

This file was deleted.

1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# [Mapbox Navigation SDK for iOS](https://www.mapbox.com/ios-sdk/navigation/)

[![CircleCI](https://circleci.com/gh/mapbox/mapbox-navigation-ios.svg?style=svg)](https://circleci.com/gh/mapbox/mapbox-navigation-ios)
[![Build Status](https://app.bitrise.io/app/6fc45a7e2817b859/status.svg?token=XTgNMVxObhd8w8EmsAgJ1Q&branch=master)](https://www.bitrise.io/app/6fc45a7e2817b859)
[![Carthage compatible](https://img.shields.io/badge/Carthage-compatible-4BC51D.svg?style=flat)](https://github.com/Carthage/Carthage)
[![CocoaPods](https://img.shields.io/cocoapods/v/MapboxNavigation.svg)](https://cocoapods.org/pods/MapboxNavigation/)
Expand Down
104 changes: 104 additions & 0 deletions circle.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,104 @@
version: 2

workflows:
version: 2
default:
jobs:
- xcode-10
- xcode-10-cocoapods-integration

step-library:
- &restore-cache
restore_cache:
keys:
- carthage-cache-v1-{{ checksum "Cartfile.resolved" }}
- carthage-cache-v1- # used if checksum fails

- &restore-cache-cocoapods
restore_cache:
keys:
- cp-cache-v1-{{ arch }}-{{ .Branch }}-{{ checksum "MapboxCoreNavigationTests/CocoaPodsTest/PodInstall/Podfile.lock" }}
- cp-cache-v1-{{ arch }}-{{ .Branch }}
- cp-cache-v1

- &restore-cache-podmaster
restore_cache:
keys:
- podmaster-cache

- &save-cache
save_cache:
key: carthage-cache-v1-{{ checksum "Cartfile.resolved" }}
paths:
- Carthage

- &save-cache-cocoapods
save_cache:
key: cp-cache-v1-{{ arch }}-{{ .Branch }}-{{ checksum "MapboxCoreNavigationTests/CocoaPodsTest/PodInstall/Podfile.lock" }}
paths:
- MapboxCoreNavigationTests/CocoaPodsTest/PodInstall/Pods

- &save-cache-podmaster
save_cache:
key: podmaster-cache
paths:
- "~/.cocoapods/repos/master"

- &prepare
run:
name: Prepare
command: |
git submodule sync
- &install-dependencies
run:
name: Install Dependencies
command: carthage bootstrap --platform ios --cache-builds --configuration Release --no-use-binaries

- &build-test-MapboxCoreNavigation
run:
name: Build and test MapboxCoreNavigation
command: |
xcodebuild -sdk iphonesimulator -destination 'platform=iOS Simulator,id=9F32C487-FAEC-4ABE-B00D-159EC007E50D' -project MapboxNavigation.xcodeproj -scheme MapboxCoreNavigation clean build test | xcpretty
- &build-MapboxNavigation
run:
name: Build MapboxNavigation
command: |
xcodebuild -sdk iphonesimulator -destination 'platform=iOS Simulator,id=9F32C487-FAEC-4ABE-B00D-159EC007E50D' -project MapboxNavigation.xcodeproj -scheme MapboxNavigation clean build | xcpretty
- &cocoapods-integration-test
run:
name: CocoaPods integration test
command: |
cd MapboxCoreNavigationTests/CocoaPodsTest/PodInstall
pod install
xcodebuild -workspace PodInstall.xcworkspace/ -scheme PodInstall -destination 'platform=iOS Simulator,id=9F32C487-FAEC-4ABE-B00D-159EC007E50D' clean build | xcpretty
jobs:
xcode-10:
macos:
xcode: "10.0.0"
environment:
HOMEBREW_NO_AUTO_UPDATE: 1
steps:
- checkout
- *prepare
- *restore-cache
- *install-dependencies
- *build-test-MapboxCoreNavigation
- *build-MapboxNavigation
- *save-cache

xcode-10-cocoapods-integration:
macos:
xcode: "10.0.0"
environment:
HOMEBREW_NO_AUTO_UPDATE: 1
steps:
- checkout
- *restore-cache-podmaster
- *restore-cache-cocoapods
- *cocoapods-integration-test
- *save-cache-cocoapods
- *save-cache-podmaster

0 comments on commit a139f89

Please sign in to comment.