Skip to content

Commit e5b3780

Browse files
committed
Updates Carthage section of Intro docs
1 parent 9f586bd commit e5b3780

File tree

2 files changed

+42
-3
lines changed

2 files changed

+42
-3
lines changed

docs/docs/introduction.md

+5-3
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,9 @@ Get started by installing the dependencies in your application
1010
```sh
1111
yarn add react-native-app-auth
1212
```
13+
1314
Or
15+
1416
```sh
1517
npm install react-native-app-auth --save
1618
```
@@ -68,11 +70,11 @@ AppAuth supports three options for dependency management.
6870

6971
github "openid/AppAuth-iOS" "master"
7072

71-
Then run `carthage update --platform iOS`.
73+
Then run `carthage update --platform iOS --use-xcframeworks`.
7274

73-
Drag and drop `AppAuth.framework` from `ios/Carthage/Build/iOS` under `Frameworks` in `Xcode`.
75+
Drag and drop `AppAuth.xcframework` from `ios/Carthage/Build` under `Frameworks` in `Xcode`.
7476

75-
Add a copy files build step for `AppAuth.framework`: open Build Phases on Xcode, add a new "Copy Files" phase, choose "Frameworks" as destination, add `AppAuth.framework` and ensure "Code Sign on Copy" is checked.
77+
Add a copy files build step for `AppAuth.xcframework`: open Build Phases on Xcode, add a new "Copy Files" phase, choose "Frameworks" as destination, add `AppAuth.xcframework` and ensure "Code Sign on Copy" is checked.
7678

7779
3. **Static Library**
7880

Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3+
<plist version="1.0">
4+
<dict>
5+
<key>NSPrivacyAccessedAPITypes</key>
6+
<array>
7+
<dict>
8+
<key>NSPrivacyAccessedAPIType</key>
9+
<string>NSPrivacyAccessedAPICategoryFileTimestamp</string>
10+
<key>NSPrivacyAccessedAPITypeReasons</key>
11+
<array>
12+
<string>C617.1</string>
13+
</array>
14+
</dict>
15+
<dict>
16+
<key>NSPrivacyAccessedAPIType</key>
17+
<string>NSPrivacyAccessedAPICategoryUserDefaults</string>
18+
<key>NSPrivacyAccessedAPITypeReasons</key>
19+
<array>
20+
<string>CA92.1</string>
21+
</array>
22+
</dict>
23+
<dict>
24+
<key>NSPrivacyAccessedAPIType</key>
25+
<string>NSPrivacyAccessedAPICategorySystemBootTime</string>
26+
<key>NSPrivacyAccessedAPITypeReasons</key>
27+
<array>
28+
<string>35F9.1</string>
29+
</array>
30+
</dict>
31+
</array>
32+
<key>NSPrivacyCollectedDataTypes</key>
33+
<array/>
34+
<key>NSPrivacyTracking</key>
35+
<false/>
36+
</dict>
37+
</plist>

0 commit comments

Comments
 (0)