flutter_sound icon indicating copy to clipboard operation
flutter_sound copied to clipboard

[BUG]:Cannot run Flutter 2.5 app on simulator with flutter_sound

Open tkeithblack opened this issue 4 years ago • 23 comments

Flutter Sound Version : flutter_sound 8.14 through 8.3.12 (I've tried various versions)

  • FULL

  • Important: Result of the command : flutter pub deps | grep flutter_sound FINE: Pub 2.14.2 | |-- flutter_sound 8.3.12 | | |-- flutter_sound_platform_interface 8.3.12 | | |-- flutter_sound_web 8.3.12 | | | |-- flutter_sound_platform_interface...


Severity

  • Cannot build my App

Platforms you faced the error

  • iOS Simulator Version 12.5.1 (961.1)

Describe the bug When I build a flutter app using flutter 2.5.1 and I include flutter_sound, the app will not run on the simulator using the flutter run command. However, if I use flutter run and direct execution to a physical device it does run.

Furthermore, if I run the app from XCode and target the simulator it will run.

I have been using flutter_sound for about a year on other versions of flutter, however, when I upgraded to flutter 2.5 this started happening. I then rolled back to flutter 2.1.3 and the issue stopped occurring. After upgrading to flutter 2.5 again the issue started occurring again.

I have been through many many cycles of deleting caches, DerivedData, flutter clean, etc. etc. to no avail.

To Reproduce Steps to reproduce the behavior:

  1. Create a new counter app (default flutter app)
  2. Add flutter_sound 8.3.12 to the Pubspec.yaml file
  3. Build the file using flutter run and target the iOS simulator.
  4. Below is a preview of the output, look at the attached log for the full verbose output:

(notice the references to mobile-ffmpeg-audio and building for iOS Simulator):

/Users/keithblack/Library/Developer/Xcode/DerivedData/Runner-gejpisazgavnwcdkopckhpbmbxgn/Build/Intermediates.noin
                            dex/Runner.build/Debug-iphonesimulator/Runner.build/Objects-normal/arm64/Binary/Runner
                        ld: in
/Users/keithblack/GitHub/flutter_application_1/ios/Pods/mobile-ffmpeg-audio/lame.framework/lame(VbrTag.o),
                        building for iOS Simulator, but linking in object file built for iOS, file
                        '/Users/keithblack/GitHub/flutter_application_1/ios/Pods/mobile-ffmpeg-audio/lame.framework/lame'
for architecture
                        arm64
                        clang: error: linker command failed with exit code 1 (use -v to see invocation)
                    
                    
[+4734 ms] Could not build the application for the simulator.
[   +3 ms] Error launching application on iPhone 12 Pro.
[   +5 ms] "flutter run" took 49,727ms.
[   +7 ms] 
           #0      throwToolExit (package:flutter_tools/src/base/common.dart:10:3)
           #1      RunCommand.runCommand (package:flutter_tools/src/commands/run.dart:669:9)
           <asynchronous suspension>
           #2      FlutterCommand.run.<anonymous closure> (package:flutter_tools/src/runner/flutter_command.dart:1125:27)
           <asynchronous suspension>
           #3      AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
           <asynchronous suspension>
           #4      CommandRunner.runCommand (package:args/command_runner.dart:209:13)
           <asynchronous suspension>
           #5      FlutterCommandRunner.runCommand.<anonymous closure>
           (package:flutter_tools/src/runner/flutter_command_runner.dart:288:9)
           <asynchronous suspension>
           #6      AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
           <asynchronous suspension>
           #7      FlutterCommandRunner.runCommand (package:flutter_tools/src/runner/flutter_command_runner.dart:236:5)
           <asynchronous suspension>
           #8      run.<anonymous closure>.<anonymous closure> (package:flutter_tools/runner.dart:62:9)
           <asynchronous suspension>
           #9      AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
           <asynchronous suspension>
           #10     main (package:flutter_tools/executable.dart:92:3)
           <asynchronous suspension>
           
           
[  +63 ms] ensureAnalyticsSent: 61ms
[   +1 ms] Running shutdown hooks
[        ] Shutdown hooks complete
[        ] exiting with code 1

flutter_sound_example_build_log.txt

tkeithblack avatar Sep 28 '21 20:09 tkeithblack

Do you run on x86 or Apple Silicon M1 ?

Larpoux avatar Sep 28 '21 20:09 Larpoux

Mac Book Pro - Intel(R) Core(TM) i9-8950HK CPU @ 2.90GHz, not the M1.

tkeithblack avatar Sep 28 '21 21:09 tkeithblack

I think that there is a problem with Mobile FFmpeg and the architecture x86/arm64.

                    building for iOS Simulator, but linking in object file built for iOS, file
                    '/Users/keithblack/GitHub/flutter_application_1/ios/Pods/mobile-ffmpeg-audio/lame.framework/lame'
                    for architecture arm64

Do you use Flutter FFmpeg yourself ? Did you add a dependency to Mobile FFmpeg in your Podifle ?

Perhaps you can try to build your app with flutter_ffmpeg LITE, just to see if the problem is still there or disappears.

Furthermore, if I run the app from XCode and target the simulator it will run.

This is weird !

Larpoux avatar Sep 28 '21 21:09 Larpoux

I tried the LITE version but it did not work, there were other errors with that one.

The reason I created a brand new project is to make sure another packages in my app were not causing the problem. This was a brand new default counter app with only the flutter_sound package. Nothing else.

Keith

tkeithblack avatar Sep 28 '21 22:09 tkeithblack

Weird Screenshot 2021-09-29 at 00 28 28

I do not understand why it tries to link-edit with a version of Mobile-FFmpeg for arm64 iOS. There is something wrong on your dev. machine, but I do not see where. Sorry.

Larpoux avatar Sep 28 '21 22:09 Larpoux

Perhaps a problem of compatibility between CocoaPods and Flutter. But I guess that if your CocoaPods is not the good version, Flutter would have tell it.

Sorry again. I do not see the reason of your problem.

Larpoux avatar Sep 28 '21 22:09 Larpoux

Thanks for your assistance, you are correct that my machine does not have the iOS-arem64 directories.

BTW, In trying to fix this I upgraded to CocoaPods 1.11.2.

image

tkeithblack avatar Sep 28 '21 22:09 tkeithblack

Today I tried the following to force a complete rebuilding the Pods directory (which includes the mobile-ffmpeg-audio folder):

deleted the ios/Pods directory pod cache clean --all flutter clean flutter pub get pod deintegrate pod install

I was hoping this would fix things. Unfortunately it did not. I still have only the info.plist and lame documents in the lame.framework directory, no arm64 directories. And I still cannot run my app on the iOS simulator, only a physical device. BTW, I am able to run on the Android simulator.

Does anyone have any idea how to resolve this?

Thanks for your help.

tkeithblack avatar Sep 29 '21 19:09 tkeithblack

I also met the same issue after upgrading to flutter 2.5

jomonylw avatar Oct 02 '21 03:10 jomonylw

It is possible that there is something bad on MobileFFmpeg with flutter 2.5

I still cannot run my app on the iOS simulator

It is not easy for me to debug that, because I work on a Macintosh with an Apple Silicon M1 proc. MobileFFmpeg does not like the M1, and cannot run on an iOS emulator.

The big problems are :

  • I really want a FULL version of Flutter Sound/Tau Sound with FFmpeg support : I have several plans to use FFmpeg on new features.
  • MobileFFmpeg is not supported anymore

I am currently working on a V9 version of Tau Sound. If I have time (but I doubt it), I will try to fork MobileFFmpeg and try to fix those issues. Until that, perhaps you can use the LITE flavor of Flutter Sound

Larpoux avatar Oct 02 '21 08:10 Larpoux

I appreciate the help. I'm surprised there are not more encountering this issue. Like I said in the first message, rolling back to a previous version of Flutter got rid of the problem.

tkeithblack avatar Oct 02 '21 19:10 tkeithblack

Hi,

Today, I was able to get a hand on a Macintosh x86. Flutter 2.6. I was able to build and run the Demo App, without any issue on an iOS emulator

So, your problem is less simple than just a problem of incompatibility between flutter 2.5 and Flutter Sound.

Just be aware that actually, Flutter Sound FULL cannot run on an iOS emulator running on a Macintosh with an Apple Silicon M1. This is bad, and I am going to try to fix that.

Larpoux avatar Oct 05 '21 12:10 Larpoux

Facing the same issue on a mac (intel version) with flutter 2.5.2, ios 14.2 simulator, full version of flutter sound library.

geoox avatar Oct 07 '21 21:10 geoox

Mobile FFmpeg is dead and not supported anymore. People of this project are busy working on a new library : FFmpeg-Kit.

This library is supposed to be released during the incoming week. I will try to migrate to this library, and we will see if the situation is better.

Larpoux avatar Oct 07 '21 21:10 Larpoux

LE: i can also confirm it works on a physical device. @Larpoux thank you for your efforts. I have also just checked out the situation with FFMPEG libraries and it's interesting, looking forward to seeing the FFMPEG kit library

geoox avatar Oct 07 '21 21:10 geoox

Facing the same issue on a mac (intel version) with flutter 2.5.1, ios 14.5 simulator i clone this code , and run flutter_sound -> example

error text Launching lib/main.dart on iPhone 12 Pro Max in debug mode... Xcode build done. 47.1s Failed to build iOS app Error output from Xcode build: ↳ ** BUILD FAILED ** Xcode's output: ↳ /Users/getaikejiff/Desktop/hlr/flutter/flutter/.pub-cache/hosted/pub.dartlang.org/permission_handler-6.1.3/ios/Classes/PermissionManager.m:75:59: warning: 'openURL:' is deprecated: first deprecated in iOS 10.0 [-Wdeprecated-declarations] BOOL success = [[UIApplication sharedApplication] openURL:[NSURL URLWithString:UIApplicationOpenSettingsURLString]]; ^~~~~~~ openURL:options:completionHandler: In module 'UIKit' imported from /Users/getaikejiff/Desktop/hlr/git-demo/flutter_sound/flutter_sound/example/ios/Pods/Target Support Files/permission_handler/permission_handler-prefix.pch:2: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIApplication.h:123:1: note: 'openURL:' has been explicitly marked deprecated here - (BOOL)openURL:(NSURL*)url API_DEPRECATED_WITH_REPLACEMENT("openURL:options:completionHandler:", ios(2.0, 10.0)) NS_EXTENSION_UNAVAILABLE_IOS(""); ^ 1 warning generated. /Users/getaikejiff/Desktop/hlr/flutter/flutter/.pub-cache/hosted/pub.dartlang.org/permission_handler-6.1.3/ios/Classes/strategies/NotificationPermissionStrategy.m:48:7: warning: 'UIUserNotificationType' is deprecated: first deprecated in iOS 10.0 - Use UserNotifications Framework's UNAuthorizationOptions [-Wdeprecated-declarations] UIUserNotificationType notificationTypes = 0; ^ In module 'UIKit' imported from /Users/getaikejiff/Desktop/hlr/git-demo/flutter_sound/flutter_sound/example/ios/Pods/Target Support Files/permission_handler/permission_handler-prefix.pch:2: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIUserNotificationSettings.h:17:32: note: 'UIUserNotificationType' has been explicitly marked deprecated here typedef NS_OPTIONS(NSUInteger, UIUserNotificationType) { ^ /Users/getaikejiff/Desktop/hlr/flutter/flutter/.pub-cache/hosted/pub.dartlang.org/permission_handler-6.1.3/ios/Classes/strategies/NotificationPermissionStrategy.m:49:28: warning: 'UIUserNotificationTypeSound' is deprecated: first deprecated in iOS 10.0 - Use UserNotifications Framework's UNAuthorizationOptions [-Wdeprecated-declarations] notificationTypes |= UIUserNotificationTypeSound; ^ In module 'UIKit' imported from /Users/getaikejiff/Desktop/hlr/git-demo/flutter_sound/flutter_sound/example/ios/Pods/Target Support Files/permission_handler/permission_handler-prefix.pch:2: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIUserNotificationSettings.h:17:32: note: 'UIUserNotificationType' has been explicitly marked deprecated here typedef NS_OPTIONS(NSUInteger, UIUserNotificationType) { ^ /Users/getaikejiff/Desktop/hlr/flutter/flutter/.pub-cache/hosted/pub.dartlang.org/permission_handler-6.1.3/ios/Classes/strategies/NotificationPermissionStrategy.m:50:28: warning: 'UIUserNotificationTypeAlert' is deprecated: first deprecated in iOS 10.0 - Use UserNotifications Framework's UNAuthorizationOptions [-Wdeprecated-declarations] notificationTypes |= UIUserNotificationTypeAlert; ^ In module 'UIKit' imported from /Users/getaikejiff/Desktop/hlr/git-demo/flutter_sound/flutter_sound/example/ios/Pods/Target Support Files/permission_handler/permission_handler-prefix.pch:2: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIUserNotificationSettings.h:17:32: note: 'UIUserNotificationType' has been explicitly marked deprecated here typedef NS_OPTIONS(NSUInteger, UIUserNotificationType) { ^ /Users/getaikejiff/Desktop/hlr/flutter/flutter/.pub-cache/hosted/pub.dartlang.org/permission_handler-6.1.3/ios/Classes/strategies/NotificationPermissionStrategy.m:51:28: warning: 'UIUserNotificationTypeBadge' is deprecated: first deprecated in iOS 10.0 - Use UserNotifications Framework's UNAuthorizationOptions [-Wdeprecated-declarations] notificationTypes |= UIUserNotificationTypeBadge; ^ In module 'UIKit' imported from /Users/getaikejiff/Desktop/hlr/git-demo/flutter_sound/flutter_sound/example/ios/Pods/Target Support Files/permission_handler/permission_handler-prefix.pch:2: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIUserNotificationSettings.h:17:32: note: 'UIUserNotificationType' has been explicitly marked deprecated here typedef NS_OPTIONS(NSUInteger, UIUserNotificationType) { ^ /Users/getaikejiff/Desktop/hlr/flutter/flutter/.pub-cache/hosted/pub.dartlang.org/permission_handler-6.1.3/ios/Classes/strategies/NotificationPermissionStrategy.m:52:7: warning: 'UIUserNotificationSettings' is deprecated: first deprecated in iOS 10.0 - Use UserNotifications Framework's UNNotificationSettings [-Wdeprecated-declarations] UIUserNotificationSettings *settings = [UIUserNotificationSettings settingsForTypes:notificationTypes categories:nil]; ^ In module 'UIKit' imported from /Users/getaikejiff/Desktop/hlr/git-demo/flutter_sound/flutter_sound/example/ios/Pods/Target Support Files/permission_handler/permission_handler-prefix.pch:2: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIUserNotificationSettings.h:44:12: note: 'UIUserNotificationSettings' has been explicitly marked deprecated here @interface UIUserNotificationSettings : NSObject ^ /Users/getaikejiff/Desktop/hlr/flutter/flutter/.pub-cache/hosted/pub.dartlang.org/permission_handler-6.1.3/ios/Classes/strategies/NotificationPermissionStrategy.m:52:74: warning: 'UIUserNotificationSettings' is deprecated: first deprecated in iOS 10.0 - Use UserNotifications Framework's UNNotificationSettings [-Wdeprecated-declarations] UIUserNotificationSettings *settings = [UIUserNotificationSettings settingsForTypes:notificationTypes categories:nil]; ^ In module 'UIKit' imported from /Users/getaikejiff/Desktop/hlr/git-demo/flutter_sound/flutter_sound/example/ios/Pods/Target Support Files/permission_handler/permission_handler-prefix.pch:2: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIUserNotificationSettings.h:44:12: note: 'UIUserNotificationSettings' has been explicitly marked deprecated here @interface UIUserNotificationSettings : NSObject ^ /Users/getaikejiff/Desktop/hlr/flutter/flutter/.pub-cache/hosted/pub.dartlang.org/permission_handler-6.1.3/ios/Classes/strategies/NotificationPermissionStrategy.m:53:42: warning: 'registerUserNotificationSettings:' is deprecated: first deprecated in iOS 10.0 - Use UserNotifications Framework's -[UNUserNotificationCenter requestAuthorizationWithOptions:completionHandler:] and -[UNUserNotificationCenter setNotificationCategories:] [-Wdeprecated-declarations] [[UIApplication sharedApplication] registerUserNotificationSettings:settings]; ^ In module 'UIKit' imported from /Users/getaikejiff/Desktop/hlr/git-demo/flutter_sound/flutter_sound/example/ios/Pods/Target Support Files/permission_handler/permission_handler-prefix.pch:2: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIApplication.h:250:1: note: 'registerUserNotificationSettings:' has been explicitly marked deprecated here - (void)registerUserNotificationSettings:(UIUserNotificationSettings *)notificationSettings API_DEPRECATED("Use UserNotifications Framework's -[UNUserNotificationCenter requestAuthorizationWithOptions:completionHandler:] and -[UNUserNotificationCenter setNotificationCategories:]", ios(8.0, 10.0)) API_UNAVAILABLE(tvos); ^ /Users/getaikejiff/Desktop/hlr/flutter/flutter/.pub-cache/hosted/pub.dartlang.org/permission_handler-6.1.3/ios/Classes/strategies/NotificationPermissionStrategy.m:75:5: warning: 'UIUserNotificationSettings' is deprecated: first deprecated in iOS 10.0 - Use UserNotifications Framework's UNNotificationSettings [-Wdeprecated-declarations] UIUserNotificationSettings * setting = [[UIApplication sharedApplication] currentUserNotificationSettings]; ^ In module 'UIKit' imported from /Users/getaikejiff/Desktop/hlr/git-demo/flutter_sound/flutter_sound/example/ios/Pods/Target Support Files/permission_handler/permission_handler-prefix.pch:2: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIUserNotificationSettings.h:44:12: note: 'UIUserNotificationSettings' has been explicitly marked deprecated here @interface UIUserNotificationSettings : NSObject ^ /Users/getaikejiff/Desktop/hlr/flutter/flutter/.pub-cache/hosted/pub.dartlang.org/permission_handler-6.1.3/ios/Classes/strategies/NotificationPermissionStrategy.m:75:79: warning: 'currentUserNotificationSettings' is deprecated: first deprecated in iOS 10.0 - Use UserNotifications Framework's -[UNUserNotificationCenter getNotificationSettingsWithCompletionHandler:] and -[UNUserNotificationCenter getNotificationCategoriesWithCompletionHandler:] [-Wdeprecated-declarations] UIUserNotificationSettings * setting = [[UIApplication sharedApplication] currentUserNotificationSettings]; ^ In module 'UIKit' imported from /Users/getaikejiff/Desktop/hlr/git-demo/flutter_sound/flutter_sound/example/ios/Pods/Target Support Files/permission_handler/permission_handler-prefix.pch:2: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIApplication.h:253:70: note: property 'currentUserNotificationSettings' is declared deprecated here @property(nonatomic, readonly, nullable) UIUserNotificationSettings *currentUserNotificationSettings API_DEPRECATED("Use UserNotifications Framework's -[UNUserNotificationCenter getNotificationSettingsWithCompletionHandler:] and -[UNUserNotificationCenter getNotificationCategoriesWithCompletionHandler:]", ios(8.0, 10.0)) API_UNAVAILABLE(tvos); ^ /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIApplication.h:253:70: note: 'currentUserNotificationSettings' has been explicitly marked deprecated here /Users/getaikejiff/Desktop/hlr/flutter/flutter/.pub-cache/hosted/pub.dartlang.org/permission_handler-6.1.3/ios/Classes/strategies/NotificationPermissionStrategy.m:76:26: warning: 'UIUserNotificationTypeNone' is deprecated: first deprecated in iOS 10.0 - Use UserNotifications Framework's UNAuthorizationOptions [-Wdeprecated-declarations] if (setting.types == UIUserNotificationTypeNone) permissionStatus = PermissionStatusDenied; ^ In module 'UIKit' imported from /Users/getaikejiff/Desktop/hlr/git-demo/flutter_sound/flutter_sound/example/ios/Pods/Target Support Files/permission_handler/permission_handler-prefix.pch:2: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIUserNotificationSettings.h:17:32: note: 'UIUserNotificationType' has been explicitly marked deprecated here typedef NS_OPTIONS(NSUInteger, UIUserNotificationType) { ^ 10 warnings generated. /Users/getaikejiff/Desktop/hlr/flutter/flutter/.pub-cache/hosted/pub.dartlang.org/permission_handler-6.1.3/ios/Classes/strategies/ContactPermissionStrategy.m:50:9: warning: 'ABAuthorizationStatus' is deprecated: first deprecated in iOS 9.0 - use CNAuthorizationStatus [-Wdeprecated-declarations] ABAuthorizationStatus status = ABAddressBookGetAuthorizationStatus(); ^ In module 'AddressBook' imported from /Users/getaikejiff/Desktop/hlr/flutter/flutter/.pub-cache/hosted/pub.dartlang.org/permission_handler-6.1.3/ios/Classes/strategies/ContactPermissionStrategy.h:11: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/System/Library/Frameworks/AddressBook.framework/Headers/ABAddressBook.h:44:26: note: 'ABAuthorizationStatus' has been explicitly marked deprecated here typedef CF_ENUM(CFIndex, ABAuthorizationStatus) { ^ /Users/getaikejiff/Desktop/hlr/flutter/flutter/.pub-cache/hosted/pub.dartlang.org/permission_handler-6.1.3/ios/Classes/strategies/ContactPermissionStrategy.m:50:40: warning: 'ABAddressBookGetAuthorizationStatus' is deprecated: first deprecated in iOS 9.0 - use [CNContactStore authorizationStatusForEntityType:] [-Wdeprecated-declarations] ABAuthorizationStatus status = ABAddressBookGetAuthorizationStatus(); ^ In module 'AddressBook' imported from /Users/getaikejiff/Desktop/hlr/flutter/flutter/.pub-cache/hosted/pub.dartlang.org/permission_handler-6.1.3/ios/Classes/strategies/ContactPermissionStrategy.h:11: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/System/Library/Frameworks/AddressBook.framework/Headers/ABAddressBook.h:50:33: note: 'ABAddressBookGetAuthorizationStatus' has been explicitly marked deprecated here AB_EXTERN ABAuthorizationStatus ABAddressBookGetAuthorizationStatus(void) AB_DEPRECATED("use [CNContactStore authorizationStatusForEntityType:]"); ^ /Users/getaikejiff/Desktop/hlr/flutter/flutter/.pub-cache/hosted/pub.dartlang.org/permission_handler-6.1.3/ios/Classes/strategies/ContactPermissionStrategy.m:53:18: warning: 'kABAuthorizationStatusNotDetermined' is deprecated: first deprecated in iOS 9.0 - use CNAuthorizationStatus [-Wdeprecated-declarations] case kABAuthorizationStatusNotDetermined: ^ In module 'AddressBook' imported from /Users/getaikejiff/Desktop/hlr/flutter/flutter/.pub-cache/hosted/pub.dartlang.org/permission_handler-6.1.3/ios/Classes/strategies/ContactPermissionStrategy.h:11: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/System/Library/Frameworks/AddressBook.framework/Headers/ABAddressBook.h:44:26: note: 'ABAuthorizationStatus' has been explicitly marked deprecated here typedef CF_ENUM(CFIndex, ABAuthorizationStatus) { ^ /Users/getaikejiff/Desktop/hlr/flutter/flutter/.pub-cache/hosted/pub.dartlang.org/permission_handler-6.1.3/ios/Classes/strategies/ContactPermissionStrategy.m:55:18: warning: 'kABAuthorizationStatusRestricted' is deprecated: first deprecated in iOS 9.0 - use CNAuthorizationStatus [-Wdeprecated-declarations] case kABAuthorizationStatusRestricted: ^ In module 'AddressBook' imported from /Users/getaikejiff/Desktop/hlr/flutter/flutter/.pub-cache/hosted/pub.dartlang.org/permission_handler-6.1.3/ios/Classes/strategies/ContactPermissionStrategy.h:11: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/System/Library/Frameworks/AddressBook.framework/Headers/ABAddressBook.h:44:26: note: 'ABAuthorizationStatus' has been explicitly marked deprecated here typedef CF_ENUM(CFIndex, ABAuthorizationStatus) { ^ /Users/getaikejiff/Desktop/hlr/flutter/flutter/.pub-cache/hosted/pub.dartlang.org/permission_handler-6.1.3/ios/Classes/strategies/ContactPermissionStrategy.m:57:18: warning: 'kABAuthorizationStatusDenied' is deprecated: first deprecated in iOS 9.0 - use CNAuthorizationStatus [-Wdeprecated-declarations] case kABAuthorizationStatusDenied: ^ In module 'AddressBook' imported from /Users/getaikejiff/Desktop/hlr/flutter/flutter/.pub-cache/hosted/pub.dartlang.org/permission_handler-6.1.3/ios/Classes/strategies/ContactPermissionStrategy.h:11: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/System/Library/Frameworks/AddressBook.framework/Headers/ABAddressBook.h:44:26: note: 'ABAuthorizationStatus' has been explicitly marked deprecated here typedef CF_ENUM(CFIndex, ABAuthorizationStatus) { ^ /Users/getaikejiff/Desktop/hlr/flutter/flutter/.pub-cache/hosted/pub.dartlang.org/permission_handler-6.1.3/ios/Classes/strategies/ContactPermissionStrategy.m:59:18: warning: 'kABAuthorizationStatusAuthorized' is deprecated: first deprecated in iOS 9.0 - use CNAuthorizationStatus [-Wdeprecated-declarations] case kABAuthorizationStatusAuthorized: ^ In module 'AddressBook' imported from /Users/getaikejiff/Desktop/hlr/flutter/flutter/.pub-cache/hosted/pub.dartlang.org/permission_handler-6.1.3/ios/Classes/strategies/ContactPermissionStrategy.h:11: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/System/Library/Frameworks/AddressBook.framework/Headers/ABAddressBook.h:44:26: note: 'ABAuthorizationStatus' has been explicitly marked deprecated here typedef CF_ENUM(CFIndex, ABAuthorizationStatus) { ^ /Users/getaikejiff/Desktop/hlr/flutter/flutter/.pub-cache/hosted/pub.dartlang.org/permission_handler-6.1.3/ios/Classes/strategies/ContactPermissionStrategy.m:80:5: warning: 'ABAddressBookRequestAccessWithCompletion' is deprecated: first deprecated in iOS 9.0 - use [CNContactStore requestAccessForEntityType:completionHandler:] [-Wdeprecated-declarations] ABAddressBookRequestAccessWithCompletion(ABAddressBookCreate(), ^(bool granted, CFErrorRef error) { ^ In module 'AddressBook' imported from /Users/getaikejiff/Desktop/hlr/flutter/flutter/.pub-cache/hosted/pub.dartlang.org/permission_handler-6.1.3/ios/Classes/strategies/ContactPermissionStrategy.h:11: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/System/Library/Frameworks/AddressBook.framework/Headers/ABAddressBook.h:73:16: note: 'ABAddressBookRequestAccessWithCompletion' has been explicitly marked deprecated here AB_EXTERN void ABAddressBookRequestAccessWithCompletion(ABAddressBookRef addressBook, ABAddressBookRequestAccessCompletionHandler completion) AB_DEPRECATED("use [CNContactStore requestAccessForEntityType:completionHandler:]"); ^ /Users/getaikejiff/Desktop/hlr/flutter/flutter/.pub-cache/hosted/pub.dartlang.org/permission_handler-6.1.3/ios/Classes/strategies/ContactPermissionStrategy.m:80:46: warning: 'ABAddressBookCreate' is deprecated: first deprecated in iOS 9.0 - use [[CNContactStore alloc] init] [-Wdeprecated-declarations] ABAddressBookRequestAccessWithCompletion(ABAddressBookCreate(), ^(bool granted, CFErrorRef error) { ^ In module 'AddressBook' imported from /Users/getaikejiff/Desktop/hlr/flutter/flutter/.pub-cache/hosted/pub.dartlang.org/permission_handler-6.1.3/ios/Classes/strategies/ContactPermissionStrategy.h:11: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/System/Library/Frameworks/AddressBook.framework/Headers/ABAddressBook.h:60:28: note: 'ABAddressBookCreate' has been explicitly marked deprecated here AB_EXTERN ABAddressBookRef ABAddressBookCreate(void) AB_DEPRECATED("use [[CNContactStore alloc] init]"); ^ 8 warnings generated. /Users/getaikejiff/Desktop/hlr/flutter/flutter/.pub-cache/hosted/pub.dartlang.org/permission_handler-6.1.3/ios/Classes/strategies/BluetoothPermissionStrategy.m:31:31: warning: 'CBCentralManagerStatePoweredOn' is deprecated: first deprecated in iOS 10.0 - Use CBManagerState instead [-Wdeprecated-declarations] return [manager state] == CBCentralManagerStatePoweredOn ? ServiceStatusEnabled : ServiceStatusDisabled; ^ In module 'CoreBluetooth' imported from /Users/getaikejiff/Desktop/hlr/flutter/flutter/.pub-cache/hosted/pub.dartlang.org/permission_handler-6.1.3/ios/Classes/strategies/BluetoothPermissionStrategy.h:13: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/System/Library/Frameworks/CoreBluetooth.framework/Headers/CBCentralManager.h:35:28: note: 'CBCentralManagerState' has been explicitly marked deprecated here typedef NS_ENUM(NSInteger, CBCentralManagerState) { ^ 1 warning generated. 1 warning generated. /Users/getaikejiff/Desktop/hlr/flutter/flutter/.pub-cache/hosted/pub.dartlang.org/permission_handler-6.1.3/ios/Classes/strategies/NotificationPermissionStrategy.m:48:7: warning: 'UIUserNotificationType' is deprecated: first deprecated in iOS 10.0 - Use UserNotifications Framework's UNAuthorizationOptions [-Wdeprecated-declarations] UIUserNotificationType notificationTypes = 0; ^ In module 'UIKit' imported from /Users/getaikejiff/Desktop/hlr/git-demo/flutter_sound/flutter_sound/example/ios/Pods/Target Support Files/permission_handler/permission_handler-prefix.pch:2: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIUserNotificationSettings.h:17:32: note: 'UIUserNotificationType' has been explicitly marked deprecated here typedef NS_OPTIONS(NSUInteger, UIUserNotificationType) { ^ /Users/getaikejiff/Desktop/hlr/flutter/flutter/.pub-cache/hosted/pub.dartlang.org/permission_handler-6.1.3/ios/Classes/strategies/NotificationPermissionStrategy.m:49:28: warning: 'UIUserNotificationTypeSound' is deprecated: first deprecated in iOS 10.0 - Use UserNotifications Framework's UNAuthorizationOptions [-Wdeprecated-declarations] notificationTypes |= UIUserNotificationTypeSound; ^ In module 'UIKit' imported from /Users/getaikejiff/Desktop/hlr/git-demo/flutter_sound/flutter_sound/example/ios/Pods/Target Support Files/permission_handler/permission_handler-prefix.pch:2: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIUserNotificationSettings.h:17:32: note: 'UIUserNotificationType' has been explicitly marked deprecated here typedef NS_OPTIONS(NSUInteger, UIUserNotificationType) { ^ /Users/getaikejiff/Desktop/hlr/flutter/flutter/.pub-cache/hosted/pub.dartlang.org/permission_handler-6.1.3/ios/Classes/strategies/NotificationPermissionStrategy.m:50:28: warning: 'UIUserNotificationTypeAlert' is deprecated: first deprecated in iOS 10.0 - Use UserNotifications Framework's UNAuthorizationOptions [-Wdeprecated-declarations] notificationTypes |= UIUserNotificationTypeAlert; ^ In module 'UIKit' imported from /Users/getaikejiff/Desktop/hlr/git-demo/flutter_sound/flutter_sound/example/ios/Pods/Target Support Files/permission_handler/permission_handler-prefix.pch:2: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIUserNotificationSettings.h:17:32: note: 'UIUserNotificationType' has been explicitly marked deprecated here typedef NS_OPTIONS(NSUInteger, UIUserNotificationType) { ^ /Users/getaikejiff/Desktop/hlr/flutter/flutter/.pub-cache/hosted/pub.dartlang.org/permission_handler-6.1.3/ios/Classes/strategies/NotificationPermissionStrategy.m:51:28: warning: 'UIUserNotificationTypeBadge' is deprecated: first deprecated in iOS 10.0 - Use UserNotifications Framework's UNAuthorizationOptions [-Wdeprecated-declarations] notificationTypes |= UIUserNotificationTypeBadge; ^ In module 'UIKit' imported from /Users/getaikejiff/Desktop/hlr/git-demo/flutter_sound/flutter_sound/example/ios/Pods/Target Support Files/permission_handler/permission_handler-prefix.pch:2: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIUserNotificationSettings.h:17:32: note: 'UIUserNotificationType' has been explicitly marked deprecated here typedef NS_OPTIONS(NSUInteger, UIUserNotificationType) { ^ /Users/getaikejiff/Desktop/hlr/flutter/flutter/.pub-cache/hosted/pub.dartlang.org/permission_handler-6.1.3/ios/Classes/strategies/NotificationPermissionStrategy.m:52:7: warning: 'UIUserNotificationSettings' is deprecated: first deprecated in iOS 10.0 - Use UserNotifications Framework's UNNotificationSettings [-Wdeprecated-declarations] UIUserNotificationSettings settings = [UIUserNotificationSettings settingsForTypes:notificationTypes categories:nil]; ^ In module 'UIKit' imported from /Users/getaikejiff/Desktop/hlr/git-demo/flutter_sound/flutter_sound/example/ios/Pods/Target Support Files/permission_handler/permission_handler-prefix.pch:2: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIUserNotificationSettings.h:44:12: note: 'UIUserNotificationSettings' has been explicitly marked deprecated here @interface UIUserNotificationSettings : NSObject ^ /Users/getaikejiff/Desktop/hlr/flutter/flutter/.pub-cache/hosted/pub.dartlang.org/permission_handler-6.1.3/ios/Classes/strategies/NotificationPermissionStrategy.m:52:74: warning: 'UIUserNotificationSettings' is deprecated: first deprecated in iOS 10.0 - Use UserNotifications Framework's UNNotificationSettings [-Wdeprecated-declarations] UIUserNotificationSettings settings = [UIUserNotificationSettings settingsForTypes:notificationTypes categories:nil]; ^ In module 'UIKit' imported from /Users/getaikejiff/Desktop/hlr/git-demo/flutter_sound/flutter_sound/example/ios/Pods/Target Support Files/permission_handler/permission_handler-prefix.pch:2: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIUserNotificationSettings.h:44:12: note: 'UIUserNotificationSettings' has been explicitly marked deprecated here @interface UIUserNotificationSettings : NSObject ^ /Users/getaikejiff/Desktop/hlr/flutter/flutter/.pub-cache/hosted/pub.dartlang.org/permission_handler-6.1.3/ios/Classes/strategies/NotificationPermissionStrategy.m:53:42: warning: 'registerUserNotificationSettings:' is deprecated: first deprecated in iOS 10.0 - Use UserNotifications Framework's -[UNUserNotificationCenter requestAuthorizationWithOptions:completionHandler:] and -[UNUserNotificationCenter setNotificationCategories:] [-Wdeprecated-declarations] [[UIApplication sharedApplication] registerUserNotificationSettings:settings]; ^ In module 'UIKit' imported from /Users/getaikejiff/Desktop/hlr/git-demo/flutter_sound/flutter_sound/example/ios/Pods/Target Support Files/permission_handler/permission_handler-prefix.pch:2: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIApplication.h:250:1: note: 'registerUserNotificationSettings:' has been explicitly marked deprecated here - (void)registerUserNotificationSettings:(UIUserNotificationSettings )notificationSettings API_DEPRECATED("Use UserNotifications Framework's -[UNUserNotificationCenter requestAuthorizationWithOptions:completionHandler:] and -[UNUserNotificationCenter setNotificationCategories:]", ios(8.0, 10.0)) API_UNAVAILABLE(tvos); ^ /Users/getaikejiff/Desktop/hlr/flutter/flutter/.pub-cache/hosted/pub.dartlang.org/permission_handler-6.1.3/ios/Classes/strategies/NotificationPermissionStrategy.m:75:5: warning: 'UIUserNotificationSettings' is deprecated: first deprecated in iOS 10.0 - Use UserNotifications Framework's UNNotificationSettings [-Wdeprecated-declarations] UIUserNotificationSettings * setting = [[UIApplication sharedApplication] currentUserNotificationSettings]; ^ In module 'UIKit' imported from /Users/getaikejiff/Desktop/hlr/git-demo/flutter_sound/flutter_sound/example/ios/Pods/Target Support Files/permission_handler/permission_handler-prefix.pch:2: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIUserNotificationSettings.h:44:12: note: 'UIUserNotificationSettings' has been explicitly marked deprecated here @interface UIUserNotificationSettings : NSObject ^ /Users/getaikejiff/Desktop/hlr/flutter/flutter/.pub-cache/hosted/pub.dartlang.org/permission_handler-6.1.3/ios/Classes/strategies/NotificationPermissionStrategy.m:75:79: warning: 'currentUserNotificationSettings' is deprecated: first deprecated in iOS 10.0 - Use UserNotifications Framework's -[UNUserNotificationCenter getNotificationSettingsWithCompletionHandler:] and -[UNUserNotificationCenter getNotificationCategoriesWithCompletionHandler:] [-Wdeprecated-declarations] UIUserNotificationSettings * setting = [[UIApplication sharedApplication] currentUserNotificationSettings]; ^ In module 'UIKit' imported from /Users/getaikejiff/Desktop/hlr/git-demo/flutter_sound/flutter_sound/example/ios/Pods/Target Support Files/permission_handler/permission_handler-prefix.pch:2: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIApplication.h:253:70: note: property 'currentUserNotificationSettings' is declared deprecated here @property(nonatomic, readonly, nullable) UIUserNotificationSettings currentUserNotificationSettings API_DEPRECATED("Use UserNotifications Framework's -[UNUserNotificationCenter getNotificationSettingsWithCompletionHandler:] and -[UNUserNotificationCenter getNotificationCategoriesWithCompletionHandler:]", ios(8.0, 10.0)) API_UNAVAILABLE(tvos); ^ /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIApplication.h:253:70: note: 'currentUserNotificationSettings' has been explicitly marked deprecated here /Users/getaikejiff/Desktop/hlr/flutter/flutter/.pub-cache/hosted/pub.dartlang.org/permission_handler-6.1.3/ios/Classes/strategies/NotificationPermissionStrategy.m:76:26: warning: 'UIUserNotificationTypeNone' is deprecated: first deprecated in iOS 10.0 - Use UserNotifications Framework's UNAuthorizationOptions [-Wdeprecated-declarations] if (setting.types == UIUserNotificationTypeNone) permissionStatus = PermissionStatusDenied; ^ In module 'UIKit' imported from /Users/getaikejiff/Desktop/hlr/git-demo/flutter_sound/flutter_sound/example/ios/Pods/Target Support Files/permission_handler/permission_handler-prefix.pch:2: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIUserNotificationSettings.h:17:32: note: 'UIUserNotificationType' has been explicitly marked deprecated here typedef NS_OPTIONS(NSUInteger, UIUserNotificationType) { ^ 10 warnings generated. /Users/getaikejiff/Desktop/hlr/flutter/flutter/.pub-cache/hosted/pub.dartlang.org/permission_handler-6.1.3/ios/Classes/strategies/ContactPermissionStrategy.m:50:9: warning: 'ABAuthorizationStatus' is deprecated: first deprecated in iOS 9.0 - use CNAuthorizationStatus [-Wdeprecated-declarations] ABAuthorizationStatus status = ABAddressBookGetAuthorizationStatus(); ^ In module 'AddressBook' imported from /Users/getaikejiff/Desktop/hlr/flutter/flutter/.pub-cache/hosted/pub.dartlang.org/permission_handler-6.1.3/ios/Classes/strategies/ContactPermissionStrategy.h:11: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/System/Library/Frameworks/AddressBook.framework/Headers/ABAddressBook.h:44:26: note: 'ABAuthorizationStatus' has been explicitly marked deprecated here typedef CF_ENUM(CFIndex, ABAuthorizationStatus) { ^ /Users/getaikejiff/Desktop/hlr/flutter/flutter/.pub-cache/hosted/pub.dartlang.org/permission_handler-6.1.3/ios/Classes/strategies/ContactPermissionStrategy.m:50:40: warning: 'ABAddressBookGetAuthorizationStatus' is deprecated: first deprecated in iOS 9.0 - use [CNContactStore authorizationStatusForEntityType:] [-Wdeprecated-declarations] ABAuthorizationStatus status = ABAddressBookGetAuthorizationStatus(); ^ In module 'AddressBook' imported from /Users/getaikejiff/Desktop/hlr/flutter/flutter/.pub-cache/hosted/pub.dartlang.org/permission_handler-6.1.3/ios/Classes/strategies/ContactPermissionStrategy.h:11: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/System/Library/Frameworks/AddressBook.framework/Headers/ABAddressBook.h:50:33: note: 'ABAddressBookGetAuthorizationStatus' has been explicitly marked deprecated here AB_EXTERN ABAuthorizationStatus ABAddressBookGetAuthorizationStatus(void) AB_DEPRECATED("use [CNContactStore authorizationStatusForEntityType:]"); ^ /Users/getaikejiff/Desktop/hlr/flutter/flutter/.pub-cache/hosted/pub.dartlang.org/permission_handler-6.1.3/ios/Classes/strategies/ContactPermissionStrategy.m:53:18: warning: 'kABAuthorizationStatusNotDetermined' is deprecated: first deprecated in iOS 9.0 - use CNAuthorizationStatus [-Wdeprecated-declarations] case kABAuthorizationStatusNotDetermined: ^ In module 'AddressBook' imported from /Users/getaikejiff/Desktop/hlr/flutter/flutter/.pub-cache/hosted/pub.dartlang.org/permission_handler-6.1.3/ios/Classes/strategies/ContactPermissionStrategy.h:11: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/System/Library/Frameworks/AddressBook.framework/Headers/ABAddressBook.h:44:26: note: 'ABAuthorizationStatus' has been explicitly marked deprecated here typedef CF_ENUM(CFIndex, ABAuthorizationStatus) { ^ /Users/getaikejiff/Desktop/hlr/flutter/flutter/.pub-cache/hosted/pub.dartlang.org/permission_handler-6.1.3/ios/Classes/strategies/ContactPermissionStrategy.m:55:18: warning: 'kABAuthorizationStatusRestricted' is deprecated: first deprecated in iOS 9.0 - use CNAuthorizationStatus [-Wdeprecated-declarations] case kABAuthorizationStatusRestricted: ^ In module 'AddressBook' imported from /Users/getaikejiff/Desktop/hlr/flutter/flutter/.pub-cache/hosted/pub.dartlang.org/permission_handler-6.1.3/ios/Classes/strategies/ContactPermissionStrategy.h:11: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/System/Library/Frameworks/AddressBook.framework/Headers/ABAddressBook.h:44:26: note: 'ABAuthorizationStatus' has been explicitly marked deprecated here typedef CF_ENUM(CFIndex, ABAuthorizationStatus) { ^ /Users/getaikejiff/Desktop/hlr/flutter/flutter/.pub-cache/hosted/pub.dartlang.org/permission_handler-6.1.3/ios/Classes/strategies/ContactPermissionStrategy.m:57:18: warning: 'kABAuthorizationStatusDenied' is deprecated: first deprecated in iOS 9.0 - use CNAuthorizationStatus [-Wdeprecated-declarations] case kABAuthorizationStatusDenied: ^ In module 'AddressBook' imported from /Users/getaikejiff/Desktop/hlr/flutter/flutter/.pub-cache/hosted/pub.dartlang.org/permission_handler-6.1.3/ios/Classes/strategies/ContactPermissionStrategy.h:11: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/System/Library/Frameworks/AddressBook.framework/Headers/ABAddressBook.h:44:26: note: 'ABAuthorizationStatus' has been explicitly marked deprecated here typedef CF_ENUM(CFIndex, ABAuthorizationStatus) { ^ /Users/getaikejiff/Desktop/hlr/flutter/flutter/.pub-cache/hosted/pub.dartlang.org/permission_handler-6.1.3/ios/Classes/strategies/ContactPermissionStrategy.m:59:18: warning: 'kABAuthorizationStatusAuthorized' is deprecated: first deprecated in iOS 9.0 - use CNAuthorizationStatus [-Wdeprecated-declarations] case kABAuthorizationStatusAuthorized: ^ In module 'AddressBook' imported from /Users/getaikejiff/Desktop/hlr/flutter/flutter/.pub-cache/hosted/pub.dartlang.org/permission_handler-6.1.3/ios/Classes/strategies/ContactPermissionStrategy.h:11: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/System/Library/Frameworks/AddressBook.framework/Headers/ABAddressBook.h:44:26: note: 'ABAuthorizationStatus' has been explicitly marked deprecated here typedef CF_ENUM(CFIndex, ABAuthorizationStatus) { ^ /Users/getaikejiff/Desktop/hlr/flutter/flutter/.pub-cache/hosted/pub.dartlang.org/permission_handler-6.1.3/ios/Classes/strategies/ContactPermissionStrategy.m:80:5: warning: 'ABAddressBookRequestAccessWithCompletion' is deprecated: first deprecated in iOS 9.0 - use [CNContactStore requestAccessForEntityType:completionHandler:] [-Wdeprecated-declarations] ABAddressBookRequestAccessWithCompletion(ABAddressBookCreate(), ^(bool granted, CFErrorRef error) { ^ In module 'AddressBook' imported from /Users/getaikejiff/Desktop/hlr/flutter/flutter/.pub-cache/hosted/pub.dartlang.org/permission_handler-6.1.3/ios/Classes/strategies/ContactPermissionStrategy.h:11: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/System/Library/Frameworks/AddressBook.framework/Headers/ABAddressBook.h:73:16: note: 'ABAddressBookRequestAccessWithCompletion' has been explicitly marked deprecated here AB_EXTERN void ABAddressBookRequestAccessWithCompletion(ABAddressBookRef addressBook, ABAddressBookRequestAccessCompletionHandler completion) AB_DEPRECATED("use [CNContactStore requestAccessForEntityType:completionHandler:]"); ^ /Users/getaikejiff/Desktop/hlr/flutter/flutter/.pub-cache/hosted/pub.dartlang.org/permission_handler-6.1.3/ios/Classes/strategies/ContactPermissionStrategy.m:80:46: warning: 'ABAddressBookCreate' is deprecated: first deprecated in iOS 9.0 - use [[CNContactStore alloc] init] [-Wdeprecated-declarations] ABAddressBookRequestAccessWithCompletion(ABAddressBookCreate(), ^(bool granted, CFErrorRef error) { ^ In module 'AddressBook' imported from /Users/getaikejiff/Desktop/hlr/flutter/flutter/.pub-cache/hosted/pub.dartlang.org/permission_handler-6.1.3/ios/Classes/strategies/ContactPermissionStrategy.h:11: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/System/Library/Frameworks/AddressBook.framework/Headers/ABAddressBook.h:60:28: note: 'ABAddressBookCreate' has been explicitly marked deprecated here AB_EXTERN ABAddressBookRef ABAddressBookCreate(void) AB_DEPRECATED("use [[CNContactStore alloc] init]"); ^ 8 warnings generated. /Users/getaikejiff/Desktop/hlr/flutter/flutter/.pub-cache/hosted/pub.dartlang.org/permission_handler-6.1.3/ios/Classes/strategies/BluetoothPermissionStrategy.m:31:31: warning: 'CBCentralManagerStatePoweredOn' is deprecated: first deprecated in iOS 10.0 - Use CBManagerState instead [-Wdeprecated-declarations] return [manager state] == CBCentralManagerStatePoweredOn ? ServiceStatusEnabled : ServiceStatusDisabled; ^ In module 'CoreBluetooth' imported from /Users/getaikejiff/Desktop/hlr/flutter/flutter/.pub-cache/hosted/pub.dartlang.org/permission_handler-6.1.3/ios/Classes/strategies/BluetoothPermissionStrategy.h:13: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/System/Library/Frameworks/CoreBluetooth.framework/Headers/CBCentralManager.h:35:28: note: 'CBCentralManagerState' has been explicitly marked deprecated here typedef NS_ENUM(NSInteger, CBCentralManagerState) { ^ 1 warning generated. /Users/getaikejiff/Desktop/hlr/flutter/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_sound-8.4.1+1/ios/Classes/FlutterSoundRecorderManager.mm:100:37: warning: comparison of distinct pointer types ('FlutterSoundRecorder ' and 'NSNull * _Nonnull') [-Wcompare-distinct-pointer-types] if (aFlautoRecorder != [NSNull null]) ~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~ 1 warning generated. /Users/getaikejiff/Desktop/hlr/flutter/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_sound-8.4.1+1/ios/Classes/FlutterSoundRecorder.mm:260:14: warning: unused variable 'b' [-Wunused-variable] bool b = [flautoRecorder deleteRecord: path]; ^ /Users/getaikejiff/Desktop/hlr/flutter/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_sound-8.4.1+1/ios/Classes/FlutterSoundRecorder.mm:36:17: warning: method definition for 'setDbPeakLevelUpdate:result:' not found [-Wincomplete-implementation] @implementation FlutterSoundRecorder ^ In file included from /Users/getaikejiff/Desktop/hlr/flutter/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_sound-8.4.1+1/ios/Classes/FlutterSoundRecorder.mm:32: /Users/getaikejiff/Desktop/hlr/flutter/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_sound-8.4.1+1/ios/Classes/FlutterSoundRecorder.h:56:1: note: method 'setDbPeakLevelUpdate:result:' declared here - (void)setDbPeakLevelUpdate:(double)intervalInSecs result: (FlutterResult)result; ^ 2 warnings generated. /Users/getaikejiff/Desktop/hlr/flutter/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_sound-8.4.1+1/ios/Classes/FlutterSoundPlayer.mm:81:94: warning: implicit boolean conversion of Objective-C object literal always evaluates to true [-Wobjc-literal-conversion] [self invokeMethod:@"needSomeFood" numberArg: [NSNumber numberWithInt: ln] success: @YES ]; ~ ^~~~ /Users/getaikejiff/Desktop/hlr/flutter/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_sound-8.4.1+1/ios/Classes/FlutterSoundPlayer.mm:101:80: warning: implicit boolean conversion of Objective-C object literal always evaluates to true [-Wobjc-literal-conversion] [self invokeMethod:@"pause" numberArg: [self getPlayerStatus] success: @YES ]; ~ ^~~~ /Users/getaikejiff/Desktop/hlr/flutter/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_sound-8.4.1+1/ios/Classes/FlutterSoundPlayer.mm:106:82: warning: implicit boolean conversion of Objective-C object literal always evaluates to true [-Wobjc-literal-conversion] [self invokeMethod:@"resume" numberArg: [self getPlayerStatus] success: @YES ]; ~ ^~~~ /Users/getaikejiff/Desktop/hlr/flutter/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_sound-8.4.1+1/ios/Classes/FlutterSoundPlayer.mm:111:87: warning: implicit boolean conversion of Objective-C object literal always evaluates to true [-Wobjc-literal-conversion] [self invokeMethod:@"skipForward" numberArg: [self getPlayerStatus] success: @YES ]; ~ ^~~~ /Users/getaikejiff/Desktop/hlr/flutter/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_sound-8.4.1+1/ios/Classes/FlutterSoundPlayer.mm:117:88: warning: implicit boolean conversion of Objective-C object literal always evaluates to true [-Wobjc-literal-conversion] [self invokeMethod:@"skipBackward" numberArg: [self getPlayerStatus] success: @YES ]; ~ ^~~~ 5 warnings generated. /Users/getaikejiff/Desktop/hlr/flutter/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_sound-8.4.1+1/ios/Classes/FlutterSoundManager.m:35:17: warning: class 'FlutterSoundManager' does not conform to protocol 'FlutterPlugin' [-Wprotocol] @implementation FlutterSoundManager ^ /Users/getaikejiff/Desktop/hlr/flutter/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_sound-8.4.1+1/ios/Classes/FlutterSoundManager.m:35:17: note: add stubs for missing protocol requirements @implementation FlutterSoundManager ^ /Users/getaikejiff/Desktop/hlr/flutter/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_sound-8.4.1+1/ios/Classes/FlutterSoundManager.m:109:17: warning: method definition for 'reset:result:' not found [-Wincomplete-implementation] @implementation Session ^ In file included from /Users/getaikejiff/Desktop/hlr/flutter/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_sound-8.4.1+1/ios/Classes/FlutterSoundManager.m:31: /Users/getaikejiff/Desktop/hlr/flutter/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_sound-8.4.1+1/ios/Classes/FlutterSoundManager.h:42:1: note: method 'reset:result:' declared here - (void)reset: (FlutterMethodCall)call result: (FlutterResult)result; ^ /Users/getaikejiff/Desktop/hlr/flutter/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_sound-8.4.1+1/ios/Classes/FlutterSoundManager.m:109:17: warning: method definition for 'getStatus' not found [-Wincomplete-implementation] @implementation Session ^ In file included from /Users/getaikejiff/Desktop/hlr/flutter/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_sound-8.4.1+1/ios/Classes/FlutterSoundManager.m:31: /Users/getaikejiff/Desktop/hlr/flutter/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_sound-8.4.1+1/ios/Classes/FlutterSoundManager.h:43:1: note: method 'getStatus' declared here - (int) getStatus; ^ /Users/getaikejiff/Desktop/hlr/flutter/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_sound-8.4.1+1/ios/Classes/FlutterSoundManager.m:109:17: warning: method definition for 'freeSlot:' not found [-Wincomplete-implementation] @implementation Session ^ In file included from /Users/getaikejiff/Desktop/hlr/flutter/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_sound-8.4.1+1/ios/Classes/FlutterSoundManager.m:31: /Users/getaikejiff/Desktop/hlr/flutter/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_sound-8.4.1+1/ios/Classes/FlutterSoundManager.h:52:1: note: method 'freeSlot:' declared here - (void)freeSlot: (int)slotNo; ^ /Users/getaikejiff/Desktop/hlr/flutter/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_sound-8.4.1+1/ios/Classes/FlutterSoundManager.m:109:17: warning: method definition for 'invokeMethod:arguments:' not found [-Wincomplete-implementation] @implementation Session ^ In file included from /Users/getaikejiff/Desktop/hlr/flutter/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_sound-8.4.1+1/ios/Classes/FlutterSoundManager.m:31: /Users/getaikejiff/Desktop/hlr/flutter/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_sound-8.4.1+1/ios/Classes/FlutterSoundManager.h:53:1: note: method 'invokeMethod:arguments:' declared here - (void)invokeMethod: (NSString)methodName arguments: (NSDictionary)call ; ^ 5 warnings generated. In file included from /Users/getaikejiff/Desktop/hlr/flutter/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_sound-8.4.1+1/ios/Classes/FlutterSoundFFmpeg.mm:34: /Users/getaikejiff/Desktop/hlr/git-demo/flutter_sound/flutter_sound/example/ios/Pods/mobile-ffmpeg-audio/mobileffmpeg.framework/Headers/LogDelegate.h:23:11: warning: duplicate protocol definition of 'LogDelegate' is ignored [-Wduplicate-protocol] @protocol LogDelegate<NSObject> ^ In file included from /Users/getaikejiff/Desktop/hlr/flutter/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_sound-8.4.1+1/ios/Classes/FlutterSoundFFmpeg.mm:25: In file included from /Users/getaikejiff/Desktop/hlr/flutter/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_sound-8.4.1+1/ios/Classes/FlutterSoundFFmpeg.h:25: In file included from /Users/getaikejiff/Desktop/hlr/git-demo/flutter_sound/flutter_sound/example/ios/Pods/mobile-ffmpeg-audio/mobileffmpeg.framework/Headers/MobileFFmpegConfig.h:24: /Users/getaikejiff/Desktop/hlr/git-demo/flutter_sound/flutter_sound/example/ios/Pods/mobile-ffmpeg-audio/mobileffmpeg.framework/Headers/LogDelegate.h:23:11: note: previous definition is here @protocol LogDelegate<NSObject> ^ /Users/getaikejiff/Desktop/hlr/flutter/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_sound-8.4.1+1/ios/Classes/FlutterSoundFFmpeg.mm:87:17: warning: class 'FlutterSoundEmptyLogDelegate' does not conform to protocol 'LogDelegate' [-Wprotocol] @implementation FlutterSoundEmptyLogDelegate ^ /Users/getaikejiff/Desktop/hlr/flutter/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_sound-8.4.1+1/ios/Classes/FlutterSoundFFmpeg.mm:87:17: note: add stubs for missing protocol requirements @implementation FlutterSoundEmptyLogDelegate ^ 2 warnings generated. /Users/getaikejiff/Desktop/hlr/flutter/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_sound-8.4.1+1/ios/Classes/FlutterSoundRecorderManager.mm:100:37: warning: comparison of distinct pointer types ('FlutterSoundRecorder ' and 'NSNull * _Nonnull') [-Wcompare-distinct-pointer-types] if (aFlautoRecorder != [NSNull null]) ~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~ 1 warning generated. 2 warnings generated. /Users/getaikejiff/Desktop/hlr/flutter/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_sound-8.4.1+1/ios/Classes/FlutterSoundPlayer.mm:81:94: warning: implicit boolean conversion of Objective-C object literal always evaluates to true [-Wobjc-literal-conversion] [self invokeMethod:@"needSomeFood" numberArg: [NSNumber numberWithInt: ln] success: @YES ]; ~ ^~~~ /Users/getaikejiff/Desktop/hlr/flutter/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_sound-8.4.1+1/ios/Classes/FlutterSoundPlayer.mm:101:80: warning: implicit boolean conversion of Objective-C object literal always evaluates to true [-Wobjc-literal-conversion] [self invokeMethod:@"pause" numberArg: [self getPlayerStatus] success: @YES ]; ~ ^~~~ /Users/getaikejiff/Desktop/hlr/flutter/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_sound-8.4.1+1/ios/Classes/FlutterSoundPlayer.mm:106:82: warning: implicit boolean conversion of Objective-C object literal always evaluates to true [-Wobjc-literal-conversion] [self invokeMethod:@"resume" numberArg: [self getPlayerStatus] success: @YES ]; ~ ^~~~ /Users/getaikejiff/Desktop/hlr/flutter/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_sound-8.4.1+1/ios/Classes/FlutterSoundPlayer.mm:111:87: warning: implicit boolean conversion of Objective-C object literal always evaluates to true [-Wobjc-literal-conversion] [self invokeMethod:@"skipForward" numberArg: [self getPlayerStatus] success: @YES ]; ~ ^~~~ /Users/getaikejiff/Desktop/hlr/flutter/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_sound-8.4.1+1/ios/Classes/FlutterSoundPlayer.mm:117:88: warning: implicit boolean conversion of Objective-C object literal always evaluates to true [-Wobjc-literal-conversion] [self invokeMethod:@"skipBackward" numberArg: [self getPlayerStatus] success: @YES ]; ~ ^~~~ 5 warnings generated. /Users/getaikejiff/Desktop/hlr/flutter/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_sound-8.4.1+1/ios/Classes/FlutterSoundManager.m:35:17: warning: class 'FlutterSoundManager' does not conform to protocol 'FlutterPlugin' [-Wprotocol] @implementation FlutterSoundManager ^ /Users/getaikejiff/Desktop/hlr/flutter/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_sound-8.4.1+1/ios/Classes/FlutterSoundManager.m:35:17: note: add stubs for missing protocol requirements @implementation FlutterSoundManager ^ /Users/getaikejiff/Desktop/hlr/flutter/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_sound-8.4.1+1/ios/Classes/FlutterSoundManager.m:109:17: warning: method definition for 'reset:result:' not found [-Wincomplete-implementation] @implementation Session ^ In file included from /Users/getaikejiff/Desktop/hlr/flutter/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_sound-8.4.1+1/ios/Classes/FlutterSoundManager.m:31: /Users/getaikejiff/Desktop/hlr/flutter/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_sound-8.4.1+1/ios/Classes/FlutterSoundManager.h:42:1: note: method 'reset:result:' declared here - (void)reset: (FlutterMethodCall)call result: (FlutterResult)result; ^ /Users/getaikejiff/Desktop/hlr/flutter/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_sound-8.4.1+1/ios/Classes/FlutterSoundManager.m:109:17: warning: method definition for 'getStatus' not found [-Wincomplete-implementation] @implementation Session ^ In file included from /Users/getaikejiff/Desktop/hlr/flutter/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_sound-8.4.1+1/ios/Classes/FlutterSoundManager.m:31: /Users/getaikejiff/Desktop/hlr/flutter/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_sound-8.4.1+1/ios/Classes/FlutterSoundManager.h:43:1: note: method 'getStatus' declared here - (int) getStatus; ^ /Users/getaikejiff/Desktop/hlr/flutter/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_sound-8.4.1+1/ios/Classes/FlutterSoundManager.m:109:17: warning: method definition for 'freeSlot:' not found [-Wincomplete-implementation] @implementation Session ^ In file included from /Users/getaikejiff/Desktop/hlr/flutter/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_sound-8.4.1+1/ios/Classes/FlutterSoundManager.m:31: /Users/getaikejiff/Desktop/hlr/flutter/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_sound-8.4.1+1/ios/Classes/FlutterSoundManager.h:52:1: note: method 'freeSlot:' declared here - (void)freeSlot: (int)slotNo; ^ /Users/getaikejiff/Desktop/hlr/flutter/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_sound-8.4.1+1/ios/Classes/FlutterSoundManager.m:109:17: warning: method definition for 'invokeMethod:arguments:' not found [-Wincomplete-implementation] @implementation Session ^ In file included from /Users/getaikejiff/Desktop/hlr/flutter/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_sound-8.4.1+1/ios/Classes/FlutterSoundManager.m:31: /Users/getaikejiff/Desktop/hlr/flutter/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_sound-8.4.1+1/ios/Classes/FlutterSoundManager.h:53:1: note: method 'invokeMethod:arguments:' declared here - (void)invokeMethod: (NSString)methodName arguments: (NSDictionary)call ; ^ 5 warnings generated. In file included from /Users/getaikejiff/Desktop/hlr/flutter/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_sound-8.4.1+1/ios/Classes/FlutterSoundFFmpeg.mm:34: /Users/getaikejiff/Desktop/hlr/git-demo/flutter_sound/flutter_sound/example/ios/Pods/mobile-ffmpeg-audio/mobileffmpeg.framework/Headers/LogDelegate.h:23:11: warning: duplicate protocol definition of 'LogDelegate' is ignored [-Wduplicate-protocol] @protocol LogDelegate<NSObject> ^ In file included from /Users/getaikejiff/Desktop/hlr/flutter/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_sound-8.4.1+1/ios/Classes/FlutterSoundFFmpeg.mm:25: In file included from /Users/getaikejiff/Desktop/hlr/flutter/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_sound-8.4.1+1/ios/Classes/FlutterSoundFFmpeg.h:25: In file included from /Users/getaikejiff/Desktop/hlr/git-demo/flutter_sound/flutter_sound/example/ios/Pods/mobile-ffmpeg-audio/mobileffmpeg.framework/Headers/MobileFFmpegConfig.h:24: /Users/getaikejiff/Desktop/hlr/git-demo/flutter_sound/flutter_sound/example/ios/Pods/mobile-ffmpeg-audio/mobileffmpeg.framework/Headers/LogDelegate.h:23:11: note: previous definition is here @protocol LogDelegate<NSObject> ^ /Users/getaikejiff/Desktop/hlr/flutter/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_sound-8.4.1+1/ios/Classes/FlutterSoundFFmpeg.mm:87:17: warning: class 'FlutterSoundEmptyLogDelegate' does not conform to protocol 'LogDelegate' [-Wprotocol] @implementation FlutterSoundEmptyLogDelegate ^ /Users/getaikejiff/Desktop/hlr/flutter/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_sound-8.4.1+1/ios/Classes/FlutterSoundFFmpeg.mm:87:17: note: add stubs for missing protocol requirements @implementation FlutterSoundEmptyLogDelegate ^ 2 warnings generated. ld: in /Users/getaikejiff/Desktop/hlr/git-demo/flutter_sound/flutter_sound/example/ios/Pods/mobile-ffmpeg-audio/lame.framework/lame(VbrTag.o), building for iOS Simulator, but linking in object file built for iOS, file '/Users/getaikejiff/Desktop/hlr/git-demo/flutter_sound/flutter_sound/example/ios/Pods/mobile-ffmpeg-audio/lame.framework/lame' for architecture arm64 clang: error: linker command failed with exit code 1 (use -v to see invocation) note: Using new build system note: Building targets in parallel note: Planning build note: Analyzing workspace note: Constructing build description note: Build preparation complete Could not build the application for the simulator. Error launching application on iPhone 12 Pro Max. Exited (sigterm)

huanlirui avatar Oct 18 '21 03:10 huanlirui

I'm facing the exact same issue on Intel Mac pro with Flutter 2.5.x and iOS 13 Pro Simulator . I already spent full day on this without much luck.

kmusham avatar Oct 18 '21 21:10 kmusham

Ditto cannot build on an intel macbook pro with flutter 2.5 and iOS 13 Simulator (or any simulator I've tried for that matter). Thank god I eventually found this thread! As others have said, will succeed when built with XCode for simulator or physical device but not with android studio for simulator

Strain-solutions avatar Oct 20 '21 14:10 Strain-solutions

This is weird. Myself, I am able to build and run on an iOS emulator, but only the LITE flavor because I am running an Apple Silicon M1 and FFmpeg does not like the M1.

I am even not sure that you have all of you the same problem.

$ flutter --version
Flutter 2.6.0-5.2.pre • channel beta • https://github.com/flutter/flutter.git
Framework • revision 400608f101 (5 weeks ago) • 2021-09-15 15:50:26 -0700
Engine • revision 1d521d89d8
Tools • Dart 2.15.0 (build 2.15.0-82.2.beta)

Larpoux avatar Oct 20 '21 15:10 Larpoux

l had the same issue and when l switch the channel to beta and upgraded, worked fine. So you may need to switch channel to beta

lekeCoder avatar Oct 20 '21 18:10 lekeCoder

@lekeCoder, thanks for the info. I changed to the beta channel (2.7.0-3.0 pre) and eventually I was able to get it to work!

Before working I had to run "flutter upgrade --force", manually rebuild/upgrade iOS Podfiles (pod upgrade), then run the app under xCode. After all of this it now finally builds and debugs on an iOS simulator. Thank goodness!

I'm curious if I now downgrade if it will start working on the 'stable' version, but I don't really want to go through the hassle.

tkeithblack avatar Oct 20 '21 21:10 tkeithblack

I solved this problem. It doesn't seem to be flutter_sound problem, configure the following in the IOS project:

  1. Podfile specifies IOS SDK 10.0
  2. in my app/extension targets, to add "arm64" to the Excluded Architectures build setting when building for the simulator (as your preview appears to be trying to do),
  3. and setting "Build Active Architecture Only" to No for all schemes. Might be worth a try.

huanlirui avatar Oct 21 '21 02:10 huanlirui

Seems like we could mark this issue as Resolved ?

matthieudelaro avatar Feb 21 '22 08:02 matthieudelaro

This issue is stale because it has been open 90 days with no activity. Leave a comment or this will be closed in 7 days.

github-actions[bot] avatar Dec 11 '23 01:12 github-actions[bot]