No Such Module Error

Getting error No such module using Xcode, but the framework is there

I'm not sure why this happens, but one way to solve your issue is to go into your build settings and defining the Framework Search Paths to a folder which contains the frameworks in question. If the frameworks are placed in your project directory, simply set the framework search path to $(SRCROOT) and set it to recursive.

Getting error No such module using Xcode, but the framework is there

I'm not sure why this happens, but one way to solve your issue is to go into your build settings and defining the Framework Search Paths to a folder which contains the frameworks in question. If the frameworks are placed in your project directory, simply set the framework search path to $(SRCROOT) and set it to recursive.

No such module error in Xcode 12.4 Apple M1

Adding this to podfile helps me

post_install do |installer|   
installer.pods_project.build_configurations.each do |config|
config.build_settings["EXCLUDED_ARCHS[sdk=iphonesimulator*]"] = "arm64"
end
end

Getting No such Module error when trying to run project

Go and check out the cocoapods documentation.

First make sure that you are opening the project.xcworkspace and not the project.xcodeproj

Then:

1) Open terminal

2) Type in sudo gem install cocoapods and click ENTER, this is to install cocoapods on your macbook.

3) Navigate to the director where the project is stored. (where you see the Podfile)

4) Type in pod install

Getting 'no such module' error when importing a Swift Package Manager dependency

It turned out that Swift Package Manager implicitly depends on the project's Configuration names. I had them at live/qa instead of Release/Debug, and changing them back resolved the issue. Very odd, but I hope it saves you some trouble dear reader.

No such module error when archiving

For me what fixed it was removing one line from my Podfile and rerun pod install.

platform :ios, '11.0'

I think the version of the pods was not aligned with the version of my target, causing this issue.



Related Topics



Leave a reply



Submit