Home > Net >  Changing the location for "Info.plist" in Xcode (swift)
Changing the location for "Info.plist" in Xcode (swift)

Time:11-18

Before you say that this is a minor problem and was discussed a million times here and on other forums. I want to say that I went through all of them and tried to implement each of there solution but with no luck. I either miss some very small detail or there is something wrong with my project in general. Hope you might help.

The problem: After I've changed the location of "Info.plist" my project shows black screen.

Or I get following errors:

enter image description here

Now try to run your project. I hope it fixes your problem.

Note: Also check the path of your info.plist file

Copy the path by selecting info.plist file -> Goto File Inspector -> Location: select Relative to project -> And copy that path

enter image description here

Now go to your Bundle settings -> Open Build Settings -> In Packaging edit Info.plist File -> And paste the path which you copied earlier.

enter image description here

CodePudding user response:

Have you tried deleting the Derived Data already created and then Clean build (CMD Shift K)?

To delete the derived data, XCode Preference > Location > DerivedData path

  • Related