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

Unable to add "MarkupEditor" as a Framework, getting error. #162

Closed
VIJAYARAJSVR opened this issue Nov 18, 2023 · 3 comments
Closed

Unable to add "MarkupEditor" as a Framework, getting error. #162

VIJAYARAJSVR opened this issue Nov 18, 2023 · 3 comments

Comments

@VIJAYARAJSVR
Copy link

I have Swift UI macOS Project; I want to add this "MarkupEditor" as a Framework or Package to my project.

PLEASE FIND THE ATTACHED FILE.

issue
issue 1

Below are the steps I have followed.

———————————Adding "MarkupEditor" as a Framework——————————————

Step 1:
Get the source code file from GitHub, build and copy the "MarkupEditor.framework".

Step 2:
Created a sample Xcode Mac OS project, build it, then select the target--> Build settings --> under "Framework,Libraries" click the plus button to select the "MarkupEditor.framework".

Step 3:
Then, build, I got the below Error:

Ignoring file '/Users/web_dev/Desktop/Test Markup/Test Markup/

MarkupEditor.framework/MarkupEditor': found architecture 'arm64', required architecture 'x86_64'

Could not find module 'MarkupEditor' for target 'x86_64-apple-macos'; found: arm64-apple-ios

@stevengharris
Copy link
Owner

The MarkupEditor is only supported on Mac Catalyst and iOS.

@VIJAYARAJSVR
Copy link
Author

I created a SwiftUI iOS Project, but I am getting the error below.

Could not find module 'MarkupEditor' for target 'x86_64-apple-ios-simulator'; found: arm64-apple-ios

Is it possible to support macOS? Please kindly help me.

@stevengharris
Copy link
Owner

stevengharris commented Nov 18, 2023

You will have to build the MarkupEditor target for the simulator or run the SwiftUIDemo on the simulator (which builds the target).

I have no plans to support MacOS natively. See the first issue (from over 2 years ago!) #1.

@stevengharris stevengharris closed this as not planned Won't fix, can't repro, duplicate, stale Nov 22, 2023
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