Commit 6b43a49
committed
fix(ios): remove NSAllowsLocalNetworking so NSAllowsArbitraryLoads is honored
Cleartext gateway probes still failed on a clean Xcode Cloud build despite
NSAllowsArbitraryLoads=true. Root cause is a documented ATS rule: on iOS 10+,
NSAllowsArbitraryLoads is IGNORED (treated as NO) if NSAllowsLocalNetworking
(or the media/web-content variants) is also present. Our plist had both, so ATS
stayed enforced and blocked http://<ip>:51821. Drop NSAllowsLocalNetworking;
arbitrary loads now actually applies. (Verified on-device the only failing
discovery step was the cleartext fetch — Flux API HTTPS already worked.)1 parent 2d61be1 commit 6b43a49
1 file changed
Lines changed: 4 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
37 | | - | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
38 | 41 | | |
39 | 42 | | |
40 | | - | |
41 | | - | |
42 | 43 | | |
43 | 44 | | |
44 | 45 | | |
| |||
0 commit comments