|
1 | | -# ArcGIS Maps SDK for Swift Samples |
| 1 | +# ArcGIS Maps SDK for Swift Samples [](https://apps.apple.com/us/app/arcgis-maps-swift-samples/id1630449018) |
2 | 2 |
|
3 | | -This repository contains Swift sample code demonstrating the capabilities of the [ArcGIS Maps SDK for Swift](https://developers.arcgis.com/swift/) and how to use those capabilities in your own app. The project can be opened in Xcode and run on a simulator or a device. |
| 3 | +This repository contains Swift sample code demonstrating the capabilities of the [ArcGIS Maps SDK for Swift](https://developers.arcgis.com/swift/) and how to use those capabilities in your own app. The project can be opened in Xcode and run on a simulator or a device. Or you can [download the app from the App Store](https://apps.apple.com/us/app/arcgis-maps-swift-samples/id1630449018) on your iOS device. |
4 | 4 |
|
5 | 5 | ## Features |
6 | 6 |
|
@@ -36,25 +36,29 @@ The *ArcGIS Maps SDK for Swift Samples app* has a *Target SDK* version of *16.0* |
36 | 36 | ## Configuring API Keys |
37 | 37 |
|
38 | 38 | > [!IMPORTANT] |
39 | | -> Acquire the keys from your [dashboard](https://developers.arcgis.com/dashboard). Visit the developer's website to learn more about [API keys](https://developers.arcgis.com/documentation/mapping-apis-and-services/security/api-keys/). |
| 39 | +> To run this app and access ArcGIS Location Services, follow these steps to obtain an **API key** access token and store it in a secrets file stored in the project file's directory, `$(SRCROOT)/.secrets`. |
40 | 40 |
|
41 | | -To run this app and access specific, ready-to-use services such as basemap layer, follow the steps to add an API key to a secrets file stored in the project file's directory, `$(SRCROOT)/.secrets`. |
| 41 | +1. Go to the [Create an API key](https://developers.arcgis.com/documentation/security-and-authentication/api-key-authentication/tutorials/create-an-api-key/) tutorial to obtain the API key access token. Ensure that the following privileges are enabled: |
42 | 42 |
|
43 | | -1. Create a hidden secrets file in the project file's directory. |
| 43 | +* Location services > Basemaps |
| 44 | +* Location services > Geocoding |
| 45 | +* Location services > Routing |
| 46 | + |
| 47 | +2. Create a hidden secrets file in the project file's directory. |
44 | 48 |
|
45 | 49 | ```sh |
46 | 50 | touch .secrets |
47 | 51 | ``` |
48 | 52 |
|
49 | | -2. Add your **API Key** to the aforementioned secrets file. Adding an API key allows you to access a set of ready-to-use services, including basemaps. |
| 53 | +3. Add your API key to the aforementioned secrets file. Adding an API key allows you to access ArcGIS location services, such as the basemap styles service. |
50 | 54 |
|
51 | 55 | ```sh |
52 | 56 | echo ARCGIS_API_KEY_IOS=your-api-key >> .secrets |
53 | 57 | ``` |
54 | 58 |
|
55 | | - > Replace 'your-api-key' with your keys. |
| 59 | + > Replace 'your-api-key' with your API Key access token. |
56 | 60 |
|
57 | | -Please see [Configure App Secrets](Documentation/ConfigureAppSecrets.md) for adding license key and other details. |
| 61 | +Please see [Configure App Secrets](Documentation/ConfigureAppSecrets.md) for adding license string and other details. |
58 | 62 |
|
59 | 63 | ## Additional Resources |
60 | 64 |
|
|
0 commit comments