Hello,
i don’t know if its a bug or not but on the latest macos version with xcode i can’t use the builtin Info.plist because of this string in the second line:
[ <!ATTLIST key merge (keep) #IMPLIED> ]
In Xcode i’ve got the error of a missing Info.plist (when i tried to install it on my device) and after checking it with plutil i’ve found the error.
I copied and removed this piece of code and everything worked fine.
Is this a normal behavior? Did i missed something?
AGulev
October 5, 2022, 4:22pm
2
no, it’s a bug.
Fixed in 1.3.7 beta.
As a workaround you can create your custom plist (just copy-paste th default one) and remove this block.
opened 09:05AM - 03 Oct 22 UTC
closed 12:26PM - 03 Oct 22 UTC
bug
bob
ios
**Describe the bug (REQUIRED)**
An iOS application without native extensions fa… il to install due to an invalid Info.plist file. The problem is caused by the recently introduced merge node marker (https://github.com/defold/defold/pull/6914) which declares a new key attribute to flag keys when merging manifests:
```
<!DOCTYPE plist PUBLIC “-//Apple//DTD PLIST 1.0//EN” “http://www.apple.com/DTDs/PropertyList-1.0.dtd” [ <!ATTLIST key merge (keep) #IMPLIED> ]>
```
The above is perfectly fine and completely valid as part of a normal XML DTD, but apparently Apple is very strict with the content allowed in the plist file. Trying to open the default Inof.plist file in XCode actually shows that it contains unexpected data:

**To Reproduce (REQUIRED)**
Steps to reproduce the behavior:
1. Bundle iOS application without extensions
2. Install
3. Notice error
**Expected behavior (REQUIRED)**
It should be possible to install an iOS application without native extensions
**Defold version (REQUIRED):**
- Version 1.3.6
**Platforms (REQUIRED):**
- Platforms: iOS
**Workaround (OPTIONAL):**
Manually edit the plist file and remove the invalid content.
Ahh okay, thank you i’ve done it already.
1 Like