-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
21 changed files
with
982 additions
and
182 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -93,7 +93,4 @@ iOSInjectionProject/ | |
*.DS_Store | ||
|
||
# Bundle gems | ||
**/bundle | ||
|
||
## Offline Map files # | ||
Map/ | ||
**/bundle |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
source 'https://rubygems.org' | ||
ruby "~>#{File.read(File.join(__dir__, ".ruby-version")).strip}" | ||
ruby "~>#{File.read(File.join(__dir__, "../.ruby-version")).strip}" | ||
gem "cocoapods", "1.11.3" | ||
gem "cocoapods-art" |
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
## Development setup | ||
|
||
Once you have gained access, set up the development environment by following: | ||
|
||
1. We recommend using `rbenv` to handle `ruby` selection/installation. | ||
1. Install `rbenv` | ||
```zsh | ||
brew install rbenv | ||
``` | ||
2. Clone the [tomtom-navigation-ios-examples] repository | ||
```zsh | ||
git clone [email protected]:tomtom-international/tomtom-navigation-ios-examples.git | ||
``` | ||
3. Change directory to the related folder of the recently cloned repository and install `ruby` via `rbenv` | ||
```zsh | ||
cd tomtom-navigation-ios-examples/CocoaPods | ||
rbenv install | ||
``` | ||
4. Load `rbenv` to your shell | ||
```zsh | ||
echo 'eval "$(rbenv init - zsh)"' >> ~/.zshrc | ||
``` | ||
Above command assumes that `zsh` is being used. If a different shell is being used, then you can find | ||
commands for most common shells in [rbenv documentation]. | ||
|
||
5. Update `bundler` | ||
```zsh | ||
gem install bundler | ||
``` | ||
6. ***reload*** your shell so the `rbenv` can extend `PATH` accordingly. | ||
|
||
2. Install project's `gem` dependencies via `bundler` | ||
```zsh | ||
bundle install | ||
``` | ||
|
||
3. Add a reference to the [CocoaPods] private repository: | ||
```zsh | ||
bundle exec pod repo-art add tomtom-sdk-cocoapods "https://repositories.tomtom.com/artifactory/api/pods/cocoapods" | ||
``` | ||
|
||
4. Install the dependencies by executing the following command in **the project folder**. | ||
```zsh | ||
bundle exec pod install | ||
``` | ||
|
||
5. To update the SDK version, run the command: | ||
```zsh | ||
bundle exec pod repo-art update tomtom-sdk-cocoapods | ||
``` | ||
6. Open the project’s `xcworkspace` and start developing your awesome application. | ||
|
||
[CocoaPods]: (https://guides.cocoapods.org/using/getting-started.html) | ||
[rbenv documentation]: https://github.com/rbenv/rbenv#readme | ||
[tomtom-navigation-ios-examples]: https://github.com/tomtom-international/tomtom-navigation-ios-examples |
237 changes: 120 additions & 117 deletions
237
TomTomSDKExamples.xcodeproj/project.pbxproj → ...mTomSDKExamples.xcodeproj/project.pbxproj
Large diffs are not rendered by default.
Oops, something went wrong.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
## Development setup | ||
|
||
Once you have gained access, set up the development environment by following: | ||
|
||
1. Clone the [tomtom-navigation-ios-examples] repository | ||
```zsh | ||
git clone [email protected]:tomtom-international/tomtom-navigation-ios-examples.git | ||
``` | ||
2. Open the project’s `xcodeproj` in the `SPM` folder and start developing your awesome application. | ||
|
||
[tomtom-navigation-ios-examples]: https://github.com/tomtom-international/tomtom-navigation-ios-examples |
Oops, something went wrong.