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

No such module 'ESense' #2

Open
bardram opened this issue Feb 4, 2020 · 3 comments
Open

No such module 'ESense' #2

bardram opened this issue Feb 4, 2020 · 3 comments

Comments

@bardram
Copy link

bardram commented Feb 4, 2020

I'm trying to run the example app. I cloned the repro, and ran pod install in the Example folder, as specified:

Analyzing dependencies
Fetching podspec for `ESense` from `../`
Downloading dependencies
Using CSV.swift (2.4.2)
Using Charts (3.3.0)
Using ESense (0.1.2)
Generating Pods project
Integrating client project
Sending stats
Pod installation complete! There are 3 dependencies from the Podfile and 3 total pods installed.

And yet, when I open the Example project in XCode, I get a

No such module 'ESense'

error in ViewController.swift

What's wrong?

@minoskt
Copy link

minoskt commented Feb 5, 2020

With cocoapods you need to open the .xcworkspace file of your project, not the .xcodeproj.

@bardram
Copy link
Author

bardram commented Feb 6, 2020

Thanks @minoskt - that helped. But now I get a weird error like this:

dyld: Library not loaded: @rpath/CSV.framework/CSV
  Referenced from: /private/var/containers/Bundle/Application/42980BC7-DE1E-4D30-8C3D-81A9C20CC7DE/ESense_Example.app/ESense_Example
  Reason: no suitable image found.  Did find:
	/private/var/containers/Bundle/Application/42980BC7-DE1E-4D30-8C3D-81A9C20CC7DE/ESense_Example.app/Frameworks/CSV.framework/CSV: code signature invalid for '/private/var/containers/Bundle/Application/42980BC7-DE1E-4D30-8C3D-81A9C20CC7DE/ESense_Example.app/Frameworks/CSV.framework/CSV'

I tried to google this, but couldn't really see what the problem is? Have you seen this on the new version of the iOS - I'm running 13.3

@minoskt
Copy link

minoskt commented Feb 6, 2020

I've never seen this before. It seams CSV framework cannot be found. Have you tried doing a Product > Clean build folder and then recompile?

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