Copy Bundle Resources question


Marco S Hyman
 

I created a new project in Xcode 14.2. Selecting the project target, Build Phases tab and clicking on the disclosure arrow for Copy Bundle Resources shows existing resources and + and - buttons to modify the list. However, Xcode will not let me add a folder. That used to be allowed.

Do any of you know a way to get Xcode to add a folder hierarchy?

When I initially added the resources to the project Xcode flattened the contents of the folder and put all of the items in the Resource folder of the compiled app. For various reasons that doesn’t meet my needs.

I’m going to try to create a build script that will let me get the Resource layout that I want. But it shouldn’t be that hard.

Marc


Marco S Hyman
 

Never mind :-)

Answered my own question: I used the wrong option regarding creating folder references when initially adding the resources. Never fails -- asking the question leads me to figure out the answer.

On Dec 15, 2022, at 4:56 PM, Marco S Hyman <marc@...> wrote:

I created a new project in Xcode 14.2. Selecting the project target, Build Phases tab and clicking on the disclosure arrow for Copy Bundle Resources shows existing resources and + and - buttons to modify the list. However, Xcode will not let me add a folder. That used to be allowed.

Do any of you know a way to get Xcode to add a folder hierarchy?

When I initially added the resources to the project Xcode flattened the contents of the folder and put all of the items in the Resource folder of the compiled app. For various reasons that doesn’t meet my needs.

I’m going to try to create a build script that will let me get the Resource layout that I want. But it shouldn’t be that hard.

Marc