[GH-ISSUE #2934] [Bug] Use of undeclared identifier 'FlowyInfraUIPlugin' #1286

Closed
opened 2026-03-23 20:47:24 +00:00 by mirror · 6 comments
Owner

Originally created by @garv-shah on GitHub (Jul 4, 2023).
Original GitHub issue: https://github.com/AppFlowy-IO/AppFlowy/issues/2934

Bug Description

hi there! I was trying to implement the flowy_infra_ui plugin into my app to use with appflowy_editor, but I get the following error when building with iOS:

Could not build the precompiled application for the device.
Semantic Issue (Xcode): Use of undeclared identifier 'FlowyInfraUIPlugin'

the app seems to compile fine for MacOS and the web targets. i'm not sure if this a bug, or if i'm just setting up the Flutter plugins incorrectly. Thank you so much!

How to Reproduce

Use AppFlowy Editor package and try to integrate a plugin such as the math equations, which requires flowy_infra_ui.

Expected Behavior

For the app to compile on iOS

Operating System

iOS

AppFlowy Version(s)

main branch

Screenshots

No response

Additional Context

Thank you for your help :)

Originally created by @garv-shah on GitHub (Jul 4, 2023). Original GitHub issue: https://github.com/AppFlowy-IO/AppFlowy/issues/2934 ### Bug Description hi there! I was trying to implement the `flowy_infra_ui` plugin into my app to use with appflowy_editor, but I get the following error when building with iOS: ``` Could not build the precompiled application for the device. Semantic Issue (Xcode): Use of undeclared identifier 'FlowyInfraUIPlugin' ``` the app seems to compile fine for MacOS and the web targets. i'm not sure if this a bug, or if i'm just setting up the Flutter plugins incorrectly. Thank you so much! ### How to Reproduce Use AppFlowy Editor package and try to integrate a plugin such as the math equations, which requires flowy_infra_ui. ### Expected Behavior For the app to compile on iOS ### Operating System iOS ### AppFlowy Version(s) main branch ### Screenshots _No response_ ### Additional Context Thank you for your help :)
Author
Owner

@annieappflowy commented on GitHub (Jul 4, 2023):

Could you please provide us with more high-level context? For example, what are you building with appflowy_editor and why did you decide to use it? What AppFlowy plugins do you need in your app?

<!-- gh-comment-id:1620228066 --> @annieappflowy commented on GitHub (Jul 4, 2023): Could you please provide us with more high-level context? For example, what are you building with appflowy_editor and why did you decide to use it? What AppFlowy plugins do you need in your app?
Author
Owner

@garv-shah commented on GitHub (Jul 7, 2023):

Hi @annieappflowy! I'm using appflowy_editor for an education app platform which encompasses a tutoring app, an app for my school's maths club and an app for orphanages as of now. Namely, I'm using the editor to streamline the process of making questions, quizzes and posts within the app, so it is easy to curate content. I recently switched to the package because the other WYSIWYG Flutter packages were quite painful to use, and packages like visual_editor or flutter_quill had numerous problems, which I've outlined here: https://github.com/AppFlowy-IO/appflowy-editor/issues/258#issuecomment-1612393985

Right now, I need the actions plugin and the math_equation plugin for my app, as the platform needs maths support. I am not sure if I implemented the flowy_infra_ui plugin wrong, but the app builds fine for MacOS but produces the error above when I try to build on iOS at the path ./ios/Runner/GeneratedPluginRegistrant.m:135:3.

Would you know of what could cause this issue? Thanks!

<!-- gh-comment-id:1624481393 --> @garv-shah commented on GitHub (Jul 7, 2023): Hi @annieappflowy! I'm using `appflowy_editor` for an education app platform which encompasses a tutoring app, an app for my school's maths club and an app for orphanages as of now. Namely, I'm using the editor to streamline the process of making questions, quizzes and posts within the app, so it is easy to curate content. I recently switched to the package because the other WYSIWYG Flutter packages were quite painful to use, and packages like `visual_editor` or `flutter_quill` had numerous problems, which I've outlined here: https://github.com/AppFlowy-IO/appflowy-editor/issues/258#issuecomment-1612393985 Right now, I need the actions plugin and the math_equation plugin for my app, as the platform needs maths support. I am not sure if I implemented the `flowy_infra_ui` plugin wrong, but the app builds fine for MacOS but produces the error above when I try to build on iOS at the path `./ios/Runner/GeneratedPluginRegistrant.m:135:3`. Would you know of what could cause this issue? Thanks!
Author
Owner

@garv-shah commented on GitHub (Jul 10, 2023):

Hi @annieappflowy! Any updates on this?

<!-- gh-comment-id:1628666239 --> @garv-shah commented on GitHub (Jul 10, 2023): Hi @annieappflowy! Any updates on this?
Author
Owner

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

@garv-shah The flowy_infra_ui package is not public. Therefore, I don't think you can import it into your project. We are currently in the process of splitting some common plugins into a new library called appflowy_editor_plugins, which may be more suitable for your use case.

Could you please provide more details about which plugins are currently only in AppFlowy but you would like to import into your project?

<!-- gh-comment-id:1630021543 --> @LucasXu0 commented on GitHub (Jul 11, 2023): @garv-shah The flowy_infra_ui package is not public. Therefore, I don't think you can import it into your project. We are currently in the process of splitting some common plugins into a new library called appflowy_editor_plugins, which may be more suitable for your use case. Could you please provide more details about which plugins are currently only in AppFlowy but you would like to import into your project?
Author
Owner

@garv-shah commented on GitHub (Jul 11, 2023):

That'd be great, a common plugins library would be extremely useful! :D
The two plugins only in AppFlowy that I would like to import into my project are math_equation and actions, which both require the flowy_infra_ui package as well.

<!-- gh-comment-id:1630046483 --> @garv-shah commented on GitHub (Jul 11, 2023): That'd be great, a common plugins library would be extremely useful! :D The two plugins only in AppFlowy that I would like to import into my project are `math_equation` and `actions`, which both require the `flowy_infra_ui` package as well.
Author
Owner

@garv-shah commented on GitHub (Jul 11, 2023):

Closing this for now as it will likely be resolved by the introduction of the appflowy_editor_plugins package.

<!-- gh-comment-id:1630413433 --> @garv-shah commented on GitHub (Jul 11, 2023): Closing this for now as it will likely be resolved by the introduction of the `appflowy_editor_plugins` package.
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#1286
No description provided.