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

32 "Cannot find type" errors after instaling via CocoaPods #68

Open
ojoaomorais opened this issue Dec 19, 2023 · 2 comments
Open

32 "Cannot find type" errors after instaling via CocoaPods #68

ojoaomorais opened this issue Dec 19, 2023 · 2 comments

Comments

@ojoaomorais
Copy link

Hey, i'm encountering a lot of errors like this right after instaling the library via CocoaPods. It seems like Xcode is getting confused with the classes, as it's asking wheter i'd like to import "SwiftUI". Here's my podfile:

platform :ios, '14.1'
source 'https://github.com/CocoaPods/Specs.git'
target '#####' do
use_frameworks!
ignore all warnings from all pods
inhibit_all_warnings!
...
pod 'Contentful', '~> 5'
pod 'ContentfulRichTextRenderer'
...
end

Here some print:
Captura de Tela 2023-12-19 às 15 57 11

@TizianoCoroneo
Copy link

Getting this same error, but I installed with SPM. Did you find out how to work around this?

@ojoaomorais
Copy link
Author

Getting this same error, but I installed with SPM. Did you find out how to work around this?

In my case was an issue with the Contentful library version. After install exactly versions all worked fine. I'm using the following versions:

pod "Contentful", "5.0.11"
pod "ContentfulRichTextRenderer": "0.2.0"

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