Skip to content

Commit

Permalink
Update App Transport Secuirty Settings for Xcode 14.3 (#119)
Browse files Browse the repository at this point in the history
* Updated info.plist to allow localhost connection on Xcode 14.3

* Allow localhost connection to Watch app

* Allow localhost connection for watch extension
  • Loading branch information
tfmart authored Sep 8, 2023
1 parent 7d897fd commit ef6d583
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 3 deletions.
6 changes: 5 additions & 1 deletion OCKSample/Supporting Files/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,11 @@
<dict>
<key>localhost</key>
<dict>
<key>NSAllowsArbitraryLoads</key>
<key>NSExceptionRequiresForwardSecrecy</key>
<false/>
<key>NSExceptionAllowsInsecureHTTPLoads</key>
<true/>
<key>NSIncludesSubdomains</key>
<true/>
</dict>
</dict>
Expand Down
6 changes: 5 additions & 1 deletion OCKWatchSample Extension/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,12 @@
<dict>
<key>localhost</key>
<dict>
<key>NSAllowsArbitraryLoads</key>
<key>NSIncludesSubdomains</key>
<true/>
<key>NSExceptionAllowsInsecureHTTPLoads</key>
<true/>
<key>NSExceptionRequiresForwardSecrecy</key>
<false/>
</dict>
</dict>
</dict>
Expand Down
6 changes: 5 additions & 1 deletion OCKWatchSample/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,12 @@
<dict>
<key>localhost</key>
<dict>
<key>NSAllowsArbitraryLoads</key>
<key>NSIncludesSubdomains</key>
<true/>
<key>NSExceptionAllowsInsecureHTTPLoads</key>
<true/>
<key>NSExceptionRequiresForwardSecrecy</key>
<false/>
</dict>
</dict>
</dict>
Expand Down

0 comments on commit ef6d583

Please sign in to comment.