We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[11:55:36]: ▸ ❌ /Users/ionic/builds/XXX/XXX/ios/capacitor-cordova-ios-plugins/sources/CordovaPluginDbmeter/DBMeter.swift:75:50: 'AVAudioSessionCategoryRecord' has been renamed to 'AVAudioSession.Category.record' [11:55:36]: ▸ try audioSession.setCategory(AVAudioSessionCategoryRecord) [11:55:36]: ▸ ^~~~~~~~~~~~~~~~~ ~~~~~~~~ [11:55:36]: ▸ ** ARCHIVE FAILED ** [11:55:36]: ▸ The following build commands failed: [11:55:36]: ▸ CompileSwift normal arm64 /Users/ionic/builds/XXX/XXX/ios/capacitor-cordova-ios-plugins/sources/CordovaPluginDbmeter/DBMeter.swift [11:55:36]: ▸ CompileSwiftSources normal arm64 com.apple.xcode.tools.swift.compiler [11:55:36]: ▸ CompileSwift normal arm64 [11:55:36]: ▸ (3 failures)
The text was updated successfully, but these errors were encountered:
Update: Simply changing "AVAudioSessionCategoryRecord" to "AVAudioSession.Category.record" solved the issue for us.
Sorry, something went wrong.
#22 Merge this to fix the issue.
@JannikHv this has been fixed at my forked repo ( can see #25)
No branches or pull requests
[11:55:36]: ▸ ❌ /Users/ionic/builds/XXX/XXX/ios/capacitor-cordova-ios-plugins/sources/CordovaPluginDbmeter/DBMeter.swift:75:50: 'AVAudioSessionCategoryRecord' has been renamed to 'AVAudioSession.Category.record'
[11:55:36]: ▸ try audioSession.setCategory(AVAudioSessionCategoryRecord)
[11:55:36]: ▸ ^~~~~~~~~~~~~~~~~ ~~~~~~~~
[11:55:36]: ▸ ** ARCHIVE FAILED **
[11:55:36]: ▸ The following build commands failed:
[11:55:36]: ▸ CompileSwift normal arm64 /Users/ionic/builds/XXX/XXX/ios/capacitor-cordova-ios-plugins/sources/CordovaPluginDbmeter/DBMeter.swift
[11:55:36]: ▸ CompileSwiftSources normal arm64 com.apple.xcode.tools.swift.compiler
[11:55:36]: ▸ CompileSwift normal arm64
[11:55:36]: ▸ (3 failures)
The text was updated successfully, but these errors were encountered: