Open jeremielodi opened 6 months ago
Fail to run the app on IOS because of this issue on audioplayer
audioplayer should work on IOS
flutter run
audioplayers: ^6.0.0
iOS
s
6.0.0
No response
Running pod install... Running Xcode build... Xcode build done. 22.4s Failed to build iOS app Swift Compiler Error (Xcode): Cannot find 'AVURLAssetOverrideMIMETypeKey' in scope /Users/macbook/.pub-cache/hosted/pub.dev/audioplayers_darwin-6.0.0/ios/Classes/WrappedMediaPlayer.swift:184:36
Uncategorized (Xcode): Command SwiftCompile failed with a nonzero exit code
Could not build the application for the simulator. Error launching application on iPhone 14 Pro Max.
yeah
you need Xcode 15 for this, so this plugin will compile only on Macs with Sonoma, which is a bit overextended
Have the same issue. I'm using a previous version for now:
audioplayers: ^5.2.1
Checklist
Current bug behaviour
Fail to run the app on IOS because of this issue on audioplayer
Expected behaviour
audioplayer should work on IOS
Steps to reproduce
flutter run
on the code sampleCode sample
audioplayers: ^6.0.0
Affected platforms
iOS
Platform details
s
AudioPlayers Version
6.0.0
Build mode
No response
Audio Files/URLs/Sources
s
Screenshots
Logs
Running pod install... Running Xcode build... Xcode build done. 22.4s Failed to build iOS app Swift Compiler Error (Xcode): Cannot find 'AVURLAssetOverrideMIMETypeKey' in scope /Users/macbook/.pub-cache/hosted/pub.dev/audioplayers_darwin-6.0.0/ios/Classes/WrappedMediaPlayer.swift:184:36
Uncategorized (Xcode): Command SwiftCompile failed with a nonzero exit code
Could not build the application for the simulator. Error launching application on iPhone 14 Pro Max.
Related issues / more information
No response
Working on PR
yeah