Where do I find the Xcode Resources folder?

In a guide to iOS app coding I found the following sentence. But where on a MacBook with macOS Catalina 10.15.7, running Xcode 12.4 do I find that Resources folder?:


" Kivy uses SDL, and as soon as the application starts the SDL main, the launch image will disappear. To prevent that, you need to have 2 files named Default.png and Default-Landscape.png, and put them in the Resources folder in Xcode (not in your application folder) "


MacBook Pro 13″, macOS 10.15

Posted on Mar 1, 2021 4:18 AM

Reply
Question marked as Top-ranking reply

Posted on Mar 2, 2021 12:39 PM

The instructions you quoted are not clear. You would have to ask on a Kivy forum or mailing list to get clarification on what Resources folder they are talking about.


Generally an iOS or Mac app is an app bundle, which is a directory of files that looks like a single file in the Finder. If you select an app in your Mac's Application, right-click, and choose Show Package Contents, you can see how an app bundle is structured. An app bundle has a Resources folder, where image files would go.


What most iOS and Mac apps would do is copy image files to the Resources folder inside their app's app bundle, which Xcode creates when building the project. Adding the image files to the Xcode project should be enough to copy the files to your app bundle's Resources folder when building the project. But to make sure, check that the files are in the app target's Copy Bundle Resources build phase.


  1. Select the project from the left side of the project window to open the project editor.
  2. Select the app target from the list of targets on the left side of the project editor.
  3. Click the Build Phases button at the top of the project editosr.
  4. Click the disclosure triangle next to the Copy Bundle Resources build phase to see the files in the build phase.
  5. If the image files aren't in the Copy Bundle Resources build phase, click the Add (+) button at the bottom of the list of files to add the image files to the build phase.


Keep in mind that what I have described is how things work for native iOS and Mac projects. Kivy might do things differently. But the chances of finding someone on this forum who uses Kivy are slim. That is why you have to ask on a Kivy forum to get a definitive answer.

Similar questions

2 replies
Question marked as Top-ranking reply

Mar 2, 2021 12:39 PM in response to henrik-dk

The instructions you quoted are not clear. You would have to ask on a Kivy forum or mailing list to get clarification on what Resources folder they are talking about.


Generally an iOS or Mac app is an app bundle, which is a directory of files that looks like a single file in the Finder. If you select an app in your Mac's Application, right-click, and choose Show Package Contents, you can see how an app bundle is structured. An app bundle has a Resources folder, where image files would go.


What most iOS and Mac apps would do is copy image files to the Resources folder inside their app's app bundle, which Xcode creates when building the project. Adding the image files to the Xcode project should be enough to copy the files to your app bundle's Resources folder when building the project. But to make sure, check that the files are in the app target's Copy Bundle Resources build phase.


  1. Select the project from the left side of the project window to open the project editor.
  2. Select the app target from the list of targets on the left side of the project editor.
  3. Click the Build Phases button at the top of the project editosr.
  4. Click the disclosure triangle next to the Copy Bundle Resources build phase to see the files in the build phase.
  5. If the image files aren't in the Copy Bundle Resources build phase, click the Add (+) button at the bottom of the list of files to add the image files to the build phase.


Keep in mind that what I have described is how things work for native iOS and Mac projects. Kivy might do things differently. But the chances of finding someone on this forum who uses Kivy are slim. That is why you have to ask on a Kivy forum to get a definitive answer.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Where do I find the Xcode Resources folder?

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.