bielikb / xcframeworks

Demonstration of creating and integrating xcframeworks and their co-op with static libraries and Swift packages
MIT License
536 stars 46 forks source link

I am able to create the framework but have 1GB size for XCFramework. #15

Open rushangfynd opened 2 years ago

rushangfynd commented 2 years ago

My own pods have around 2100 Files

In XCFramework,

Anyway to reduce the size of XCFramework?

xcodebuild archive \
-workspace MyWorkspace.xcworkspace \
-scheme MyScheme \
-destination "generic/platform=iOS" \
-archivePath "archives/MyScheme-iOS" \
SKIP_INSTALL=NO \
BUILD_LIBRARY_FOR_DISTRIBUTION=YES