fluffychat/scripts/release-ios-testflight.sh
Krille 9069c61b97
build: Use 0.1.0 fcm_shared_isolate on ios
Signed-off-by: Krille <c.kussowski@famedly.com>
2025-04-23 08:25:40 +02:00

16 lines
No EOL
393 B
Bash
Executable file

#!/bin/sh -ve
git apply ./scripts/enable-android-google-services.patch
yq eval '.dependencies.fcm_shared_isolate = "0.1.0"' -i pubspec.yaml # Workaround: 0.2.0 does not work on iOS
flutter clean
flutter pub get
cd ios
rm -rf Pods
rm -f Podfile.lock
arch -x86_64 pod install
arch -x86_64 pod update
cd ..
flutter build ios --release
cd ios
bundle update fastlane
bundle exec fastlane beta
cd ..