Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

XCode 6.0.1 - xmlParseEntityRef: no name on Launch Screen.xib

After adding a Launch Screen on my Project, XCode 6 immediately flags me with

Line 14: xmlParseEntityRef: no name

Everytime I choose the Launch Screen.xib, XCode notifies me of this issue. I checked and Launch Screen.xib is present on my Bundle Resources.

I wonder what's wrong.

XCode Version 6.0.1 Deployment Target: 7.1 Language: Objective-C

like image 777
aalesano Avatar asked Sep 26 '14 09:09

aalesano


2 Answers

I just filed a bug report with Apple on this same issue. The default Launch Screen template includes your app's name as a label and if that name has an ampersand it invalidates the XML. You can fix this by opening your Launch Screen in a text editor (right click on it in Xcode and select "Open with External Editor" and then doing a Find & Replace for & with &.

like image 95
richrad Avatar answered Oct 13 '22 19:10

richrad


Open with External Editor and then doing a Find and Replace for & with & worked for me. I found I needed & instead of &amp to clear an additional error message

Line 14: EntityRef: expecting ';'

Thank you.

like image 25
Greg Avatar answered Oct 13 '22 20:10

Greg