pikapika/scripts/build-ipa.sh

17 lines
350 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
2022-03-22 09:12:48 +00:00
go get golang.org/x/mobile/cmd/gobind
2022-02-10 14:58:48 +00:00
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