MohamedRejeb / compose-rich-editor

A Rich text editor library for both Jetpack Compose and Compose Multiplatform, fully customizable, supports HTML and Markdown.
https://mohamedrejeb.github.io/compose-rich-editor/
Apache License 2.0
1.18k stars 78 forks source link

Not able to run for ios #20

Closed sunildhiman90 closed 1 year ago

sunildhiman90 commented 1 year ago

Hi i added a build config for ios project using following config given in screen shot

Screenshot 2023-05-09 at 12 36 10 PM

But i am not able to build, getting following error: ` BUILD FAILED

The following build commands failed: SwiftCompile normal arm64 Compiling\ ComposeViewControllerToSwiftUi.swift /Users/sunil/AndroidStudioProjects/Compose-Rich-Editor/sample/ios/Compose\ Rich\ Editor/ComposeViewControllerToSwiftUi.swift (in target 'Compose Rich Editor' from project 'Compose Rich Editor') SwiftCompile normal arm64 /Users/sunil/AndroidStudioProjects/Compose-Rich-Editor/sample/ios/Compose\ Rich\ Editor/ComposeViewControllerToSwiftUi.swift (in target 'Compose Rich Editor' from project 'Compose Rich Editor') (2 failures)`

complete logs file: logs.docx

MohamedRejeb commented 1 year ago

I haven't tried to run it from the KMM plugin, I will give it a try and see. For me I'm running the iOS directly from the XCode.

MohamedRejeb commented 1 year ago

It works fine for me with the KMM plugin, make sure to select the .xcworkspace file not the .xcodeproj file @sunildhiman90

sunildhiman90 commented 1 year ago

Hi @MohamedRejeb , yes it worked fine for me with .xcworkspace, Thanx. kudos.