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
Wrapping a Generic Method in a Class Extension
Playing a Sound in a Swift Playground
Uipickerview Selectrow Doesn't Works
Wkwebview Auto Fill Login Form Swift 2
Converting Swift 2.3 to Swift 3.0 - Error, Cannot Invoke 'Datatask' with an Argument List of Type'
Making Swift Generics Play with Overloaded Functions
Is There a Preferred Technique to Prohibit Pasting into a Uitextfield
Swift 3 Optional Trouble. Can't Unwrap Url with Passed in String
Does the Order of Subscribeon and Observeon Matter
Add a Border with Cornerradius to an Image in Swiftui Xcode Beta 5
Add Skreferencenode/Skscene to Another Skscene in Spritekit
Map and Flatmap Difference in Optional Unwrapping in Swift 1.2
Safe to Signal Semaphore Before Deinitialization Just in Case
What Is Trailing Closure Syntax in Swift
How to Assign an Array to a Class Property by Reference Rather Than a Copy