This is my very simple script to lipo a simulator ...
# kotlin-native
s
This is my very simple script to lipo a simulator and device ios framework together.
Copy code
#!/bin/sh
./gradlew :roller-native:build
cd roller-native/build/konan/bin
rm -rf Roller.framework
mkdir Roller.framework
lipo ./ios_arm64/Roller.framework/Roller ./ios_x64/Roller.framework/Roller -create -output Roller.framework/Roller
cp -r ./ios_arm64/Roller.framework/Headers ./Roller.framework
cp -r ./ios_arm64/Roller.framework/Modules ./Roller.framework
cp ./ios_arm64/Roller.framework/Info.plist ./Roller.framework