'When build A.framework with B.framework as dependency, B.framework is embed in A or not?
I wanna build A.framework with B.framework as dependency, B.framework is embed in A or not? Which means whether do I need to link B.framework while using A.framework.
How is framework is dynamic and static?
And how is .a?
And how to check it?
Solution 1:[1]
Let's if I can answer to the best of my knowledge.
Dynamic vs Static framework.
| parameters | Dynamic | Static |
|---|---|---|
| Size of the app | small | big |
| loading the framework | when needed | during launch |
| applaunch time | fast | slow |
| resource files | can include | cannot include |
Now to the question how to set the framework dynamic or static?
In BuildSettings->Search for mach-O as shown in the pic in the link. Buildsettings Image
Now to include the framework B in A. Go to build phases, add B.framework as dependent as linked library. BuildPhases Image
Regarding .a this is static library.
Hopefully this helps!
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 |
