<commit_before>---
title: iOS Objective-C Tutorial
name: iOS - Objective C
hybrid: false
alias:
  - ios
  - iphone
  - ipad
language:
  - Objective C
image: /media/platforms/ios.png
tags:
  - quickstart
snippets:
  dependencies: native-platforms/ios-objc/dependencies
  setup: native-platforms/ios-objc/setup
  use: native-platforms/ios-objc/use
alias:
  - objective-c
  - iphone
  - ipad
---

## iOS Objective-C Tutorial

<%= include('../_includes/package', {
  pkgRepo: 'native-mobile-samples',
  pkgBranch: 'master',
  pkgPath: 'examples/refresh-token-sample',
  pkgFilePath: 'iOS/basic-sample/basic-sample/Info.plist' + account.clientParam,
  pkgType: 'replace'
}) %>

**Otherwise, if you already have an existing application, please follow the steps below.**

### Before Starting

<div class="setup-callback">
<p>Go to the <a href="${uiAppSettingsURL}">Application Settings</a> section in the Auth0 dashboard and make sure that <b>Allowed Callback URLs</b> contains the following value:</p>

<pre><code>a0${account.clientId}://\*.auth0.com/authorize</pre></code>
</div>

### 1. Adding the Auth0 dependencies

Add the following to the `Podfile` and run `pod install`:<commit_msg>Correct package path for seed<commit_after>---
title: iOS Objective-C Tutorial
name: iOS - Objective C
hybrid: false
alias:
  - ios
  - iphone
  - ipad
language:
  - Objective C
image: /media/platforms/ios.png
tags:
  - quickstart
snippets:
  dependencies: native-platforms/ios-objc/dependencies
  setup: native-platforms/ios-objc/setup
  use: native-platforms/ios-objc/use
alias:
  - objective-c
  - iphone
  - ipad
---

## iOS Objective-C Tutorial

<%= include('../_includes/package', {
  pkgRepo: 'native-mobile-samples',
  pkgBranch: 'master',
  pkgPath: 'iOS/basic-sample',
  pkgFilePath: 'iOS/basic-sample/basic-sample/Info.plist' + account.clientParam,
  pkgType: 'replace'
}) %>

**Otherwise, if you already have an existing application, please follow the steps below.**

### Before Starting

<div class="setup-callback">
<p>Go to the <a href="${uiAppSettingsURL}">Application Settings</a> section in the Auth0 dashboard and make sure that <b>Allowed Callback URLs</b> contains the following value:</p>

<pre><code>a0${account.clientId}://\*.auth0.com/authorize</pre></code>
</div>

### 1. Adding the Auth0 dependencies

Add the following to the `Podfile` and run `pod install`:
{'fraction_non_alphanumeric': 0.14394259181089067, 'fraction_numerical': 0.004221190375685944, 'mean_word_length': 4.17467248908297, 'pattern_counts': {'":': 0, '<': 29, '<?xml version=': 0, '>': 29, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1770489', 'n_tokens_mistral': 818, 'n_tokens_neox': 776, 'n_words': 211}