1

How can I create a new XML File in Xcode? There is no option for .xml in the "New File..." - Dialogue.I tried to copy paste and rename an existing xml File in Xcode´s project navigator (left pane), but then the program gives me an error when I run in the Simulator.

1
  • 1
    File>New>File... -> Empty and then name it Whatever.xml before clicking 'Create' or just drag an xml file to the project navigator and make sure 'Copy if needed' is checked. Commented May 29, 2018 at 14:50

1 Answer 1

1

select the folder and click the right button > add file > select empty file and name it "nameOfTheFile.xml".Now you have it.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.