pikapika/scripts/build-ipa.sh

16 lines
312 B
Bash

# 构建未签名的IPA
cd "$( cd "$( dirname "$0" )" && pwd )/.."
cd go/mobile
gomobile bind -target=ios -o lib/Mobile.xcframework ./
cd ../..
flutter build ios --release --no-codesign
cd build
mkdir -p Payload
mv ios/iphoneos/Runner.app Payload
sh ../scripts/thin-payload.sh
zip -9 nosign.ipa -r Payload