Skip to content

Instantly share code, notes, and snippets.

View rubensmachion's full-sized avatar
🏠
Working from home

Rubens Iotti Machion rubensmachion

🏠
Working from home
View GitHub Profile
@bimawa
bimawa / create-xcframework.sh
Created June 19, 2022 08:01
Create xcframework for some Package.swift's
#!/bin/bash
set -x
set -e
# Pass scheme name as the first argument to the script
NAME=$1
# Rewrite Package.swift so that it declaras dynamic libraries, since the approach does not work with static libraries
perl -i -p0e 's/type: .static,//g' Package.swift