<commit_before>## Instructions extracted from here : http://stackoverflow.com/documentation/xamarin.ios/6091/binding-swift-libraries

framework='Hero'
sdk='iphoneos10.2'

### -----------------------------------------
### GENERATE FAT LIBRARY
### -----------------------------------------

## Delete old output
rm -rf output
mkdir output

## Copy framework
cp -rf input/Release-iphonesimulator/$framework.framework output/$framework.framework

## Build
lipo -create input/Release-iphonesimulator/$framework.framework/$framework input/Release-iphoneos/$framework.framework/$framework -output output/$framework.framework/$framework

## Copy result to output
cp -rf input/Release-iphonesimulator/$framework.framework/Modules/$framework.swiftmodule output/$framework.framework/Modules/$framework.swiftmodule

### -----------------------------------------
### GENERATE API DEFINITION<commit_msg>Fix build.sh<commit_after>## Instructions extracted from here : http://stackoverflow.com/documentation/xamarin.ios/6091/binding-swift-libraries

framework='Hero'
sdk='iphoneos10.2'

### -----------------------------------------
### GENERATE FAT LIBRARY
### -----------------------------------------

## Delete old output
rm -rf output
mkdir output

## Copy framework
cp -rf input/Release-iphonesimulator/$framework.framework output/$framework.framework

## Build
lipo -create input/Release-iphonesimulator/$framework.framework/$framework input/Release-iphoneos/$framework.framework/$framework -output output/$framework.framework/$framework

## Copy result to output
cp -r input/Release-iphonesimulator/$framework.framework/Modules/$framework.swiftmodule/ output/$framework.framework/Modules/$framework.swiftmodule

### -----------------------------------------
### GENERATE API DEFINITION
{'fraction_non_alphanumeric': 0.24648283624085537, 'fraction_numerical': 0.007878446820483961, 'mean_word_length': 2.799145299145299, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2167970', 'n_tokens_mistral': 449, 'n_tokens_neox': 428, 'n_words': 86}