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
NoMethodError - undefined method `CFAutoRelease' for #<Fiddle::Pointer:0x007fef1acd3050> #2632
Comments
Wow, this is weird. I guess this is a constant lookup issue in the Ruby version you’re using… Can you edit line 298 of def self.CFTypeRefPointer
pointer = Fiddle::Pointer.malloc(Fiddle::SIZEOF_INTPTR_T, free_function)
def pointer.ptr
::CoreFoundation.CFAutoRelease(super)
end
pointer
end And let me know if that fixes it? |
I got another error this time.
|
This looks like your terminal is not configured for UTF-8. Something like the following could help, otherwise please use google to find the answer that’s correct for your environment:
|
@dornad Any update on this? I’m awaiting your input as to whether or not I should be pushing that change. |
I have the same issue, using the UTF8 does not change anything |
Having the same issue - any news ? |
It was juste a merging fail with git for me... |
@dornad ping? |
It was definitely not an issue with the terminal, since another cocoapods project was building. In the end, I had to go back in time with git, and figure out at what point the project got corrupted. From there, I was able to pinpoint the issue to a faulty merge in a previous commit. TL;DR A faulty git merge issue in project.pbxproj was causing it. |
Ok, thanks for the update. |
A few people have reported an issue where the CFAutoRelease constant could not be found from the singleton method. * CocoaPods/CocoaPods#2632 * CocoaPods/CocoaPods#2739 I have been unable to reproduce this, but because the issue has been reported by more than one person, I'm adding this just to be sure.
For anyone else with this issue, I saw the same thing because Github for Mac didn't tell me about project file conflicts. If your project file has conflict markers in it, you'll see this. Might be worthwhile to spit out an intelligent error if the project file has conflict markers or is otherwise malformed. |
@paulrehkugler that's already been done at CocoaPods/Xcodeproj#192 :) |
A few people have reported an issue where the CFAutoRelease constant could not be found from the singleton method. * CocoaPods/CocoaPods#2632 * CocoaPods/CocoaPods#2739 I have been unable to reproduce this, but because the issue has been reported by more than one person, I'm adding this just to be sure.
Report
Installed xcodeproj dependency as explained here, then tried to run pod update.
Pods updating .
An error report. Here's the output on terminal:
Stack
Plugins
Podfile
Error
The text was updated successfully, but these errors were encountered: