How to modify info.plist?

0
146


So i need to disable ATS in my xcode project by typing

<key>NSAppTransportSecurity</key>
  <dict>
      <key>NSAllowsArbitraryLoads</key>
      <true/>
  </dict>

in my info.plist. However my info.plist file contains only

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
    <key>LastAccessedDate</key>
    <date>2022-11-06T09:15:11Z</date>
    <key>WorkspacePath</key>
    <string>/Users/markmarus/Desktop/name/name.xcodeproj</string>
</dict>
</plist>

There also is a scm.plist which contains

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
    <key>Version</key>
    <integer>5</integer>
</dict>
</plist>

After adding ATS settings and starting simulator up the info.plist file just deletes added lines so it changes nothing.