Skip to content
This repository has been archived by the owner on Aug 16, 2023. It is now read-only.

cocoa-oauth/GCOAuth.h file not found #128

Open
rakesh0r opened this issue May 22, 2016 · 7 comments
Open

cocoa-oauth/GCOAuth.h file not found #128

rakesh0r opened this issue May 22, 2016 · 7 comments

Comments

@rakesh0r
Copy link

screen shot 2016-05-22 at 5 09 26 pm

am facing the above issue, can you help me with this

@codeOfRobin
Copy link

I have this too. @calebd Any problem with the podspec?

@codeOfRobin
Copy link

Also, it seems to go away for Objective-C projects with "use_frameworks!" disabled. Any ideas?

@henriquechehad
Copy link

+1

@thongds
Copy link

thongds commented Jun 20, 2016

I got the same problem +1

@shaharz
Copy link

shaharz commented Jun 20, 2016

FWIW I noticed the header search paths for the SimpleAuth target under the Pods project, "${PODS_ROOT}/Headers/Private" (and Public), were empty. Replacing both with just "${PODS_ROOT}" seems to take care of this issue.

@phillfarrugia
Copy link

This issue on CocoaPods' repository is relevant

@bbrock25
Copy link

bbrock25 commented Aug 31, 2016

adding this to the end of my Podfile did the trick. Maybe it'll help someone else.

post_install do |_|
  work_dir = Dir.pwd
  file_name = "#{work_dir}/Pods/Target\ Support\ Files/SimpleAuth/SimpleAuth.xcconfig"
  config = File.read(file_name)
  new_config = config.gsub(/HEADER_SEARCH_PATHS = "/, 'HEADER_SEARCH_PATHS = "${PODS_ROOT}" "')
  File.open(file_name, 'w') { |file| file << new_config }
end

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

No branches or pull requests

7 participants