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

LSNSURLSessionHook throws NSInternalInconsistencyException on iOS 8 as load method unable to instantiate class __NSCFURLSessionConfiguration #74

Closed
nikita-leonov opened this issue Aug 12, 2014 · 15 comments

Comments

@nikita-leonov
Copy link

Apparently __NSCFURLSessionConfiguration is not available in iOS 8 as - (void)swizzleSelector:(SEL)selector fromClass:(Class)original toClass:(Class)stub called with nil, that cause throwing of exception.

@nikita-leonov
Copy link
Author

Ok, I just found pull request #70 that should be ok for me. Looking forward for normal release with this pull request included.

@darend
Copy link

darend commented Sep 3, 2014

Is there an ETA to make a release that incorporates this?

@sansari
Copy link

sansari commented Sep 11, 2014

I'm wondering the same thing... Just got XCode 6 and all tests now fail with this exception. Any updates on it?

@sansari
Copy link

sansari commented Sep 11, 2014

Looks like it was pulled into master yesterday, but the Cocoapods spec file is still at the 0.8.1 version from 8 months ago

@luisobo
Copy link
Owner

luisobo commented Sep 11, 2014

This is correct. I'm kinda busy right now. You can point to :head in your
Podfile and that will do the trick. I'm hoping to spend some time with this
early next week.

Best

El jueves, 11 de septiembre de 2014, Salman Ansari notifications@github.com
escribió:

Looks like it was pulled into master yesterday, but the Cocoapods spec
file is still at the 0.8.1 version from 8 months ago


Reply to this email directly or view it on GitHub
#74 (comment).

@squarefrog
Copy link

@luisobo if you have someone you trust, you can add them as an author to your Cocopod using trunk. That way if you are busy they can always submit the new Pod for you. There are some security features, like for example if you attempt to change the repo location the Pod will be reject. It should be pretty safe.

Give me a shout or any of the Cocoapods Core Team if you'd like more advice.

@shortstuffsushi
Copy link

Hi all,

Not sure what the status is on this, but I pulled the most recent version from Github (including the #70 fix), and I'm still getting the following error: failed: caught "NSInternalInconsistencyException", "Couldn't load NSURLSession hook."

In my environment (XCode 6, iOS 8.0 Simulator, Deployment Target 7.0), the class __NSCFURLSessionConfiguration doesn't seem to exist. The NSURLSessionConfiguration does though, and with that replaced, the tests are succeeding.

Any thoughts?

@Legoless
Copy link

Legoless commented Oct 7, 2014

I have the same situation, still cannot get through this. Any more information available on this issue?

@squarefrog
Copy link

This pull seemed to fix it for me 761efce

@shortstuffsushi
Copy link

Yes, that would fix the issue. Does @luisobo have plans to release a newer version of Nocilla to Cocoapods at some point? Seems the last release was at the end of January, and there have been a number of changes since then.

@danilNil
Copy link

I got same issue and pull request fix that. I just wanted to add one more comment to encourage @luisobo to merge that PR.

@luisobo
Copy link
Owner

luisobo commented Nov 8, 2014

0.8.2 released. 🎉

@luisobo luisobo closed this as completed Nov 8, 2014
@squarefrog
Copy link

🎈

@shortstuffsushi
Copy link

Thanks Luis 👍

@danilNil
Copy link

Thanks!

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

8 participants