How to compile Foundation and use it in my Xcode project?

Hello to all,

my name is Macabeus and I'm studying Swift compiler and Swift's libraries.
Then, I made some changes in Foundation for study purposes. I can compile
Foundation in Xcode:
<img src='//cdck-file-uploads-global.s3.dualstack.us-west-2.amazonaws.com/swift/original/1X/23cf199f26709b38817c75674cca603891ce7381.png' width='690' height='78'>

But, how to use my Foundation library in another Xcode project? I need test
my changes in another project.
I expected it was generated a package, but it not made new file.

Also, another questions: this is a good issue?
<https://bugs.swift.org/browse/SR-3027&gt; I want to resolve this issue, to
learning.

Thank you for your attention.