[GH-ISSUE #2222] [Bug] Build in Xcode fail #912

Closed
opened 2026-03-23 20:42:58 +00:00 by mirror · 7 comments
Owner

Originally created by @B635 on GitHub (Apr 9, 2023).
Original GitHub issue: https://github.com/AppFlowy-IO/AppFlowy/issues/2222

Originally assigned to: @LucasXu0 on GitHub.

Bug Description

Choose the Runner.xcworkspace in Macos folder by Xcode.And build it but it show build fail like follow.
Screenshot 2023-04-09 at 14 15 05

How to Reproduce

I'm not usually use Xcode, So if it is that something doesn't setting cause,or I should have any other operation to run this.

Expected Behavior

I want to know how to fix this.

Operating System

MacOs

AppFlowy Version(s)

the least version

Screenshots

No response

Additional Context

No response

Originally created by @B635 on GitHub (Apr 9, 2023). Original GitHub issue: https://github.com/AppFlowy-IO/AppFlowy/issues/2222 Originally assigned to: @LucasXu0 on GitHub. ### Bug Description Choose the Runner.xcworkspace in Macos folder by Xcode.And build it but it show build fail like follow. <img width="263" alt="Screenshot 2023-04-09 at 14 15 05" src="https://user-images.githubusercontent.com/60867549/230757698-39eef1b0-bd7b-4bf2-90d4-167149845f6d.png"> ### How to Reproduce I'm not usually use Xcode, So if it is that something doesn't setting cause,or I should have any other operation to run this. ### Expected Behavior I want to know how to fix this. ### Operating System MacOs ### AppFlowy Version(s) the least version ### Screenshots _No response_ ### Additional Context _No response_
mirror 2026-03-23 20:42:58 +00:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@LucasXu0 commented on GitHub (Apr 10, 2023):

For running and debugging the project, we primarily use VSCode. If you need help getting start, here's the guide. https://appflowy.gitbook.io/docs/essential-documentation/contribute-to-appflowy/software-contributions/environment-setup/building-on-macos.

By the way, if you are able to successfully build the project in VSCode, you should also be able to build it successfully in Xcode.

<!-- gh-comment-id:1501458694 --> @LucasXu0 commented on GitHub (Apr 10, 2023): For running and debugging the project, we primarily use VSCode. If you need help getting start, here's the guide. https://appflowy.gitbook.io/docs/essential-documentation/contribute-to-appflowy/software-contributions/environment-setup/building-on-macos. By the way, if you are able to successfully build the project in VSCode, you should also be able to build it successfully in Xcode.
Author
Owner

@B635 commented on GitHub (Apr 10, 2023):

Ye, it shows not found dart_ffi, so does it mean that the rust cargo"dart_ffi" didn't build? @LucasXu0

<!-- gh-comment-id:1501758674 --> @B635 commented on GitHub (Apr 10, 2023): Ye, it shows not found dart_ffi, so does it mean that the rust cargo"dart_ffi" didn't build? @LucasXu0
Author
Owner

@LucasXu0 commented on GitHub (Apr 11, 2023):

@B635 You can use VSCode to run our project. Is there any reason to run it on Xcode?

<!-- gh-comment-id:1502762056 --> @LucasXu0 commented on GitHub (Apr 11, 2023): @B635 You can use VSCode to run our project. Is there any reason to run it on Xcode?
Author
Owner

@B635 commented on GitHub (Apr 18, 2023):

@LucasXu0 sorry I just see it now

<!-- gh-comment-id:1512972708 --> @B635 commented on GitHub (Apr 18, 2023): @LucasXu0 sorry I just see it now
Author
Owner

@B635 commented on GitHub (Apr 18, 2023):

Screenshot 2023-04-18 at 20 07 30
<!-- gh-comment-id:1512973812 --> @B635 commented on GitHub (Apr 18, 2023): <img width="524" alt="Screenshot 2023-04-18 at 20 07 30" src="https://user-images.githubusercontent.com/60867549/232772438-26f9470f-eae5-49b7-a246-86aef2623ce2.png">
Author
Owner

@B635 commented on GitHub (Apr 18, 2023):

I now use vscode, but it still build like this. But how can I get the app on my mac, can you give me some method @LucasXu0

<!-- gh-comment-id:1512978244 --> @B635 commented on GitHub (Apr 18, 2023): I now use vscode, but it still build like this. But how can I get the app on my mac, can you give me some method @LucasXu0
Author
Owner

@B635 commented on GitHub (Apr 18, 2023):

@LucasXu0 After I use the clean+build all, it works.But it just give me a grey app and I can't do anything.
Screenshot 2023-04-18 at 23 32 15

<!-- gh-comment-id:1513375316 --> @B635 commented on GitHub (Apr 18, 2023): @LucasXu0 After I use the clean+build all, it works.But it just give me a grey app and I can't do anything. <img width="940" alt="Screenshot 2023-04-18 at 23 32 15" src="https://user-images.githubusercontent.com/60867549/232828522-95cf6c8c-8fcf-4cb2-b626-e7c3f931f32d.png">
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#912
No description provided.