Released or Beta version ?
latest
Version number ?
5.0.1
FULL or LITE flavor ?
lite
Result of the command "flutter pub deps | grep flutter_sound"
(important)
|-- flutter_sound_lite 5.0.1
Crash ? N
Result is not what expected ? N
Cannot build my App ? YES!
Minor issue ? N
iOS ? Yes, emulator
Android ? N
Both ? N
Emulator ? Y
Real device ? N
(This is very important. Most of the time we cannot do anything if we do not have information on your bug)
Undefined symbols for architecture x86_64:
"___cxa_pure_virtual", referenced from:
vtable for AudioRecInterface in flutter_sound_lite(AudioRecorder.o)
"vtable for __cxxabiv1::__si_class_type_info", referenced from:
typeinfo for AudioRecorderEngine in flutter_sound_lite(AudioRecorder.o)
typeinfo for avAudioRec in flutter_sound_lite(AudioRecorder.o)
NOTE: a missing vtable usually means the first non-inline virtual member function has no definition.
"___cxa_begin_catch", referenced from:
-[FlutterSoundRecorder stopRecorder:] in flutter_sound_lite(AudioRecorder.o)
___clang_call_terminate in flutter_sound_lite(AudioRecorder.o)
"vtable for __cxxabiv1::__class_type_info", referenced from:
typeinfo for AudioRecInterface in flutter_sound_lite(AudioRecorder.o)
NOTE: a missing vtable usually means the first non-inline virtual member function has no definition.
"___cxa_end_catch", referenced from:
-[FlutterSoundRecorder stopRecorder:] in flutter_sound_lite(AudioRecorder.o)
"operator new(unsigned long)", referenced from:
-[FlutterSoundRecorder startRecorder:result:] in flutter_sound_lite(AudioRecorder.o)
"std::terminate()", referenced from:
___clang_call_terminate in flutter_sound_lite(AudioRecorder.o)
"operator delete(void*)", referenced from:
-[FlutterSoundRecorder startRecorder:result:] in flutter_sound_lite(AudioRecorder.o)
AudioRecorderEngine::~AudioRecorderEngine() in flutter_sound_lite(AudioRecorder.o)
avAudioRec::~avAudioRec() in flutter_sound_lite(AudioRecorder.o)
ld: symbol(s) not found for architecture x86_64
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: Constructing build description
warning: Capabilities for Signing & Capabilities may not function correctly because its entitlements use a
placeholder team ID. To resolve this, select a development team in the Runner editor. (in target 'Runner' from
project 'Runner')
(If applicable, add screenshots to help explain your problem).
N/A
Describe the bug
Cannot compile!
To Reproduce
flutter run for iOS emulatorExpected behavior
can compile
N/A
Thanks!
In addition, it has lots of warnings as below.
Launching lib/main.dart on iPhone SE (2nd generation) in debug mode...
Running Xcode build...
└─Compiling, linking and signing... 1.4s
Xcode build done. 14.8s
Failed to build iOS app
Error output from Xcode build:
↳
* BUILD FAILED *
Xcode's output:
↳
23 warnings generated.
In file included from
/Users/tom/opt/flutter/.pub-cache/hosted/pub.flutter-io.cn/flutter_sound_lite-5.0.1/ios/Classes/TrackPlayer.m:22:
In file included from
/Users/tom/opt/flutter/.pub-cache/hosted/pub.flutter-io.cn/flutter_sound_lite-5.0.1/ios/Classes/TrackPlayer.h:26:
/Users/tom/opt/flutter/.pub-cache/hosted/pub.flutter-io.cn/flutter_sound_lite-5.0.1/ios/Classes/FlutterSoundPlayer.h
:26:61: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified)
[-Wnullability-completeness]
extern void FlautoPlayerReg(NSObject
^
/Users/tom/opt/flutter/.pub-cache/hosted/pub.flutter-io.cn/flutter_sound_lite-5.0.1/ios/Classes/FlutterSoundPlayer.h
:26:61: note: insert '_Nullable' if the pointer may be null
extern void FlautoPlayerReg(NSObject
^
_Nullable
/Users/tom/opt/flutter/.pub-cache/hosted/pub.flutter-io.cn/flutter_sound_lite-5.0.1/ios/Classes/FlutterSoundPlayer.h
:26:61: note: insert '_Nonnull' if the pointer should never be null
extern void FlautoPlayerReg(NSObject
^
_Nonnull
/Users/tom/opt/flutter/.pub-cache/hosted/pub.flutter-io.cn/flutter_sound_lite-5.0.1/ios/Classes/FlutterSoundPlayer.h
:64:56: warning: block pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified)
[-Wnullability-completeness]
- (void)seekToPlayer:(nonnull NSNumber) time result: (FlutterResult)result;
^
/Users/tom/opt/flutter/.pub-cache/hosted/pub.flutter-io.cn/flutter_sound_lite-5.0.1/ios/Classes/FlutterSoundPlayer.h
:64:56: note: insert '_Nullable' if the block pointer may be null
- (void)seekToPlayer:(nonnull NSNumber) time result: (FlutterResult)result;
^
_Nullable
/Users/tom/opt/flutter/.pub-cache/hosted/pub.flutter-io.cn/flutter_sound_lite-5.0.1/ios/Classes/FlutterSoundPlayer.h
:64:56: note: insert '_Nonnull' if the block pointer should never be null
- (void)seekToPlayer:(nonnull NSNumber) time result: (FlutterResult)result;
^
_Nonnull
/Users/tom/opt/flutter/.pub-cache/hosted/pub.flutter-io.cn/flutter_sound_lite-5.0.1/ios/Classes/FlutterSoundPlayer.h
:65:51: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified)
[-Wnullability-completeness]
- (void)setSubscriptionDuration:(FlutterMethodCall)call result: (FlutterResult)result;
^
/Users/tom/opt/flutter/.pub-cache/hosted/pub.flutter-io.cn/flutter_sound_lite-5.0.1/ios/Classes/FlutterSoundPlayer.h
:65:51: note: insert '_Nullable' if the pointer may be null
- (void)setSubscriptionDuration:(FlutterMethodCall)call result: (FlutterResult)result;
^
_Nullable
/Users/tom/opt/flutter/.pub-cache/hosted/pub.flutter-io.cn/flutter_sound_lite-5.0.1/ios/Classes/FlutterSoundPlayer.h
:65:51: note: insert '_Nonnull' if the pointer should never be null
- (void)setSubscriptionDuration:(FlutterMethodCall)call result: (FlutterResult)result;
^
_Nonnull
/Users/tom/opt/flutter/.pub-cache/hosted/pub.flutter-io.cn/flutter_sound_lite-5.0.1/ios/Classes/FlutterSoundPlayer.h
:65:67: warning: block pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified)
[-Wnullability-completeness]
- (void)setSubscriptionDuration:(FlutterMethodCall)call result: (FlutterResult)result;
^
/Users/tom/opt/flutter/.pub-cache/hosted/pub.flutter-io.cn/flutter_sound_lite-5.0.1/ios/Classes/FlutterSoundPlayer.h
:65:67: note: insert '_Nullable' if the block pointer may be null
- (void)setSubscriptionDuration:(FlutterMethodCall)call result: (FlutterResult)result;
^
_Nullable
/Users/tom/opt/flutter/.pub-cache/hosted/pub.flutter-io.cn/flutter_sound_lite-5.0.1/ios/Classes/FlutterSoundPlayer.h
:65:67: note: insert '_Nonnull' if the block pointer should never be null
- (void)setSubscriptionDuration:(FlutterMethodCall)call result: (FlutterResult)result;
^
_Nonnull
/Users/tom/opt/flutter/.pub-cache/hosted/pub.flutter-io.cn/flutter_sound_lite-5.0.1/ios/Classes/FlutterSoundPlayer.h
:66:44: warning: block pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified)
[-Wnullability-completeness]
- (void)setVolume:(double) volume result: (FlutterResult)result;
^
/Users/tom/opt/flutter/.pub-cache/hosted/pub.flutter-io.cn/flutter_sound_lite-5.0.1/ios/Classes/FlutterSoundPlayer.h
:66:44: note: insert '_Nullable' if the block pointer may be null
- (void)setVolume:(double) volume result: (FlutterResult)result;
^
_Nullable
/Users/tom/opt/flutter/.pub-cache/hosted/pub.flutter-io.cn/flutter_sound_lite-5.0.1/ios/Classes/FlutterSoundPlayer.h
:66:44: note: insert '_Nonnull' if the block pointer should never be null
- (void)setVolume:(double) volume result: (FlutterResult)result;
^
_Nonnull
/Users/tom/opt/flutter/.pub-cache/hosted/pub.flutter-io.cn/flutter_sound_lite-5.0.1/ios/Classes/FlutterSoundPlayer.h
:67:31: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified)
[-Wnullability-completeness]
- (void)setCategory: (NSString)categ mode:(NSString)mode options:(int)options result:(FlutterResult)result;
^
/Users/tom/opt/flutter/.pub-cache/hosted/pub.flutter-io.cn/flutter_sound_lite-5.0.1/ios/Classes/FlutterSoundPlayer.h
:67:31: note: insert '_Nullable' if the pointer may be null
- (void)setCategory: (NSString)categ mode:(NSString)mode options:(int)options result:(FlutterResult)result;
^
_Nullable
/Users/tom/opt/flutter/.pub-cache/hosted/pub.flutter-io.cn/flutter_sound_lite-5.0.1/ios/Classes/FlutterSoundPlayer.h
:67:31: note: insert '_Nonnull' if the pointer should never be null
- (void)setCategory: (NSString)categ mode:(NSString)mode options:(int)options result:(FlutterResult)result;
^
_Nonnull
/Users/tom/opt/flutter/.pub-cache/hosted/pub.flutter-io.cn/flutter_sound_lite-5.0.1/ios/Classes/FlutterSoundPlayer.h
:67:53: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified)
[-Wnullability-completeness]
- (void)setCategory: (NSString)categ mode:(NSString)mode options:(int)options result:(FlutterResult)result;
^
/Users/tom/opt/flutter/.pub-cache/hosted/pub.flutter-io.cn/flutter_sound_lite-5.0.1/ios/Classes/FlutterSoundPlayer.h
:67:53: note: insert '_Nullable' if the pointer may be null
- (void)setCategory: (NSString)categ mode:(NSString)mode options:(int)options result:(FlutterResult)result;
^
_Nullable
/Users/tom/opt/flutter/.pub-cache/hosted/pub.flutter-io.cn/flutter_sound_lite-5.0.1/ios/Classes/FlutterSoundPlayer.h
:67:53: note: insert '_Nonnull' if the pointer should never be null
- (void)setCategory: (NSString)categ mode:(NSString)mode options:(int)options result:(FlutterResult)result;
^
_Nonnull
/Users/tom/opt/flutter/.pub-cache/hosted/pub.flutter-io.cn/flutter_sound_lite-5.0.1/ios/Classes/FlutterSoundPlayer.h
:67:89: warning: block pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified)
[-Wnullability-completeness]
- (void)setCategory: (NSString)categ mode:(NSString)mode options:(int)options result:(FlutterResult)result;
^
/Users/tom/opt/flutter/.pub-cache/hosted/pub.flutter-io.cn/flutter_sound_lite-5.0.1/ios/Classes/FlutterSoundPlayer.h
:67:89: note: insert '_Nullable' if the block pointer may be null
- (void)setCategory: (NSString)categ mode:(NSString)mode options:(int)options result:(FlutterResult)result;
^
_Nullable
/Users/tom/opt/flutter/.pub-cache/hosted/pub.flutter-io.cn/flutter_sound_lite-5.0.1/ios/Classes/FlutterSoundPlayer.h
:67:89: note: insert '_Nonnull' if the block pointer should never be null
- (void)setCategory: (NSString)categ mode:(NSString)mode options:(int)options result:(FlutterResult)result;
^
_Nonnull
/Users/tom/opt/flutter/.pub-cache/hosted/pub.flutter-io.cn/flutter_sound_lite-5.0.1/ios/Classes/FlutterSoundPlayer.h
:68:41: warning: block pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified)
[-Wnullability-completeness]
- (void)setActive:(BOOL)enabled result:(FlutterResult)result;
^
/Users/tom/opt/flutter/.pub-cache/hosted/pub.flutter-io.cn/flutter_sound_lite-5.0.1/ios/Classes/FlutterSoundPlayer.h
:68:41: note: insert '_Nullable' if the block pointer may be null
- (void)setActive:(BOOL)enabled result:(FlutterResult)result;
^
_Nullable
/Users/tom/opt/flutter/.pub-cache/hosted/pub.flutter-io.cn/flutter_sound_lite-5.0.1/ios/Classes/FlutterSoundPlayer.h
:68:41: note: insert '_Nonnull' if the block pointer should never be null
- (void)setActive:(BOOL)enabled result:(FlutterResult)result;
^
_Nonnull
/Users/tom/opt/flutter/.pub-cache/hosted/pub.flutter-io.cn/flutter_sound_lite-5.0.1/ios/Classes/FlutterSoundPlayer.h
:69:51: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified)
[-Wnullability-completeness]
- (void)initializeFlautoPlayer: (FlutterMethodCall)call result: (FlutterResult)result;
^
/Users/tom/opt/flutter/.pub-cache/hosted/pub.flutter-io.cn/flutter_sound_lite-5.0.1/ios/Classes/FlutterSoundPlayer.h
:69:51: note: insert '_Nullable' if the pointer may be null
- (void)initializeFlautoPlayer: (FlutterMethodCall)call result: (FlutterResult)result;
^
_Nullable
/Users/tom/opt/flutter/.pub-cache/hosted/pub.flutter-io.cn/flutter_sound_lite-5.0.1/ios/Classes/FlutterSoundPlayer.h
:69:51: note: insert '_Nonnull' if the pointer should never be null
- (void)initializeFlautoPlayer: (FlutterMethodCall)call result: (FlutterResult)result;
^
_Nonnull
/Users/tom/opt/flutter/.pub-cache/hosted/pub.flutter-io.cn/flutter_sound_lite-5.0.1/ios/Classes/FlutterSoundPlayer.h
:69:67: warning: block pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified)
[-Wnullability-completeness]
- (void)initializeFlautoPlayer: (FlutterMethodCall)call result: (FlutterResult)result;
^
/Users/tom/opt/flutter/.pub-cache/hosted/pub.flutter-io.cn/flutter_sound_lite-5.0.1/ios/Classes/FlutterSoundPlayer.h
:69:67: note: insert '_Nullable' if the block pointer may be null
- (void)initializeFlautoPlayer: (FlutterMethodCall)call result: (FlutterResult)result;
^
_Nullable
/Users/tom/opt/flutter/.pub-cache/hosted/pub.flutter-io.cn/flutter_sound_lite-5.0.1/ios/Classes/FlutterSoundPlayer.h
:69:67: note: insert '_Nonnull' if the block pointer should never be null
- (void)initializeFlautoPlayer: (FlutterMethodCall)call result: (FlutterResult)result;
^
_Nonnull
/Users/tom/opt/flutter/.pub-cache/hosted/pub.flutter-io.cn/flutter_sound_lite-5.0.1/ios/Classes/FlutterSoundPlayer.h
:70:48: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified)
[-Wnullability-completeness]
- (void)releaseFlautoPlayer: (FlutterMethodCall)call result: (FlutterResult)result;
^
/Users/tom/opt/flutter/.pub-cache/hosted/pub.flutter-io.cn/flutter_sound_lite-5.0.1/ios/Classes/FlutterSoundPlayer.h
:70:48: note: insert '_Nullable' if the pointer may be null
- (void)releaseFlautoPlayer: (FlutterMethodCall)call result: (FlutterResult)result;
^
_Nullable
/Users/tom/opt/flutter/.pub-cache/hosted/pub.flutter-io.cn/flutter_sound_lite-5.0.1/ios/Classes/FlutterSoundPlayer.h
:70:48: note: insert '_Nonnull' if the pointer should never be null
- (void)releaseFlautoPlayer: (FlutterMethodCall)call result: (FlutterResult)result;
^
_Nonnull
/Users/tom/opt/flutter/.pub-cache/hosted/pub.flutter-io.cn/flutter_sound_lite-5.0.1/ios/Classes/FlutterSoundPlayer.h
:70:64: warning: block pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified)
[-Wnullability-completeness]
- (void)releaseFlautoPlayer: (FlutterMethodCall)call result: (FlutterResult)result;
^
/Users/tom/opt/flutter/.pub-cache/hosted/pub.flutter-io.cn/flutter_sound_lite-5.0.1/ios/Classes/FlutterSoundPlayer.h
:70:64: note: insert '_Nullable' if the block pointer may be null
- (void)releaseFlautoPlayer: (FlutterMethodCall)call result: (FlutterResult)result;
^
_Nullable
/Users/tom/opt/flutter/.pub-cache/hosted/pub.flutter-io.cn/flutter_sound_lite-5.0.1/ios/Classes/FlutterSoundPlayer.h
:70:64: note: insert '_Nonnull' if the block pointer should never be null
- (void)releaseFlautoPlayer: (FlutterMethodCall)call result: (FlutterResult)result;
^
_Nonnull
/Users/tom/opt/flutter/.pub-cache/hosted/pub.flutter-io.cn/flutter_sound_lite-5.0.1/ios/Classes/FlutterSoundPlayer.h
:71:42: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified)
[-Wnullability-completeness]
- (void)setAudioFocus: (FlutterMethodCall)call result: (FlutterResult)result;
^
/Users/tom/opt/flutter/.pub-cache/hosted/pub.flutter-io.cn/flutter_sound_lite-5.0.1/ios/Classes/FlutterSoundPlayer.h
:71:42: note: insert '_Nullable' if the pointer may be null
- (void)setAudioFocus: (FlutterMethodCall)call result: (FlutterResult)result;
^
_Nullable
/Users/tom/opt/flutter/.pub-cache/hosted/pub.flutter-io.cn/flutter_sound_lite-5.0.1/ios/Classes/FlutterSoundPlayer.h
:71:42: note: insert '_Nonnull' if the pointer should never be null
- (void)setAudioFocus: (FlutterMethodCall)call result: (FlutterResult)result;
^
_Nonnull
/Users/tom/opt/flutter/.pub-cache/hosted/pub.flutter-io.cn/flutter_sound_lite-5.0.1/ios/Classes/FlutterSoundPlayer.h
:71:58: warning: block pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified)
[-Wnullability-completeness]
- (void)setAudioFocus: (FlutterMethodCall)call result: (FlutterResult)result;
^
/Users/tom/opt/flutter/.pub-cache/hosted/pub.flutter-io.cn/flutter_sound_lite-5.0.1/ios/Classes/FlutterSoundPlayer.h
:71:58: note: insert '_Nullable' if the block pointer may be null
- (void)setAudioFocus: (FlutterMethodCall)call result: (FlutterResult)result;
^
_Nullable
/Users/tom/opt/flutter/.pub-cache/hosted/pub.flutter-io.cn/flutter_sound_lite-5.0.1/ios/Classes/FlutterSoundPlayer.h
:71:58: note: insert '_Nonnull' if the block pointer should never be null
- (void)setAudioFocus: (FlutterMethodCall)call result: (FlutterResult)result;
^
_Nonnull
/Users/tom/opt/flutter/.pub-cache/hosted/pub.flutter-io.cn/flutter_sound_lite-5.0.1/ios/Classes/TrackPlayer.m:152:55
: warning: block implicitly retains 'self'; explicitly mention 'self' to indicate this is intended behavior
[-Wimplicit-retain-self]
audioPlayer = [[AVAudioPlayer alloc] initWithData:data
error:nil];
^
self->
/Users/tom/opt/flutter/.pub-cache/hosted/pub.flutter-io.cn/flutter_sound_lite-5.0.1/ios/Classes/TrackPlayer.m:153:55
: warning: block implicitly retains 'self'; explicitly mention 'self' to indicate this is intended behavior
[-Wimplicit-retain-self]
audioPlayer.delegate = self;
^
self->
/Users/tom/opt/flutter/.pub-cache/hosted/pub.flutter-io.cn/flutter_sound_lite-5.0.1/ios/Classes/TrackPlayer.m:159:56
: warning: block implicitly retains 'self'; explicitly mention 'self' to indicate this is intended behavior
[-Wimplicit-retain-self]
[audioPlayer play];
^
self->
/Users/tom/opt/flutter/.pub-cache/hosted/pub.flutter-io.cn/flutter_sound_lite-5.0.1/ios/Classes/TrackPlayer.m:213:19
: warning: unused variable 'duration' [-Wunused-variable]
NSNumber *duration = [NSNumber numberWithLong: (long)(audioPlayer.duration * 1000)];
^
/Users/tom/opt/flutter/.pub-cache/hosted/pub.flutter-io.cn/flutter_sound_lite-5.0.1/ios/Classes/TrackPlayer.m:214:19
: warning: unused variable 'position' [-Wunused-variable]
NSNumber *position = [NSNumber numberWithLong: (long)(audioPlayer.currentTime * 1000)];
^
/Users/tom/opt/flutter/.pub-cache/hosted/pub.flutter-io.cn/flutter_sound_lite-5.0.1/ios/Classes/TrackPlayer.m:331:39
: warning: unused variable 'result' [-Wunused-variable]
FlutterResult result;
^
/Users/tom/opt/flutter/.pub-cache/hosted/pub.flutter-io.cn/flutter_sound_lite-5.0.1/ios/Classes/TrackPlayer.m:332:35
: warning: block implicitly retains 'self'; explicitly mention 'self' to indicate this is intended behavior
[-Wimplicit-retain-self]
bool b = [audioPlayer isPlaying];
^
self->
/Users/tom/opt/flutter/.pub-cache/hosted/pub.flutter-io.cn/flutter_sound_lite-5.0.1/ios/Classes/TrackPlayer.m:36:17:
warning: method definition for 'freeSlot:' not found [-Wincomplete-implementation]
@implementation TrackPlayer
^
In file included from
/Users/tom/opt/flutter/.pub-cache/hosted/pub.flutter-io.cn/flutter_sound_lite-5.0.1/ios/Classes/TrackPlayer.m:22:
/Users/tom/opt/flutter/.pub-cache/hosted/pub.flutter-io.cn/flutter_sound_lite-5.0.1/ios/Classes/TrackPlayer.h:39:1:
note: method 'freeSlot:' declared here
- (void)freeSlot: (int)slotNo;
^
23 warnings generated.
/Users/tom/opt/flutter/.pub-cache/hosted/pub.flutter-io.cn/flutter_sound_lite-5.0.1/ios/Classes/Track.m:65:19:
warning: unused variable 'albumArtFileString' [-Wunused-variable]
NSString *albumArtFileString = [responseObj objectForKey:@"albumArtFile"];
^
1 warning generated.
/Users/tom/opt/flutter/.pub-cache/hosted/pub.flutter-io.cn/flutter_sound_lite-5.0.1/ios/Classes/FlautoManager.m:97:1
7: warning: method definition for 'initPlugin:slot:' not found [-Wincomplete-implementation]
@implementation FlautoManager
^
In file included from
/Users/tom/opt/flutter/.pub-cache/hosted/pub.flutter-io.cn/flutter_sound_lite-5.0.1/ios/Classes/FlautoManager.m:29:
/Users/tom/opt/flutter/.pub-cache/hosted/pub.flutter-io.cn/flutter_sound_lite-5.0.1/ios/Classes/FlautoManager.h:58:1
: note: method 'initPlugin:slot:' declared here
- (void) initPlugin: (Session) session slot:(int)slotNo;
^
/Users/tom/opt/flutter/.pub-cache/hosted/pub.flutter-io.cn/flutter_sound_lite-5.0.1/ios/Classes/FlautoManager.m:97:1
7: warning: class 'FlautoManager' does not conform to protocol 'FlutterPlugin' [-Wprotocol]
@implementation FlautoManager
^
/Users/tom/opt/flutter/.pub-cache/hosted/pub.flutter-io.cn/flutter_sound_lite-5.0.1/ios/Classes/FlautoManager.m:97:1
7: note: add stubs for missing protocol requirements
@implementation FlautoManager
^
/Users/tom/opt/flutter/.pub-cache/hosted/pub.flutter-io.cn/flutter_sound_lite-5.0.1/ios/Classes/FlautoManager.m:245:
25: warning: enumeration values 'requestFocus', 'abandonFocus', and 'doNotRequestFocus' not handled in switch
[-Wswitch]
switch (audioFocus)
^
/Users/tom/opt/flutter/.pub-cache/hosted/pub.flutter-io.cn/flutter_sound_lite-5.0.1/ios/Classes/FlautoManager.m:245:
25: note: add missing switch cases
switch (audioFocus)
^
/Users/tom/opt/flutter/.pub-cache/hosted/pub.flutter-io.cn/flutter_sound_lite-5.0.1/ios/Classes/FlautoManager.m:232:
17: warning: 'AVAudioSessionModeVoicePrompt' is only available on iOS 12.0 or newer [-Wunguarded-availability-new]
AVAudioSessionModeVoicePrompt,
^~~~~~~
In module 'AVFoundation' imported from
/Users/tom/opt/flutter/.pub-cache/hosted/pub.flutter-io.cn/flutter_sound_lite-5.0.1/ios/Classes/FlautoManager.h:31:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.5.sdk
/System/Library/Frameworks/AVFoundation.framework/Frameworks/AVFAudio.framework/Headers/AVAudioSession.h:764:33:
note: 'AVAudioSessionModeVoicePrompt' has been marked as being introduced in iOS 12.0 here, but the deployment
target is iOS 9.3.0
extern AVAudioSessionMode const AVAudioSessionModeVoicePrompt API_AVAILABLE(ios(12.0), watchos(5.0), tvos(12.0))
API_UNAVAILABLE(macos);
^
/Users/tom/opt/flutter/.pub-cache/hosted/pub.flutter-io.cn/flutter_sound_lite-5.0.1/ios/Classes/FlautoManager.m:232:
17: note: enclose 'AVAudioSessionModeVoicePrompt' in an @available check to silence this warning
AVAudioSessionModeVoicePrompt,
^~~~~~~
/Users/tom/opt/flutter/.pub-cache/hosted/pub.flutter-io.cn/flutter_sound_lite-5.0.1/ios/Classes/FlautoManager.m:232:
17: warning: 'AVAudioSessionModeVoicePrompt' is only available on iOS 12.0 or newer [-Wunguarded-availability-new]
AVAudioSessionModeVoicePrompt,
^~~~~~~
In module 'AVFoundation' imported from
/Users/tom/opt/flutter/.pub-cache/hosted/pub.flutter-io.cn/flutter_sound_lite-5.0.1/ios/Classes/FlautoManager.h:31:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.5.sdk
/System/Library/Frameworks/AVFoundation.framework/Frameworks/AVFAudio.framework/Headers/AVAudioSession.h:764:33:
note: 'AVAudioSessionModeVoicePrompt' has been marked as being introduced in iOS 12.0 here, but the deployment
target is iOS 9.3.0
extern AVAudioSessionMode const AVAudioSessionModeVoicePrompt API_AVAILABLE(ios(12.0), watchos(5.0), tvos(12.0))
API_UNAVAILABLE(macos);
^
/Users/tom/opt/flutter/.pub-cache/hosted/pub.flutter-io.cn/flutter_sound_lite-5.0.1/ios/Classes/FlautoManager.m:232:
17: note: enclose 'AVAudioSessionModeVoicePrompt' in an @available check to silence this warning
AVAudioSessionModeVoicePrompt,
^~~~~~~
/Users/tom/opt/flutter/.pub-cache/hosted/pub.flutter-io.cn/flutter_sound_lite-5.0.1/ios/Classes/FlautoManager.m:257:
50: warning: 'AVAudioSessionCategoryOptionAllowAirPlay' is only available on iOS 10.0 or newer
[-Wunguarded-availability]
sessionCategoryOption |= AVAudioSessionCategoryOptionAllowAirPlay;
^~~~~~~~~~
In module 'AVFoundation' imported from
/Users/tom/opt/flutter/.pub-cache/hosted/pub.flutter-io.cn/flutter_sound_lite-5.0.1/ios/Classes/FlautoManager.h:31:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.5.sdk
/System/Library/Frameworks/AVFoundation.framework/Frameworks/AVFAudio.framework/Headers/AVAudioSession.h:236:2:
note: 'AVAudioSessionCategoryOptionAllowAirPlay' has been marked as being introduced in iOS 10.0 here, but the
deployment target is iOS 9.3.0
AVAudioSessionCategoryOptionAllowAirPlay API_AVAILABLE(ios(10.0), tvos(10.0)) API_UNAVAILABLE(watchos,
macos) = 0x40,
^
/Users/tom/opt/flutter/.pub-cache/hosted/pub.flutter-io.cn/flutter_sound_lite-5.0.1/ios/Classes/FlautoManager.m:257:
50: note: enclose 'AVAudioSessionCategoryOptionAllowAirPlay' in an @available check to silence this warning
sessionCategoryOption |= AVAudioSessionCategoryOptionAllowAirPlay;
^~~~~~~~~~
/Users/tom/opt/flutter/.pub-cache/hosted/pub.flutter-io.cn/flutter_sound_lite-5.0.1/ios/Classes/FlautoManager.m:261:
50: warning: 'AVAudioSessionCategoryOptionAllowBluetoothA2DP' is only available on iOS 10.0 or newer
[-Wunguarded-availability]
sessionCategoryOption |= AVAudioSessionCategoryOptionAllowBluetoothA2DP;
^~~~~~~~~~
In module 'AVFoundation' imported from
/Users/tom/opt/flutter/.pub-cache/hosted/pub.flutter-io.cn/flutter_sound_lite-5.0.1/ios/Classes/FlautoManager.h:31:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.5.sdk
/System/Library/Frameworks/AVFoundation.framework/Frameworks/AVFAudio.framework/Headers/AVAudioSession.h:234:2:
note: 'AVAudioSessionCategoryOptionAllowBluetoothA2DP' has been marked as being introduced in iOS 10.0 here, but the
deployment target is iOS 9.3.0
AVAudioSessionCategoryOptionAllowBluetoothA2DP API_AVAILABLE(ios(10.0), watchos(3.0), tvos(10.0))
API_UNAVAILABLE(macos) = 0x20,
^
/Users/tom/opt/flutter/.pub-cache/hosted/pub.flutter-io.cn/flutter_sound_lite-5.0.1/ios/Classes/FlautoManager.m:261:
50: note: enclose 'AVAudioSessionCategoryOptionAllowBluetoothA2DP' in an @available check to silence this warning
sessionCategoryOption |= AVAudioSessionCategoryOptionAllowBluetoothA2DP;
^~~~~~~~~~
/Users/tom/opt/flutter/.pub-cache/hosted/pub.flutter-io.cn/flutter_sound_lite-5.0.1/ios/Classes/FlautoManager.m:263:
25: warning: 'setCategory:mode:options:error:' is only available on iOS 10.0 or newer [-Wunguarded-availability]
setCategory: tabCategory[category] // AVAudioSessionCategoryPlayback
^~~~~~~~~~~~~~~
In module 'AVFoundation' imported from
/Users/tom/opt/flutter/.pub-cache/hosted/pub.flutter-io.cn/flutter_sound_lite-5.0.1/ios/Classes/FlautoManager.h:31:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.5.sdk
/System/Library/Frameworks/AVFoundation.framework/Frameworks/AVFAudio.framework/Headers/AVAudioSession.h:426:1:
note: 'setCategory:mode:options:error:' has been marked as being introduced in iOS 10.0 here, but the deployment
target is iOS 9.3.0
- (BOOL)setCategory:(AVAudioSessionCategory)category mode:(AVAudioSessionMode)mode
options:(AVAudioSessionCategoryOptions)options error:(NSError *)outError API_AVAILABLE(ios(10.0), watchos(3.0),
tvos(10.0)) API_UNAVAILABLE(macos);
^
/Users/tom/opt/flutter/.pub-cache/hosted/pub.flutter-io.cn/flutter_sound_lite-5.0.1/ios/Classes/FlautoManager.m:263:
25: note: enclose 'setCategory:mode:options:error:' in an @available check to silence this warning
setCategory: tabCategory[category] // AVAudioSessionCategoryPlayback
^~~~~~~~~~~~~~~
8 warnings generated.
/Users/tom/opt/flutter/.pub-cache/hosted/pub.flutter-io.cn/flutter_sound_lite-5.0.1/ios/Classes/FlutterSoundRecorder
.m:43:17: warning: method definition for 'invokeMethod:arguments:' not found [-Wincomplete-implementation]
@implementation FlautoRecorderManager
^
In file included from
/Users/tom/opt/flutter/.pub-cache/hosted/pub.flutter-io.cn/flutter_sound_lite-5.0.1/ios/Classes/FlutterSoundRecorder
.m:29:
/Users/tom/opt/flutter/.pub-cache/hosted/pub.flutter-io.cn/flutter_sound_lite-5.0.1/ios/Classes/FlutterSoundRecorder
.h:45:1: note: method 'invokeMethod:arguments:' declared here
- (void)invokeMethod: (NSString)methodName arguments: (NSDictionary)call;
^
/Users/tom/opt/flutter/.pub-cache/hosted/pub.flutter-io.cn/flutter_sound_lite-5.0.1/ios/Classes/FlutterSoundRecorder
.m:43:17: warning: method definition for 'freeSlot:' not found [-Wincomplete-implementation]
@implementation FlautoRecorderManager
^
In file included from
/Users/tom/opt/flutter/.pub-cache/hosted/pub.flutter-io.cn/flutter_sound_lite-5.0.1/ios/Classes/FlutterSoundRecorder
.m:29:
/Users/tom/opt/flutter/.pub-cache/hosted/pub.flutter-io.cn/flutter_sound_lite-5.0.1/ios/Classes/FlutterSoundRecorder
.h:46:1: note: method 'freeSlot:' declared here
- (void)freeSlot: (int)slotNo;
^
2 warnings generated.
5 warnings generated.
/Users/tom/opt/flutter/.pub-cache/hosted/pub.flutter-io.cn/flutter_sound_lite-5.0.1/ios/Classes/Flauto.m:28:9:
warning: non-portable path to file '"FlutterFFmpegPlugin.h"'; specified path differs in case from file name on disk
[-Wnonportable-include-path]
#import "FlutterFfmpegPlugin.h"
^~~~~~~
"FlutterFFmpegPlugin.h"
/Users/tom/opt/flutter/.pub-cache/hosted/pub.flutter-io.cn/flutter_sound_lite-5.0.1/ios/Classes/Flauto.m:30:9:
warning: non-portable path to file '"Flauto.h"'; specified path differs in case from file name on disk
[-Wnonportable-include-path]
#import "flauto.h"
^~~~~~
"Flauto.h"
In file included from
/Users/tom/opt/flutter/.pub-cache/hosted/pub.flutter-io.cn/flutter_sound_lite-5.0.1/ios/Classes/Flauto.m:31:
/Users/tom/opt/flutter/.pub-cache/hosted/pub.flutter-io.cn/flutter_sound_lite-5.0.1/ios/Classes/FlutterSoundPlayer.h
:26:61: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified)
[-Wnullability-completeness]
extern void FlautoPlayerReg(NSObject
^
/Users/tom/opt/flutter/.pub-cache/hosted/pub.flutter-io.cn/flutter_sound_lite-5.0.1/ios/Classes/FlutterSoundPlayer.h
:26:61: note: insert '_Nullable' if the pointer may be null
extern void FlautoPlayerReg(NSObject
^
_Nullable
/Users/tom/opt/flutter/.pub-cache/hosted/pub.flutter-io.cn/flutter_sound_lite-5.0.1/ios/Classes/FlutterSoundPlayer.h
:26:61: note: insert '_Nonnull' if the pointer should never be null
extern void FlautoPlayerReg(NSObject
^
_Nonnull
/Users/tom/opt/flutter/.pub-cache/hosted/pub.flutter-io.cn/flutter_sound_lite-5.0.1/ios/Classes/FlutterSoundPlayer.h
:64:56: warning: block pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified)
[-Wnullability-completeness]
- (void)seekToPlayer:(nonnull NSNumber) time result: (FlutterResult)result;
^
/Users/tom/opt/flutter/.pub-cache/hosted/pub.flutter-io.cn/flutter_sound_lite-5.0.1/ios/Classes/FlutterSoundPlayer.h
:64:56: note: insert '_Nullable' if the block pointer may be null
- (void)seekToPlayer:(nonnull NSNumber) time result: (FlutterResult)result;
^
_Nullable
/Users/tom/opt/flutter/.pub-cache/hosted/pub.flutter-io.cn/flutter_sound_lite-5.0.1/ios/Classes/FlutterSoundPlayer.h
:64:56: note: insert '_Nonnull' if the block pointer should never be null
- (void)seekToPlayer:(nonnull NSNumber) time result: (FlutterResult)result;
^
_Nonnull
/Users/tom/opt/flutter/.pub-cache/hosted/pub.flutter-io.cn/flutter_sound_lite-5.0.1/ios/Classes/FlutterSoundPlayer.h
:65:51: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified)
[-Wnullability-completeness]
- (void)setSubscriptionDuration:(FlutterMethodCall)call result: (FlutterResult)result;
^
/Users/tom/opt/flutter/.pub-cache/hosted/pub.flutter-io.cn/flutter_sound_lite-5.0.1/ios/Classes/FlutterSoundPlayer.h
:65:51: note: insert '_Nullable' if the pointer may be null
- (void)setSubscriptionDuration:(FlutterMethodCall)call result: (FlutterResult)result;
^
_Nullable
/Users/tom/opt/flutter/.pub-cache/hosted/pub.flutter-io.cn/flutter_sound_lite-5.0.1/ios/Classes/FlutterSoundPlayer.h
:65:51: note: insert '_Nonnull' if the pointer should never be null
- (void)setSubscriptionDuration:(FlutterMethodCall)call result: (FlutterResult)result;
^
_Nonnull
/Users/tom/opt/flutter/.pub-cache/hosted/pub.flutter-io.cn/flutter_sound_lite-5.0.1/ios/Classes/FlutterSoundPlayer.h
:65:67: warning: block pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified)
[-Wnullability-completeness]
- (void)setSubscriptionDuration:(FlutterMethodCall)call result: (FlutterResult)result;
^
/Users/tom/opt/flutter/.pub-cache/hosted/pub.flutter-io.cn/flutter_sound_lite-5.0.1/ios/Classes/FlutterSoundPlayer.h
:65:67: note: insert '_Nullable' if the block pointer may be null
- (void)setSubscriptionDuration:(FlutterMethodCall)call result: (FlutterResult)result;
^
_Nullable
/Users/tom/opt/flutter/.pub-cache/hosted/pub.flutter-io.cn/flutter_sound_lite-5.0.1/ios/Classes/FlutterSoundPlayer.h
:65:67: note: insert '_Nonnull' if the block pointer should never be null
- (void)setSubscriptionDuration:(FlutterMethodCall)call result: (FlutterResult)result;
^
_Nonnull
/Users/tom/opt/flutter/.pub-cache/hosted/pub.flutter-io.cn/flutter_sound_lite-5.0.1/ios/Classes/FlutterSoundPlayer.h
:66:44: warning: block pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified)
[-Wnullability-completeness]
- (void)setVolume:(double) volume result: (FlutterResult)result;
^
/Users/tom/opt/flutter/.pub-cache/hosted/pub.flutter-io.cn/flutter_sound_lite-5.0.1/ios/Classes/FlutterSoundPlayer.h
:66:44: note: insert '_Nullable' if the block pointer may be null
- (void)setVolume:(double) volume result: (FlutterResult)result;
^
_Nullable
/Users/tom/opt/flutter/.pub-cache/hosted/pub.flutter-io.cn/flutter_sound_lite-5.0.1/ios/Classes/FlutterSoundPlayer.h
:66:44: note: insert '_Nonnull' if the block pointer should never be null
- (void)setVolume:(double) volume result: (FlutterResult)result;
^
_Nonnull
/Users/tom/opt/flutter/.pub-cache/hosted/pub.flutter-io.cn/flutter_sound_lite-5.0.1/ios/Classes/FlutterSoundPlayer.h
:67:31: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified)
[-Wnullability-completeness]
- (void)setCategory: (NSString)categ mode:(NSString)mode options:(int)options result:(FlutterResult)result;
^
/Users/tom/opt/flutter/.pub-cache/hosted/pub.flutter-io.cn/flutter_sound_lite-5.0.1/ios/Classes/FlutterSoundPlayer.h
:67:31: note: insert '_Nullable' if the pointer may be null
- (void)setCategory: (NSString)categ mode:(NSString)mode options:(int)options result:(FlutterResult)result;
^
_Nullable
/Users/tom/opt/flutter/.pub-cache/hosted/pub.flutter-io.cn/flutter_sound_lite-5.0.1/ios/Classes/FlutterSoundPlayer.h
:67:31: note: insert '_Nonnull' if the pointer should never be null
- (void)setCategory: (NSString)categ mode:(NSString)mode options:(int)options result:(FlutterResult)result;
^
_Nonnull
/Users/tom/opt/flutter/.pub-cache/hosted/pub.flutter-io.cn/flutter_sound_lite-5.0.1/ios/Classes/FlutterSoundPlayer.h
:67:53: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified)
[-Wnullability-completeness]
- (void)setCategory: (NSString)categ mode:(NSString)mode options:(int)options result:(FlutterResult)result;
^
/Users/tom/opt/flutter/.pub-cache/hosted/pub.flutter-io.cn/flutter_sound_lite-5.0.1/ios/Classes/FlutterSoundPlayer.h
:67:53: note: insert '_Nullable' if the pointer may be null
- (void)setCategory: (NSString)categ mode:(NSString)mode options:(int)options result:(FlutterResult)result;
^
_Nullable
/Users/tom/opt/flutter/.pub-cache/hosted/pub.flutter-io.cn/flutter_sound_lite-5.0.1/ios/Classes/FlutterSoundPlayer.h
:67:53: note: insert '_Nonnull' if the pointer should never be null
- (void)setCategory: (NSString)categ mode:(NSString)mode options:(int)options result:(FlutterResult)result;
^
_Nonnull
/Users/tom/opt/flutter/.pub-cache/hosted/pub.flutter-io.cn/flutter_sound_lite-5.0.1/ios/Classes/FlutterSoundPlayer.h
:67:89: warning: block pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified)
[-Wnullability-completeness]
- (void)setCategory: (NSString)categ mode:(NSString)mode options:(int)options result:(FlutterResult)result;
^
/Users/tom/opt/flutter/.pub-cache/hosted/pub.flutter-io.cn/flutter_sound_lite-5.0.1/ios/Classes/FlutterSoundPlayer.h
:67:89: note: insert '_Nullable' if the block pointer may be null
- (void)setCategory: (NSString)categ mode:(NSString)mode options:(int)options result:(FlutterResult)result;
^
_Nullable
/Users/tom/opt/flutter/.pub-cache/hosted/pub.flutter-io.cn/flutter_sound_lite-5.0.1/ios/Classes/FlutterSoundPlayer.h
:67:89: note: insert '_Nonnull' if the block pointer should never be null
- (void)setCategory: (NSString)categ mode:(NSString)mode options:(int)options result:(FlutterResult)result;
^
_Nonnull
/Users/tom/opt/flutter/.pub-cache/hosted/pub.flutter-io.cn/flutter_sound_lite-5.0.1/ios/Classes/FlutterSoundPlayer.h
:68:41: warning: block pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified)
[-Wnullability-completeness]
- (void)setActive:(BOOL)enabled result:(FlutterResult)result;
^
/Users/tom/opt/flutter/.pub-cache/hosted/pub.flutter-io.cn/flutter_sound_lite-5.0.1/ios/Classes/FlutterSoundPlayer.h
:68:41: note: insert '_Nullable' if the block pointer may be null
- (void)setActive:(BOOL)enabled result:(FlutterResult)result;
^
_Nullable
/Users/tom/opt/flutter/.pub-cache/hosted/pub.flutter-io.cn/flutter_sound_lite-5.0.1/ios/Classes/FlutterSoundPlayer.h
:68:41: note: insert '_Nonnull' if the block pointer should never be null
- (void)setActive:(BOOL)enabled result:(FlutterResult)result;
^
_Nonnull
/Users/tom/opt/flutter/.pub-cache/hosted/pub.flutter-io.cn/flutter_sound_lite-5.0.1/ios/Classes/FlutterSoundPlayer.h
:69:51: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified)
[-Wnullability-completeness]
- (void)initializeFlautoPlayer: (FlutterMethodCall)call result: (FlutterResult)result;
^
/Users/tom/opt/flutter/.pub-cache/hosted/pub.flutter-io.cn/flutter_sound_lite-5.0.1/ios/Classes/FlutterSoundPlayer.h
:69:51: note: insert '_Nullable' if the pointer may be null
- (void)initializeFlautoPlayer: (FlutterMethodCall)call result: (FlutterResult)result;
^
_Nullable
/Users/tom/opt/flutter/.pub-cache/hosted/pub.flutter-io.cn/flutter_sound_lite-5.0.1/ios/Classes/FlutterSoundPlayer.h
:69:51: note: insert '_Nonnull' if the pointer should never be null
- (void)initializeFlautoPlayer: (FlutterMethodCall)call result: (FlutterResult)result;
^
_Nonnull
/Users/tom/opt/flutter/.pub-cache/hosted/pub.flutter-io.cn/flutter_sound_lite-5.0.1/ios/Classes/FlutterSoundPlayer.h
:69:67: warning: block pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified)
[-Wnullability-completeness]
- (void)initializeFlautoPlayer: (FlutterMethodCall)call result: (FlutterResult)result;
^
/Users/tom/opt/flutter/.pub-cache/hosted/pub.flutter-io.cn/flutter_sound_lite-5.0.1/ios/Classes/FlutterSoundPlayer.h
:69:67: note: insert '_Nullable' if the block pointer may be null
- (void)initializeFlautoPlayer: (FlutterMethodCall)call result: (FlutterResult)result;
^
_Nullable
/Users/tom/opt/flutter/.pub-cache/hosted/pub.flutter-io.cn/flutter_sound_lite-5.0.1/ios/Classes/FlutterSoundPlayer.h
:69:67: note: insert '_Nonnull' if the block pointer should never be null
- (void)initializeFlautoPlayer: (FlutterMethodCall)call result: (FlutterResult)result;
^
_Nonnull
/Users/tom/opt/flutter/.pub-cache/hosted/pub.flutter-io.cn/flutter_sound_lite-5.0.1/ios/Classes/FlutterSoundPlayer.h
:70:48: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified)
[-Wnullability-completeness]
- (void)releaseFlautoPlayer: (FlutterMethodCall)call result: (FlutterResult)result;
^
/Users/tom/opt/flutter/.pub-cache/hosted/pub.flutter-io.cn/flutter_sound_lite-5.0.1/ios/Classes/FlutterSoundPlayer.h
:70:48: note: insert '_Nullable' if the pointer may be null
- (void)releaseFlautoPlayer: (FlutterMethodCall)call result: (FlutterResult)result;
^
_Nullable
/Users/tom/opt/flutter/.pub-cache/hosted/pub.flutter-io.cn/flutter_sound_lite-5.0.1/ios/Classes/FlutterSoundPlayer.h
:70:48: note: insert '_Nonnull' if the pointer should never be null
- (void)releaseFlautoPlayer: (FlutterMethodCall)call result: (FlutterResult)result;
^
_Nonnull
/Users/tom/opt/flutter/.pub-cache/hosted/pub.flutter-io.cn/flutter_sound_lite-5.0.1/ios/Classes/FlutterSoundPlayer.h
:70:64: warning: block pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified)
[-Wnullability-completeness]
- (void)releaseFlautoPlayer: (FlutterMethodCall)call result: (FlutterResult)result;
^
/Users/tom/opt/flutter/.pub-cache/hosted/pub.flutter-io.cn/flutter_sound_lite-5.0.1/ios/Classes/FlutterSoundPlayer.h
:70:64: note: insert '_Nullable' if the block pointer may be null
- (void)releaseFlautoPlayer: (FlutterMethodCall)call result: (FlutterResult)result;
^
_Nullable
/Users/tom/opt/flutter/.pub-cache/hosted/pub.flutter-io.cn/flutter_sound_lite-5.0.1/ios/Classes/FlutterSoundPlayer.h
:70:64: note: insert '_Nonnull' if the block pointer should never be null
- (void)releaseFlautoPlayer: (FlutterMethodCall)call result: (FlutterResult)result;
^
_Nonnull
/Users/tom/opt/flutter/.pub-cache/hosted/pub.flutter-io.cn/flutter_sound_lite-5.0.1/ios/Classes/FlutterSoundPlayer.h
:71:42: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified)
[-Wnullability-completeness]
- (void)setAudioFocus: (FlutterMethodCall)call result: (FlutterResult)result;
^
/Users/tom/opt/flutter/.pub-cache/hosted/pub.flutter-io.cn/flutter_sound_lite-5.0.1/ios/Classes/FlutterSoundPlayer.h
:71:42: note: insert '_Nullable' if the pointer may be null
- (void)setAudioFocus: (FlutterMethodCall)call result: (FlutterResult)result;
^
_Nullable
/Users/tom/opt/flutter/.pub-cache/hosted/pub.flutter-io.cn/flutter_sound_lite-5.0.1/ios/Classes/FlutterSoundPlayer.h
:71:42: note: insert '_Nonnull' if the pointer should never be null
- (void)setAudioFocus: (FlutterMethodCall)call result: (FlutterResult)result;
^
_Nonnull
/Users/tom/opt/flutter/.pub-cache/hosted/pub.flutter-io.cn/flutter_sound_lite-5.0.1/ios/Classes/FlutterSoundPlayer.h
:71:58: warning: block pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified)
[-Wnullability-completeness]
- (void)setAudioFocus: (FlutterMethodCall)call result: (FlutterResult)result;
^
/Users/tom/opt/flutter/.pub-cache/hosted/pub.flutter-io.cn/flutter_sound_lite-5.0.1/ios/Classes/FlutterSoundPlayer.h
:71:58: note: insert '_Nullable' if the block pointer may be null
- (void)setAudioFocus: (FlutterMethodCall)call result: (FlutterResult)result;
^
_Nullable
/Users/tom/opt/flutter/.pub-cache/hosted/pub.flutter-io.cn/flutter_sound_lite-5.0.1/ios/Classes/FlutterSoundPlayer.h
:71:58: note: insert '_Nonnull' if the block pointer should never be null
- (void)setAudioFocus: (FlutterMethodCall)call result: (FlutterResult)result;
^
_Nonnull
17 warnings generated.
While building module 'flutter_sound_lite' imported from
/Users/mypathproj/ios/Runner/GeneratedPluginRegistrant.m:8:
In file included from
In file included from
/Users/mypathproj/build/ios/Debug-iphonesimulator/flutter_sound_lite/flutter_soun
d_lite.framework/Headers/flutter_sound_lite-umbrella.h:17:
/Users/mypathproj/build/ios/Debug-iphonesimulator/flutter_sound_lite/flutter_soun
d_lite.framework/Headers/FlutterSoundPlayer.h:26:61: warning: pointer is missing a nullability type specifier
(_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
extern void FlautoPlayerReg(NSObject
^
/Users/mypathproj/build/ios/Debug-iphonesimulator/flutter_sound_lite/flutter_soun
d_lite.framework/Headers/FlutterSoundPlayer.h:26:61: note: insert '_Nullable' if the pointer may be null
extern void FlautoPlayerReg(NSObject
^
_Nullable
/Users/mypathproj/build/ios/Debug-iphonesimulator/flutter_sound_lite/flutter_soun
d_lite.framework/Headers/FlutterSoundPlayer.h:26:61: note: insert '_Nonnull' if the pointer should never be null
extern void FlautoPlayerReg(NSObject
^
_Nonnull
/Users/mypathproj/build/ios/Debug-iphonesimulator/flutter_sound_lite/flutter_soun
d_lite.framework/Headers/FlutterSoundPlayer.h:64:56: warning: block pointer is missing a nullability type specifier
(_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
- (void)seekToPlayer:(nonnull NSNumber) time result: (FlutterResult)result;
^
/Users/mypathproj/build/ios/Debug-iphonesimulator/flutter_sound_lite/flutter_soun
d_lite.framework/Headers/FlutterSoundPlayer.h:64:56: note: insert '_Nullable' if the block pointer may be null
- (void)seekToPlayer:(nonnull NSNumber) time result: (FlutterResult)result;
^
_Nullable
/Users/mypathproj/build/ios/Debug-iphonesimulator/flutter_sound_lite/flutter_soun
d_lite.framework/Headers/FlutterSoundPlayer.h:64:56: note: insert '_Nonnull' if the block pointer should never be
null
- (void)seekToPlayer:(nonnull NSNumber) time result: (FlutterResult)result;
^
_Nonnull
/Users/mypathproj/build/ios/Debug-iphonesimulator/flutter_sound_lite/flutter_soun
d_lite.framework/Headers/FlutterSoundPlayer.h:65:51: warning: pointer is missing a nullability type specifier
(_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
- (void)setSubscriptionDuration:(FlutterMethodCall)call result: (FlutterResult)result;
^
/Users/mypathproj/build/ios/Debug-iphonesimulator/flutter_sound_lite/flutter_soun
d_lite.framework/Headers/FlutterSoundPlayer.h:65:51: note: insert '_Nullable' if the pointer may be null
- (void)setSubscriptionDuration:(FlutterMethodCall)call result: (FlutterResult)result;
^
_Nullable
/Users/mypathproj/build/ios/Debug-iphonesimulator/flutter_sound_lite/flutter_soun
d_lite.framework/Headers/FlutterSoundPlayer.h:65:51: note: insert '_Nonnull' if the pointer should never be null
- (void)setSubscriptionDuration:(FlutterMethodCall)call result: (FlutterResult)result;
^
_Nonnull
/Users/mypathproj/build/ios/Debug-iphonesimulator/flutter_sound_lite/flutter_soun
d_lite.framework/Headers/FlutterSoundPlayer.h:65:67: warning: block pointer is missing a nullability type specifier
(_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
- (void)setSubscriptionDuration:(FlutterMethodCall)call result: (FlutterResult)result;
^
/Users/mypathproj/build/ios/Debug-iphonesimulator/flutter_sound_lite/flutter_soun
d_lite.framework/Headers/FlutterSoundPlayer.h:65:67: note: insert '_Nullable' if the block pointer may be null
- (void)setSubscriptionDuration:(FlutterMethodCall)call result: (FlutterResult)result;
^
_Nullable
/Users/mypathproj/build/ios/Debug-iphonesimulator/flutter_sound_lite/flutter_soun
d_lite.framework/Headers/FlutterSoundPlayer.h:65:67: note: insert '_Nonnull' if the block pointer should never be
null
- (void)setSubscriptionDuration:(FlutterMethodCall)call result: (FlutterResult)result;
^
_Nonnull
/Users/mypathproj/build/ios/Debug-iphonesimulator/flutter_sound_lite/flutter_soun
d_lite.framework/Headers/FlutterSoundPlayer.h:66:44: warning: block pointer is missing a nullability type specifier
(_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
- (void)setVolume:(double) volume result: (FlutterResult)result;
^
/Users/mypathproj/build/ios/Debug-iphonesimulator/flutter_sound_lite/flutter_soun
d_lite.framework/Headers/FlutterSoundPlayer.h:66:44: note: insert '_Nullable' if the block pointer may be null
- (void)setVolume:(double) volume result: (FlutterResult)result;
^
_Nullable
/Users/mypathproj/build/ios/Debug-iphonesimulator/flutter_sound_lite/flutter_soun
d_lite.framework/Headers/FlutterSoundPlayer.h:66:44: note: insert '_Nonnull' if the block pointer should never be
null
- (void)setVolume:(double) volume result: (FlutterResult)result;
^
_Nonnull
/Users/mypathproj/build/ios/Debug-iphonesimulator/flutter_sound_lite/flutter_soun
d_lite.framework/Headers/FlutterSoundPlayer.h:67:31: warning: pointer is missing a nullability type specifier
(_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
- (void)setCategory: (NSString)categ mode:(NSString)mode options:(int)options result:(FlutterResult)result;
^
/Users/mypathproj/build/ios/Debug-iphonesimulator/flutter_sound_lite/flutter_soun
d_lite.framework/Headers/FlutterSoundPlayer.h:67:31: note: insert '_Nullable' if the pointer may be null
- (void)setCategory: (NSString)categ mode:(NSString)mode options:(int)options result:(FlutterResult)result;
^
_Nullable
/Users/mypathproj/build/ios/Debug-iphonesimulator/flutter_sound_lite/flutter_soun
d_lite.framework/Headers/FlutterSoundPlayer.h:67:31: note: insert '_Nonnull' if the pointer should never be null
- (void)setCategory: (NSString)categ mode:(NSString)mode options:(int)options result:(FlutterResult)result;
^
_Nonnull
/Users/mypathproj/build/ios/Debug-iphonesimulator/flutter_sound_lite/flutter_soun
d_lite.framework/Headers/FlutterSoundPlayer.h:67:53: warning: pointer is missing a nullability type specifier
(_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
- (void)setCategory: (NSString)categ mode:(NSString)mode options:(int)options result:(FlutterResult)result;
^
/Users/mypathproj/build/ios/Debug-iphonesimulator/flutter_sound_lite/flutter_soun
d_lite.framework/Headers/FlutterSoundPlayer.h:67:53: note: insert '_Nullable' if the pointer may be null
- (void)setCategory: (NSString)categ mode:(NSString)mode options:(int)options result:(FlutterResult)result;
^
_Nullable
/Users/mypathproj/build/ios/Debug-iphonesimulator/flutter_sound_lite/flutter_soun
d_lite.framework/Headers/FlutterSoundPlayer.h:67:53: note: insert '_Nonnull' if the pointer should never be null
- (void)setCategory: (NSString)categ mode:(NSString)mode options:(int)options result:(FlutterResult)result;
^
_Nonnull
/Users/mypathproj/build/ios/Debug-iphonesimulator/flutter_sound_lite/flutter_soun
d_lite.framework/Headers/FlutterSoundPlayer.h:67:89: warning: block pointer is missing a nullability type specifier
(_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
- (void)setCategory: (NSString)categ mode:(NSString)mode options:(int)options result:(FlutterResult)result;
^
/Users/mypathproj/build/ios/Debug-iphonesimulator/flutter_sound_lite/flutter_soun
d_lite.framework/Headers/FlutterSoundPlayer.h:67:89: note: insert '_Nullable' if the block pointer may be null
- (void)setCategory: (NSString)categ mode:(NSString)mode options:(int)options result:(FlutterResult)result;
^
_Nullable
/Users/mypathproj/build/ios/Debug-iphonesimulator/flutter_sound_lite/flutter_soun
d_lite.framework/Headers/FlutterSoundPlayer.h:67:89: note: insert '_Nonnull' if the block pointer should never be
null
- (void)setCategory: (NSString)categ mode:(NSString)mode options:(int)options result:(FlutterResult)result;
^
_Nonnull
/Users/mypathproj/build/ios/Debug-iphonesimulator/flutter_sound_lite/flutter_soun
d_lite.framework/Headers/FlutterSoundPlayer.h:68:41: warning: block pointer is missing a nullability type specifier
(_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
- (void)setActive:(BOOL)enabled result:(FlutterResult)result;
^
/Users/mypathproj/build/ios/Debug-iphonesimulator/flutter_sound_lite/flutter_soun
d_lite.framework/Headers/FlutterSoundPlayer.h:68:41: note: insert '_Nullable' if the block pointer may be null
- (void)setActive:(BOOL)enabled result:(FlutterResult)result;
^
_Nullable
/Users/mypathproj/build/ios/Debug-iphonesimulator/flutter_sound_lite/flutter_soun
d_lite.framework/Headers/FlutterSoundPlayer.h:68:41: note: insert '_Nonnull' if the block pointer should never be
null
- (void)setActive:(BOOL)enabled result:(FlutterResult)result;
^
_Nonnull
/Users/mypathproj/build/ios/Debug-iphonesimulator/flutter_sound_lite/flutter_soun
d_lite.framework/Headers/FlutterSoundPlayer.h:69:51: warning: pointer is missing a nullability type specifier
(_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
- (void)initializeFlautoPlayer: (FlutterMethodCall)call result: (FlutterResult)result;
^
/Users/mypathproj/build/ios/Debug-iphonesimulator/flutter_sound_lite/flutter_soun
d_lite.framework/Headers/FlutterSoundPlayer.h:69:51: note: insert '_Nullable' if the pointer may be null
- (void)initializeFlautoPlayer: (FlutterMethodCall)call result: (FlutterResult)result;
^
_Nullable
/Users/mypathproj/build/ios/Debug-iphonesimulator/flutter_sound_lite/flutter_soun
d_lite.framework/Headers/FlutterSoundPlayer.h:69:51: note: insert '_Nonnull' if the pointer should never be null
- (void)initializeFlautoPlayer: (FlutterMethodCall)call result: (FlutterResult)result;
^
_Nonnull
/Users/mypathproj/build/ios/Debug-iphonesimulator/flutter_sound_lite/flutter_soun
d_lite.framework/Headers/FlutterSoundPlayer.h:69:67: warning: block pointer is missing a nullability type specifier
(_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
- (void)initializeFlautoPlayer: (FlutterMethodCall)call result: (FlutterResult)result;
^
/Users/mypathproj/build/ios/Debug-iphonesimulator/flutter_sound_lite/flutter_soun
d_lite.framework/Headers/FlutterSoundPlayer.h:69:67: note: insert '_Nullable' if the block pointer may be null
- (void)initializeFlautoPlayer: (FlutterMethodCall)call result: (FlutterResult)result;
^
_Nullable
/Users/mypathproj/build/ios/Debug-iphonesimulator/flutter_sound_lite/flutter_soun
d_lite.framework/Headers/FlutterSoundPlayer.h:69:67: note: insert '_Nonnull' if the block pointer should never be
null
- (void)initializeFlautoPlayer: (FlutterMethodCall)call result: (FlutterResult)result;
^
_Nonnull
/Users/mypathproj/build/ios/Debug-iphonesimulator/flutter_sound_lite/flutter_soun
d_lite.framework/Headers/FlutterSoundPlayer.h:70:48: warning: pointer is missing a nullability type specifier
(_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
- (void)releaseFlautoPlayer: (FlutterMethodCall)call result: (FlutterResult)result;
^
/Users/mypathproj/build/ios/Debug-iphonesimulator/flutter_sound_lite/flutter_soun
d_lite.framework/Headers/FlutterSoundPlayer.h:70:48: note: insert '_Nullable' if the pointer may be null
- (void)releaseFlautoPlayer: (FlutterMethodCall)call result: (FlutterResult)result;
^
_Nullable
/Users/mypathproj/build/ios/Debug-iphonesimulator/flutter_sound_lite/flutter_soun
d_lite.framework/Headers/FlutterSoundPlayer.h:70:48: note: insert '_Nonnull' if the pointer should never be null
- (void)releaseFlautoPlayer: (FlutterMethodCall)call result: (FlutterResult)result;
^
_Nonnull
/Users/mypathproj/build/ios/Debug-iphonesimulator/flutter_sound_lite/flutter_soun
d_lite.framework/Headers/FlutterSoundPlayer.h:70:64: warning: block pointer is missing a nullability type specifier
(_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
- (void)releaseFlautoPlayer: (FlutterMethodCall)call result: (FlutterResult)result;
^
/Users/mypathproj/build/ios/Debug-iphonesimulator/flutter_sound_lite/flutter_soun
d_lite.framework/Headers/FlutterSoundPlayer.h:70:64: note: insert '_Nullable' if the block pointer may be null
- (void)releaseFlautoPlayer: (FlutterMethodCall)call result: (FlutterResult)result;
^
_Nullable
/Users/mypathproj/build/ios/Debug-iphonesimulator/flutter_sound_lite/flutter_soun
d_lite.framework/Headers/FlutterSoundPlayer.h:70:64: note: insert '_Nonnull' if the block pointer should never be
null
- (void)releaseFlautoPlayer: (FlutterMethodCall)call result: (FlutterResult)result;
^
_Nonnull
/Users/mypathproj/build/ios/Debug-iphonesimulator/flutter_sound_lite/flutter_soun
d_lite.framework/Headers/FlutterSoundPlayer.h:71:42: warning: pointer is missing a nullability type specifier
(_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
- (void)setAudioFocus: (FlutterMethodCall)call result: (FlutterResult)result;
^
/Users/mypathproj/build/ios/Debug-iphonesimulator/flutter_sound_lite/flutter_soun
d_lite.framework/Headers/FlutterSoundPlayer.h:71:42: note: insert '_Nullable' if the pointer may be null
- (void)setAudioFocus: (FlutterMethodCall)call result: (FlutterResult)result;
^
_Nullable
/Users/mypathproj/build/ios/Debug-iphonesimulator/flutter_sound_lite/flutter_soun
d_lite.framework/Headers/FlutterSoundPlayer.h:71:42: note: insert '_Nonnull' if the pointer should never be null
- (void)setAudioFocus: (FlutterMethodCall)call result: (FlutterResult)result;
^
_Nonnull
/Users/mypathproj/build/ios/Debug-iphonesimulator/flutter_sound_lite/flutter_soun
d_lite.framework/Headers/FlutterSoundPlayer.h:71:58: warning: block pointer is missing a nullability type specifier
(_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
- (void)setAudioFocus: (FlutterMethodCall)call result: (FlutterResult)result;
^
/Users/mypathproj/build/ios/Debug-iphonesimulator/flutter_sound_lite/flutter_soun
d_lite.framework/Headers/FlutterSoundPlayer.h:71:58: note: insert '_Nullable' if the block pointer may be null
- (void)setAudioFocus: (FlutterMethodCall)call result: (FlutterResult)result;
^
_Nullable
/Users/mypathproj/build/ios/Debug-iphonesimulator/flutter_sound_lite/flutter_soun
d_lite.framework/Headers/FlutterSoundPlayer.h:71:58: note: insert '_Nonnull' if the block pointer should never be
null
- (void)setAudioFocus: (FlutterMethodCall*)call result: (FlutterResult)result;
^
_Nonnull
I am facing the same issue
it works fine on android but breaks on IOS
After I added all the permissions in the info.plist , the ios build broke
@fzyzcjy :
Try to open your xxx.xcworkspace in XCode and build your project.
You will be less polluted by all the warnings and you will get a clear diagnostic of your problem.
Maybe a problem with your IOS signature ? (go to the "Signing and Capabilities" tab and verify that you gave a correct Provisionning Profile to XCode).
Thanks for the reply! (I gave up on V5 after not receiving reply for one day, so now I do not have a reproducible environment any more... Maybe @pacifio can produce the logs needed)
I'm facing similar issue. but i realized if V5 is not stable version, the creator mention it in https://github.com/dooboolab/flutter_sound#flutter-sound-branches
Yesterday I encountered this problem myself.
I fixed it with adding the Linker Flag -lstdc++ in Xcode Build Settings > Other Linker Flags.
Please try this, and reopen this issue this does not work for you.
Note: V5 is stable and is probably the best version to be used
Most helpful comment
Yesterday I encountered this problem myself.
I fixed it with adding the Linker Flag
-lstdc++in XcodeBuild Settings > Other Linker Flags.Please try this, and reopen this issue this does not work for you.
Note: V5 is stable and is probably the best version to be used