CI: Update iOS fastlane

This commit is contained in:
Krille Fear 2021-11-27 12:12:58 +01:00
parent 2559190355
commit a697f56ec5
3 changed files with 4 additions and 3 deletions

View file

@ -26,8 +26,8 @@ platform :ios do
config = File.read("../../pubspec.yaml") config = File.read("../../pubspec.yaml")
version_name = config.match(re).captures[0] version_name = config.match(re).captures[0]
increment_version_number(version_number: version_name) increment_version_number(version_number: version_name)
#build_app(workspace: "Runner.xcworkspace", scheme: "Runner") build_app(workspace: "Runner.xcworkspace", scheme: "Runner")
#upload_to_testflight upload_to_testflight
end end
end end

View file

@ -7,6 +7,7 @@ import Foundation
import audioplayers import audioplayers
import file_selector_macos import file_selector_macos
import firebase_core
import flutter_local_notifications import flutter_local_notifications
import geolocator_apple import geolocator_apple
import package_info import package_info
@ -20,6 +21,7 @@ import wakelock_macos
func RegisterGeneratedPlugins(registry: FlutterPluginRegistry) { func RegisterGeneratedPlugins(registry: FlutterPluginRegistry) {
AudioplayersPlugin.register(with: registry.registrar(forPlugin: "AudioplayersPlugin")) AudioplayersPlugin.register(with: registry.registrar(forPlugin: "AudioplayersPlugin"))
FileSelectorPlugin.register(with: registry.registrar(forPlugin: "FileSelectorPlugin")) FileSelectorPlugin.register(with: registry.registrar(forPlugin: "FileSelectorPlugin"))
FLTFirebaseCorePlugin.register(with: registry.registrar(forPlugin: "FLTFirebaseCorePlugin"))
FlutterLocalNotificationsPlugin.register(with: registry.registrar(forPlugin: "FlutterLocalNotificationsPlugin")) FlutterLocalNotificationsPlugin.register(with: registry.registrar(forPlugin: "FlutterLocalNotificationsPlugin"))
GeolocatorPlugin.register(with: registry.registrar(forPlugin: "GeolocatorPlugin")) GeolocatorPlugin.register(with: registry.registrar(forPlugin: "GeolocatorPlugin"))
FLTPackageInfoPlugin.register(with: registry.registrar(forPlugin: "FLTPackageInfoPlugin")) FLTPackageInfoPlugin.register(with: registry.registrar(forPlugin: "FLTPackageInfoPlugin"))

View file

@ -10,7 +10,6 @@ pod update
cd .. cd ..
flutter build ios --release flutter build ios --release
cd ios cd ios
bundle install
bundle update fastlane bundle update fastlane
bundle exec fastlane beta bundle exec fastlane beta
cd .. cd ..