pikapika/scripts/build-ipa.sh

17 lines
343 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
2023-11-17 05:02:49 +00:00
gomobile init
2022-10-18 03:35:30 +00:00
gomobile bind -iosversion 11.0 -target=ios -o lib/Mobile.xcframework ./
2022-02-10 14:58:48 +00:00
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