DaveS
31 January 2024 21:13
1
<?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>ITSAppUsesNonExemptEncryption</key>
<false/>
<dict/>
</plist>
I get a
unable to read input file as a property list: The operation couldn’t be completed. (XCBUtil.PropertyListConversionError error 2.)
but this
<?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/>
</plist>
“works”, but of course it contains zero keys…
Dunno as the one I made in Xcode looks similar
<?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>ITSAppUsesNonExemptEncryption</key>
<false/>
</dict>
</plist>
hidden special chars or something ?
SteveW
31 January 2024 21:55
3
DaveS:
<dict/>
Perhaps should be </dict>
?
DaveS
31 January 2024 22:08
4
turns out there was nothing wrong, except for the fact that since Xcode 13 , an info.plist was no longer required… so by adding one, it conflicted with the internal copy.
For those that need to alter this data in an Xcode project…
Select the TARGET file
Select INFO from the top bar, this will display the internal “pList”
click on any existing item
click on the (+) and a list of “keys” will appear
select the key you wish to add
set its value