cjwirth / RichEditorView

RichEditorView is a simple, modular, drop-in UIView subclass for Rich Text Editing.
BSD 3-Clause "New" or "Revised" License
1.89k stars 445 forks source link

Update: Pod Install - Not in Scope, Old: how to add this swift package in xcode 14 without manifest #265

Closed ironbunny-ib closed 1 year ago

ironbunny-ib commented 1 year ago

I am not able to import and use this package. I installed it despite the warning of the package not having a manifest for 5.0.0

I am installing a swift package for the first time.

HasPackageResolutionErrors: Cannot preview if there are package resolution errors

/Package.swift has no Package.swift manifest for version 5.0.0 in https://github.com/cjwirth/RichEditorView
NoBuildableEntriesError: active scheme does not build this file

Select a scheme that builds a target which contains the current file, or add this file to a target that is built by the current scheme.

I don't know if you can help, but looks like Apple has removed previous UI and all internet is telling is about older versions of XCode

Update:

  1. I used CocoaPods and this is a M1 chip with ARM architecture
  2. This meant some alterations as mentioned on the web
  3. The pod installed

Now, I am facing this error

Cannot find 'RichEditorView' in scope

The success message from pod install

Installing RichEditorView (5.0.0)
Generating Pods project
Integrating client project
Pod installation complete! There is 1 dependency from the Podfile and 1 total pod installed.