Skip to content
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

[Bug] Cannot run MacOS Darwin - with AF Desktop Clean + Rebuild #5690

Open
md-weber opened this issue Jul 5, 2024 · 2 comments
Open

[Bug] Cannot run MacOS Darwin - with AF Desktop Clean + Rebuild #5690

md-weber opened this issue Jul 5, 2024 · 2 comments

Comments

@md-weber
Copy link

md-weber commented Jul 5, 2024

Bug Description

I try to contribute to the project but sadly it fails always to start the app locally on my device.

ld: warning: Could not find or use auto-linked framework 'CoreAudioTypes': framework 'CoreAudioTypes' not found
Undefined symbols for architecture x86_64:
  "_link_me_please", referenced from:
      static appflowy_backend.AppFlowyBackendPlugin.dummyMethodToEnforceBundling() -> () in appflowy_backend[4](AppFlowyBackendPlugin.o)
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
warning: Run script build phase 'Run Script' will be run during every build because it does not specify any outputs. To address this warning, either add output dependencies to the script phase, or configure it to run in every build by unchecking "Based on dependency analysis" in the script phase. (in target 'Flutter Assemble' from project 'Runner')

Maybe related during the install script this happens:

[SEVERE] freezed on lib/generated/codegen_loader.g.dart:

This builder requires Dart inputs without syntax errors.
However, package:appflowy/generated/codegen_loader.g.dart (or an existing part) contains the following errors.
codegen_loader.g.dart:11856:23: Expected an identifier.
codegen_loader.g.dart:11928:20: Expected an identifier.
codegen_loader.g.dart:11934:20: Expected an identifier.
And 2 more...

Try fixing the errors and re-running the build.

How to Reproduce

Follow the contrubion documentation for MacOS

  • Fork the project
  • Execute the macos install script install everything fresh Rust etc.
  • Run the debug AF-desktop: clean and rebuild

Expected Behavior

Build should be successful and the App should start up

Operating System

MacOS M2

AppFlowy Version(s)

Main Branch

Screenshots

No response

Additional Context

Context and Additional information:
https://discord.com/channels/903549834160635914/1246420748298485780/1246906058165714944

Issue that seems to be related:
#4049

@allanGoldZhiKang
Copy link

same problem,do you have any resolution?

@allanGoldZhiKang
Copy link

@LucasXu0 Please help us, Thank you

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