[GH-ISSUE #3407] [Bug] Undefined symbols for architecture arm64 #1513

Closed
opened 2026-03-23 20:50:20 +00:00 by mirror · 1 comment
Owner

Originally created by @lijingrs on GitHub (Sep 14, 2023).
Original GitHub issue: https://github.com/AppFlowy-IO/AppFlowy/issues/3407

Bug Description

2023-09-14 21:48:21.297 xcodebuild[93313:453353] DVTCoreDeviceEnabledState: DVTCoreDeviceEnabledState_Disabled set via user default (DVTEnableCoreDevice=disabled)
--- xcodebuild: WARNING: Using the first of multiple matching destinations:
{ platform:macOS, arch:arm64, id:00008112-001469023C03401E }
{ platform:macOS, arch:x86_64, id:00008112-001469023C03401E }
Undefined symbols for architecture arm64:
"_link_me_please", referenced from:
_$s16appflowy_backend21AppFlowyBackendPluginC28dummyMethodToEnforceBundlingyyFZ in appflowy_backend(AppFlowyBackendPlugin.o)
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
/Users/lijing/CodeProjects/AppFlowy-0.3.1/frontend/appflowy_flutter/macos/Pods/Pods.xcodeproj: warning: The macOS deployment target 'MACOSX_DEPLOYMENT_TARGET' is set to 10.11, but the range of supported deployment target versions is 10.13 to 13.3.99. (in target 'ReachabilitySwift' from project 'Pods')
** BUILD FAILED **

How to Reproduce

  1. source:AppFlowy-0.3.1
  2. build all
  3. build dart only

Expected Behavior

success

Operating System

platform:macOS, arch:arm64

AppFlowy Version(s)

0.3.1

Screenshots

No response

Additional Context

No response

Originally created by @lijingrs on GitHub (Sep 14, 2023). Original GitHub issue: https://github.com/AppFlowy-IO/AppFlowy/issues/3407 ### Bug Description 2023-09-14 21:48:21.297 xcodebuild[93313:453353] DVTCoreDeviceEnabledState: DVTCoreDeviceEnabledState_Disabled set via user default (DVTEnableCoreDevice=disabled) --- xcodebuild: WARNING: Using the first of multiple matching destinations: { platform:macOS, arch:arm64, id:00008112-001469023C03401E } { platform:macOS, arch:x86_64, id:00008112-001469023C03401E } Undefined symbols for architecture arm64: "_link_me_please", referenced from: _$s16appflowy_backend21AppFlowyBackendPluginC28dummyMethodToEnforceBundlingyyFZ in appflowy_backend(AppFlowyBackendPlugin.o) ld: symbol(s) not found for architecture arm64 clang: error: linker command failed with exit code 1 (use -v to see invocation) /Users/lijing/CodeProjects/AppFlowy-0.3.1/frontend/appflowy_flutter/macos/Pods/Pods.xcodeproj: warning: The macOS deployment target 'MACOSX_DEPLOYMENT_TARGET' is set to 10.11, but the range of supported deployment target versions is 10.13 to 13.3.99. (in target 'ReachabilitySwift' from project 'Pods') ** BUILD FAILED ** ### How to Reproduce 1. source:AppFlowy-0.3.1 2. build all 3. build dart only ### Expected Behavior success ### Operating System platform:macOS, arch:arm64 ### AppFlowy Version(s) 0.3.1 ### Screenshots _No response_ ### Additional Context _No response_
Author
Owner

@LucasXu0 commented on GitHub (Sep 15, 2023):

Hi, @litaipo. Sometimes, you may have built the Rust library with x86_64 architecture. In such cases, you should try cleaning and rebuilding.

<!-- gh-comment-id:1721002068 --> @LucasXu0 commented on GitHub (Sep 15, 2023): Hi, @litaipo. Sometimes, you may have built the Rust library with x86_64 architecture. In such cases, you should try cleaning and rebuilding.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
AppFlowy-IO/AppFlowy#1513
No description provided.