My project (Unity 2017.1.1) is building okay in XCode 9, but when I try and export an Adhoc build, I get an error saying “The data couldn’t be read because it isn’t in the correct format.”
Any ideas?
My project (Unity 2017.1.1) is building okay in XCode 9, but when I try and export an Adhoc build, I get an error saying “The data couldn’t be read because it isn’t in the correct format.”
Any ideas?
Seriously… is no-one else getting this error?
I’ve tested with a couple of projects, including a totally fresh blank one.
Have tried with:
I am getting the same error. and i have no clue. i have tried to figure this out for days.
Same here. I’m downgrading xcode to 8.3.3 right now and i’ll reply if it works.
Edit: Worked out. Avoid XC9 for now…
This seems to be fine for me now in the latest version of XCode.
OK it is a problem with the info.plist file.
To replicate this run this command “plutil info.plist” from terminal in the directory where info.plist is located.
For me it then told me that " Encountered unexpected character [ on line 2 while parsing inline DTD"
So because i could not edit the info.plist in Xcode (I was getting a “The data couldn’t be read because it isn’t in the correct format” dialog box) - I opened the info.plist file with textedit and removed the second line “”
After that all was good and the build worked fine.