Skip to content
This repository has been archived by the owner on Jun 13, 2021. It is now read-only.

Cocoapod Error: Chameleon.h not found #60

Closed
vicc opened this issue Sep 27, 2015 · 15 comments
Closed

Cocoapod Error: Chameleon.h not found #60

vicc opened this issue Sep 27, 2015 · 15 comments

Comments

@vicc
Copy link
Owner

vicc commented Sep 27, 2015

@bre7 I didn't want to move the Chameleon.h file you added just in case it broke any dependencies, however I added a copy back into the Pod folder to fix the error.

@vicc
Copy link
Owner Author

vicc commented Sep 27, 2015

Updated to 2.0.2.2 and everything seems to be working correctly now.

@bre7
Copy link
Collaborator

bre7 commented Sep 27, 2015

Ohhh darn, forgot to fix the pod. The easiest solution would be to change the spec to Chameleon_ instead of Chameleon

@vicc
Copy link
Owner Author

vicc commented Sep 27, 2015

No worries I left everything as is, and just dropped Chameleon back in, which imports Chameleon_.h and all the other headers. It seems to be working perfectly now.

@bre7
Copy link
Collaborator

bre7 commented Sep 27, 2015

Awesome. Had to rename it to avoid issues in the dynamic library since there was a Chameleon.h already

@vicc
Copy link
Owner Author

vicc commented Sep 27, 2015

No worries! So is everything good now? Didn't want to break anything.

@bre7
Copy link
Collaborator

bre7 commented Sep 27, 2015

I'll check tomorrow (later I guess) to be sure

@vicc
Copy link
Owner Author

vicc commented Sep 27, 2015

Awesome let me know if there's anything I can do. I'm using it right now in a project and it seems to be working perfectly so I'll do the same! Thanks.

@vicc vicc closed this as completed Sep 27, 2015
@MariamNers
Copy link

Hi! I am having the same kind of issue, my project is in swift and I added Chameleon folder to my project, did everything you mentioned in your docs and added #import "Chameleon.h" into my bridging header, but unfortunately it gives me this error: 'Chameleon_.h' file not found. What am I doing wrong?

@bre7
Copy link
Collaborator

bre7 commented Mar 12, 2016

Have you followed the instructions mentioned in the installation section: https://github.com/ViccAlexander/Chameleon#installation ?

use_frameworks!
pod 'ChameleonFramework/Swift'

@MariamNers
Copy link

Yes, I was actually adding it manually, but even when i add it via cocoa pods i still get "No such module 'ChameleonFramework''"

@bre7
Copy link
Collaborator

bre7 commented Mar 12, 2016

You might be doing something wrong. I've just tested both the CocoaPods and Carthage version with a new project and they worked.

@MariamNers
Copy link

Well, I dont normally use cocoa pods, nevertheless i retried it again, and now it gives me this error "Cannot load underlying module for 'ChameleonFramework'".. what am i doing wrong? I can see in my folder I do have a newly created workspace, but it still doesn't work.

@bre7
Copy link
Collaborator

bre7 commented Mar 12, 2016

I usually use Carthage. Your issue seems to be unrelated to Chameleon itself as far as I can tell. Check Google, StackOverflow, or CocoaPods' issues.

@MariamNers
Copy link

restarted my laptop without changing anything and it magically worked.... Xcode sorcery..

@iaMeteor
Copy link

iaMeteor commented Dec 8, 2016

try remove ~/Library/Developer/Xcode/DerivedData/* and rebuild

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants