again How to add one framework just want to build it output as a framework with my main proj
flyingDandelionYD opened this issue · 2 comments
I think i understand now what you want to achieve.
This is my guess, you want to create a target (TFPaySDK) that produces a framework as an output.
For that, there is no one single command, nor i think it fits the purpose of this library.
Still you can do that manually, You would need to do a series of steps (from the top of my head):
- Create a target object.
- Configure the target object build settings to match the bundle type of a framework.
- Add source files to the target object.
The best way to know exactly what to do is to reverse engineer what Xcode is doing. Start with an empty project, copy it and keep it as your source
. Use xcode to create the framework target, this will be your target
. Then compare both source
and target
using a diff viewer. Then you will see what configs and objects will need to be created and linked together.
I hope it helps you to continue with your project.
Thanks, I may know how to make it !