Xcode Framework Resource Handling

I am new to Xcode Framework. Just made a package that will be used as a framework in other projects. My question is: how to make exp: .xib resources, images used by another project? I tried to use the package resources for the assembly in the build phases, but I do not know how to get them.

+4
source share
2 answers

This is pretty tricky. I relied on the excellent work of Karl Stenerod found here .

+1
source

to add resources (xib and images), copy them to the project folder and drag and drop supporting files (or any folder you created) into the Xcode project, and in the pop-up window check the copies of the elements in the target group, and also select the target ..

then you can find these resources copied in Build Phase> copy bundle resources

Change ! you want to ask something like this: where to find these Facebook frame images in your project? and you say that they are not found in the copy resources?

0
source

Source: https://habr.com/ru/post/1439284/


All Articles