Questions tagged [static-framework]
8 questions
8
votes
1 answer
Does iOS lost most of the advantage of using dynamic frameworks?
Does iOS lost most of the advantage of using dynamic frameworks?
Since iOS will copy all the dynamic frameworks needed into the app bundle, it doesn't share dynamic frameworks between apps and save memory. Except for sharing memory with the main…

allenlinli
- 2,066
- 3
- 27
- 49
6
votes
2 answers
XCFramework with static frameworks sub dependencies
I have a XCFramework which depends upon several static frameworks.
My XCFramework is built with BUILD_FOR_LIBRARIES_FOR_DISTRIBUTION enabled.
The sub frameworks don't need to be accessible from outside the XCFramework.
When I try to compile my…

Dubon Ya'ar
- 349
- 4
- 13
3
votes
0 answers
Xcode doesn't strip unused symbol for static framework
I'm trying to learn the concept of dead-code stripping of Apple.
To test this behavior, I've created a simple demo using SPM. I've measured app size in 3 different scenarios:
Create a new project, then export with app thinning enabled
Add Pulse &…

Hoang Anh Tuan
- 370
- 3
- 9
3
votes
1 answer
How to avoid duplication of clases in a multiproject workspace using cocoapods
I'm making an app in my spare time and I wanted to ask you a question, my workspace has 3 subprojects: presentation, domain and data, each one is a static framework and has its own pods, and all very cool, but now I have a problem that I don't know…

Ricardo
- 7,921
- 14
- 64
- 111
1
vote
0 answers
How to avoid containing duplicate static framework?
I want to create xcframework to wrap cocoa pods framework for my customer.
I created project for it, and created PodFile to install one framework, and implement some function and run script to create my custom xcframework.
The cocoa Pods framework…

mark
- 11
- 1
1
vote
1 answer
Static Swift framework fails CocoaPods validation with `Undefined symbols for architecture`
I am using Xcode 12.2, and working on a Swift static framework (embedded in a .xcframework in the end), which I intend to deliver with CocoaPods.
My issue is currently not the CocoaPods integration in an app project (pod install works correctly and…

BetaCoder
- 23
- 5
1
vote
0 answers
How to use static Objective-C frameworks in a CocoaPod written in Swift?
I have a CocoaPod written in Swift 4. Now I need to add some new features to this pod. To be able to do it I need to use a static framework written in Objective-C.
I supposed I need to use a bridging header, but I don't know how should I modify my…

Roman Podymov
- 4,168
- 4
- 30
- 57
0
votes
1 answer
cocoad pods - build static framework
Hi have this cocoapod framework, which I distribute in binary mode only (no sources). Basically, I am distributing the output of carthage build, which creates a dynamic framework.
I have been asked to release a static version of this framework as…

elcuco
- 8,948
- 9
- 47
- 69