-
Notifications
You must be signed in to change notification settings - Fork 223
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
inScope:JSObjectionScopeSingleton doesn't work since Cocoapods version 1.6 #94
Comments
+1 |
Odd, I'll look into it today. |
I'm unable to reproduce the issue and I do have a test that exercises the "inScope" registration. I'll need to have a code example to investigate further at this point. Also, its important that there aren't multiple revisions of Objection running within the project -- that can cause these kind of strange issues. |
My quick investigation shown, that problem lies in absence of synthesize statement for lifeCycle property in JSObjectionProviderEntry.m file. This leads to usage of property getter defined in base class (JSObjectionEntry.m), always returning JSObjectionScopeNone. |
Good catch. I'm disappointed that the tests are unable to reproduce it. |
I'm happy to help! |
I'd help too, but I'm not sure what's the current state of the repo. If I try to run the test suites on Xcode 6.4, it doesn't even build. When I update |
@plu Its running in travis and all tests are passing. I believe it is using the same version of XCode as well. |
@dewind I don't think so. It's using Xcode 6.1: https://travis-ci.org/atomicobject/objection/builds/73209281
You need to click on It's definitely broken on 6.4. What's your local setup? :) But of course I just might be missing something here :) |
@plu Similar to Travis CI. I'll need to get on a machine with 6.4 and address those issues ASAP. I'll open a new issue. |
Cool thanks! I can have a look at them too right now. |
What about cutting a new release 1.7? :) |
Any updates on this issue? |
Up |
Sorry guys, I'll review the issue this week. |
@dewind gentle bump :) |
This made it into 1.6.1 did it not? https://github.com/atomicobject/objection/releases/tag/1.6.1 |
Oh, I'm sorry 😬 Let's close issue then? |
Yes, it works now, thanks! |
I'm using the singleton registration (
[self bindClass:... inScope:JSObjectionScopeSingleton];
) in aJSObjectionModule
in my app for quite a while.After a pod update to version 1.6 the singleton scope is ignored and handled like
JSObjectionScopeNormal
.The text was updated successfully, but these errors were encountered: