pikapika/scripts/build-ipa.sh

16 lines
312 B
Bash
Raw Permalink Normal View History

2022-02-10 14:58:48 +00:00
# 构建未签名的IPA
2022-02-11 02:06:19 +00:00
cd "$( cd "$( dirname "$0" )" && pwd )/.."
2022-02-10 14:58:48 +00:00
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
2022-03-07 12:18:30 +00:00
sh ../scripts/thin-payload.sh
2022-02-10 14:58:48 +00:00
zip -9 nosign.ipa -r Payload