Resolved To what folder on my Mac does the bundle URL correspond?

Discussion in 'iOS Programming' started by moonman239, May 22, 2015.

  1. moonman239, May 22, 2015
    Last edited: May 23, 2015

    moonman239 macrumors 68000

    Mar 27, 2009
    If I want a file to be in my bundle but not in a subdirectory, where in the Xcode project should I put that file?
  2. PhoneyDeveloper macrumors 68040


    Sep 2, 2008
    It's not where in the project but rather the type of the file that controls this. For many types of non-source-code files Xcode just copies them to the root of the bundle. If you look at the Build Phases > Copy Bundle Resources build step you'll see all the files that are copied into your bundle.

    You can print out the full paths to these files when your app launches or open up the app bundle in the Finder to see where these files are.
  3. moonman239 thread starter macrumors 68000

    Mar 27, 2009

Share This Page