Skip to content

Instantly share code, notes, and snippets.

View tamimattafi's full-sized avatar
🤡
ABSTRACTION!

Tamim Attafi tamimattafi

🤡
ABSTRACTION!
View GitHub Profile
@sundeepgupta
sundeepgupta / create-fat-framework.sh
Last active December 16, 2024 20:58
Script to create a universal or "fat" binary for an iOS framework.
#!/bin/bash
# Adapted from http://stackoverflow.com/questions/24039470/xcode-6-ios-creating-a-cocoa-touch-framework-architectures-issues/26691080#26691080
# and https://gist.github.com/cromandini/1a9c4aeab27ca84f5d79
# Create a new aggregate target.
# For the automatically generated scheme, change its build config to "release".
# Ensure this target's "product name" build setting matches the framework's.
# Add a run script with `source "${PROJECT_DIR}/path_to_this_script`