Skip to content

[bug] Cant build iOS with livekit_noise_filter #771

New issue

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

Closed
adambeer opened this issue Apr 29, 2025 · 1 comment
Closed

[bug] Cant build iOS with livekit_noise_filter #771

adambeer opened this issue Apr 29, 2025 · 1 comment

Comments

@adambeer
Copy link

Describe the bug
Building produces the following errors:

Swift Compiler Error (Xcode): Expressions are not allowed at the top level
/Users/adambeer/.pub-cache/hosted/pub.dev/livekit_noise_filter-0.2.0+hotfix.1/ios/Classes/LiveKitKrispNoiseFilter.swift:0:0


Swift Compiler Error (Xcode): Consecutive statements on a line must be separated by ';'
/Users/adambeer/.pub-cache/hosted/pub.dev/livekit_noise_filter-0.2.0+hotfix.1/ios/Classes/LiveKitKrispNoiseFilter.swift:0:6


Swift Compiler Error (Xcode): Expressions are not allowed at the top level
/Users/adambeer/.pub-cache/hosted/pub.dev/livekit_noise_filter-0.2.0+hotfix.1/ios/Classes/LiveKitKrispNoiseFilter.swift:0:6


Swift Compiler Error (Xcode): Expressions are not allowed at the top level
/Users/adambeer/.pub-cache/hosted/pub.dev/livekit_noise_filter-0.2.0+hotfix.1/ios/Classes/LiveKitKrispNoiseFilterPlugin.swift:0:0


Swift Compiler Error (Xcode): Consecutive statements on a line must be separated by ';'
/Users/adambeer/.pub-cache/hosted/pub.dev/livekit_noise_filter-0.2.0+hotfix.1/ios/Classes/LiveKitKrispNoiseFilterPlugin.swift:0:6


Swift Compiler Error (Xcode): Expressions are not allowed at the top level
/Users/adambeer/.pub-cache/hosted/pub.dev/livekit_noise_filter-0.2.0+hotfix.1/ios/Classes/LiveKitKrispNoiseFilterPlugin.swift:0:6


Swift Compiler Error (Xcode): Expressions are not allowed at the top level
/Users/adambeer/.pub-cache/hosted/pub.dev/livekit_noise_filter-0.2.0+hotfix.1/ios/Classes/StateSync.swift:0:0


Swift Compiler Error (Xcode): Consecutive statements on a line must be separated by ';'
/Users/adambeer/.pub-cache/hosted/pub.dev/livekit_noise_filter-0.2.0+hotfix.1/ios/Classes/StateSync.swift:0:6


Swift Compiler Error (Xcode): Expressions are not allowed at the top level
/Users/adambeer/.pub-cache/hosted/pub.dev/livekit_noise_filter-0.2.0+hotfix.1/ios/Classes/StateSync.swift:0:6


Swift Compiler Error (Xcode): Expressions are not allowed at the top level
/Users/adambeer/.pub-cache/hosted/pub.dev/livekit_noise_filter-0.2.0+hotfix.1/ios/Classes/UnfairLock.swift:0:0


Swift Compiler Error (Xcode): Consecutive statements on a line must be separated by ';'
/Users/adambeer/.pub-cache/hosted/pub.dev/livekit_noise_filter-0.2.0+hotfix.1/ios/Classes/UnfairLock.swift:0:6


Swift Compiler Error (Xcode): Expressions are not allowed at the top level
/Users/adambeer/.pub-cache/hosted/pub.dev/livekit_noise_filter-0.2.0+hotfix.1/ios/Classes/UnfairLock.swift:0:6


Swift Compiler Error (Xcode): Cannot find operator '..' in scope; did you mean '...'?
/Users/adambeer/.pub-cache/hosted/pub.dev/livekit_noise_filter-0.2.0+hotfix.1/ios/Classes/LiveKitKrispNoiseFilter.swift:0:0


Swift Compiler Error (Xcode): Cannot find 'shared_swift' in scope
/Users/adambeer/.pub-cache/hosted/pub.dev/livekit_noise_filter-0.2.0+hotfix.1/ios/Classes/LiveKitKrispNoiseFilter.swift:0:6


Swift Compiler Error (Xcode): Cannot find 'LiveKitKrispNoiseFilter' in scope
/Users/adambeer/.pub-cache/hosted/pub.dev/livekit_noise_filter-0.2.0+hotfix.1/ios/Classes/LiveKitKrispNoiseFilter.swift:0:19


Uncategorized (Xcode): Command SwiftEmitModule failed with a nonzero exit code

To Reproduce
Follow the steps on https://pub.dev/packages/livekit_noise_filter, except Im using the latest version

Platform information

  • Flutter version: 3.29.2
  • Plugin version: livekit_client: ^2.4.5, livekit_noise_filter: ^0.2.0+hotfix.1
  • Flutter target OS: iOS [Real iPad]
  • Flutter target OS version: 18.4.1
  • Flutter console log: Provided above
@cloudwebrtc
Copy link
Contributor

hey, sorry, the symlinks were broken when I published it due to the local file system. Just uploaded the hotfix

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants