# ATS Problems

**URL:** <https://forums.solar2d.com/t/ats-problems/341965>\
**Category:** iOS\
**Created:** [November 11, 2016, 1:23am UTC](https://forums.solar2d.com/t/ats-problems/341965 "2016-11-11T01:23:12Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![mdcapps](https://forums.solar2d.com/letter_avatar_proxy/v4/letter/m/dfb087/32.png) [@mdcapps](https://forums.solar2d.com/u/mdcapps)\
**Post date:** [November 11, 2016, 1:23am UTC](https://forums.solar2d.com/t/ats-problems/341965/1 "2016-11-11T01:23:12Z")

</div>

Hi there,

I’m trying to network.request my own website which isn’t secure (only a http&nbsp;not https), but running into difficulties with ATS.&nbsp;

I have attached a copy of my build.settings, that I thought would fix the issue, but has not.

Any help would be greatly appreciated, thanks&nbsp;

```
settings = { plist = { UIBackgroundModes = {"remote-notification"}, UIAppFonts = {"queen.ttf"}, NSAppTransportSecurity = { NSExceptionDomains = { ["mdcapps.com"] = { NSIncludesSubdomains = true, NSThirdPartyExceptionAllowsInsecureHTTPLoads = true, }, }, }, }, }
```

---

<div class="post-metadata">

**Author:** ![rob](https://forums.solar2d.com/user_avatar/forums.solar2d.com/rob/32/4_2.png) [@rob](https://forums.solar2d.com/u/rob)\
**Post date:** [November 11, 2016, 4:40pm UTC](https://forums.solar2d.com/t/ats-problems/341965/2 "2016-11-11T16:40:41Z")

</div>

Your build.settings isn’t correct. It should be:

```
settings =&nbsp; { &nbsp; &nbsp; &nbsp;iphone =&nbsp; &nbsp; &nbsp; &nbsp;{ &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;plist =&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;{ &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;-- stuff &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;} &nbsp; &nbsp; } }

```

You need that **iphone** table as the first sub-table of **settings** and then **plist** is a sub-table of **iphone**.

Rob

---

<div class="post-metadata">

**Author:** ![mdcapps](https://forums.solar2d.com/letter_avatar_proxy/v4/letter/m/dfb087/32.png) [@mdcapps](https://forums.solar2d.com/u/mdcapps)\
**Post date:** [November 11, 2016, 5:22pm UTC](https://forums.solar2d.com/t/ats-problems/341965/3 "2016-11-11T17:22:45Z")

</div>

D’oh! Thanks Rob.&nbsp;

---

<div class="post-metadata">

**Author:** ![rob](https://forums.solar2d.com/user_avatar/forums.solar2d.com/rob/32/4_2.png) [@rob](https://forums.solar2d.com/u/rob)\
**Post date:** [November 11, 2016, 4:40pm UTC](https://forums.solar2d.com/t/ats-problems/341965/4 "2016-11-11T16:40:41Z")

</div>

Your build.settings isn’t correct. It should be:

```
settings =&nbsp; { &nbsp; &nbsp; &nbsp;iphone =&nbsp; &nbsp; &nbsp; &nbsp;{ &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;plist =&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;{ &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;-- stuff &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;} &nbsp; &nbsp; } }

```

You need that **iphone** table as the first sub-table of **settings** and then **plist** is a sub-table of **iphone**.

Rob

---

<div class="post-metadata">

**Author:** ![mdcapps](https://forums.solar2d.com/letter_avatar_proxy/v4/letter/m/dfb087/32.png) [@mdcapps](https://forums.solar2d.com/u/mdcapps)\
**Post date:** [November 11, 2016, 5:22pm UTC](https://forums.solar2d.com/t/ats-problems/341965/5 "2016-11-11T17:22:45Z")

</div>

D’oh! Thanks Rob.&nbsp;
