This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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 |