From 1e6b0d04392ada4106a5c5c8fad0c3404608dc4c Mon Sep 17 00:00:00 2001 From: Daniel Ponte Date: Wed, 14 Aug 2024 14:08:14 -0400 Subject: [PATCH] Fix on macos --- lib/main.dart | 1 + macos/Runner.xcodeproj/project.pbxproj | 4 +++- pubspec.lock | 2 +- pubspec.yaml | 1 + 4 files changed, 6 insertions(+), 2 deletions(-) diff --git a/lib/main.dart b/lib/main.dart index dabd575..b74e191 100644 --- a/lib/main.dart +++ b/lib/main.dart @@ -24,6 +24,7 @@ class CallsApp extends StatelessWidget { ), darkTheme: ThemeData( brightness: Brightness.dark, + scaffoldBackgroundColor: Colors.black, ), themeMode: ThemeMode.dark, home: const CallsHome(), diff --git a/macos/Runner.xcodeproj/project.pbxproj b/macos/Runner.xcodeproj/project.pbxproj index 843024a..31ab828 100644 --- a/macos/Runner.xcodeproj/project.pbxproj +++ b/macos/Runner.xcodeproj/project.pbxproj @@ -269,7 +269,6 @@ 33CC10EC2044A3C60003C045 = { CreatedOnToolsVersion = 9.2; LastSwiftMigration = 1100; - ProvisioningStyle = Automatic; SystemCapabilities = { com.apple.Sandbox = { enabled = 1; @@ -571,6 +570,7 @@ ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; CLANG_ENABLE_MODULES = YES; CODE_SIGN_ENTITLEMENTS = Runner/DebugProfile.entitlements; + CODE_SIGN_IDENTITY = "Apple Development"; CODE_SIGN_STYLE = Automatic; COMBINE_HIDPI_IMAGES = YES; DEVELOPMENT_TEAM = HPWYU9LLXA; @@ -706,6 +706,7 @@ ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; CLANG_ENABLE_MODULES = YES; CODE_SIGN_ENTITLEMENTS = Runner/DebugProfile.entitlements; + CODE_SIGN_IDENTITY = "Apple Development"; CODE_SIGN_STYLE = Automatic; COMBINE_HIDPI_IMAGES = YES; DEVELOPMENT_TEAM = HPWYU9LLXA; @@ -729,6 +730,7 @@ ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; CLANG_ENABLE_MODULES = YES; CODE_SIGN_ENTITLEMENTS = Runner/Release.entitlements; + CODE_SIGN_IDENTITY = "Apple Development"; CODE_SIGN_STYLE = Automatic; COMBINE_HIDPI_IMAGES = YES; DEVELOPMENT_TEAM = HPWYU9LLXA; diff --git a/pubspec.lock b/pubspec.lock index 903227a..ae068fa 100644 --- a/pubspec.lock +++ b/pubspec.lock @@ -26,7 +26,7 @@ packages: source: hosted version: "4.0.3" audioplayers_darwin: - dependency: transitive + dependency: "direct main" description: name: audioplayers_darwin sha256: "3034e99a6df8d101da0f5082dcca0a2a99db62ab1d4ddb3277bed3f6f81afe08" diff --git a/pubspec.yaml b/pubspec.yaml index ac00848..6836261 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -44,6 +44,7 @@ dependencies: flutter_secure_storage: ^9.2.2 http: ^1.2.2 audioplayers_linux: ^3.1.0 + audioplayers_darwin: ^5.0.2 dev_dependencies: flutter_test: