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

Typhoon 1.3.3 inject collection giving nil #236

Closed
rathahin opened this issue Jun 27, 2014 · 4 comments
Closed

Typhoon 1.3.3 inject collection giving nil #236

rathahin opened this issue Jun 27, 2014 · 4 comments

Comments

@rathahin
Copy link

I have problem building this code below with Distribution Environment.

[initializer setSelector:@selector(initWithNegatedPaths:)];
                         [initializer injectWithCollection:^(TyphoonParameterInjectedAsCollection *collection) {
                          ...
                           [collection addItemWithText:@"message/*" requiredType:[NSString class]];
                           [collection addItemWithText:@"badge/v10" requiredType:[NSString class]];

It is working find with Debug, but in Distribution, the collection is nil when it called initWithNegatedPaths:

This cause the app crash.

Information:

  • Tyhpoon 1.3.3
  • xcode 5.1.1
  • Build using Archs_Standard

Best Regards,

@jasperblues
Copy link
Member

Hmmm sounds like a bug.

However, this version of Typhoon is very old. We strongly recommend that you upgrade.

Given time constraints, it is difficult to support old versions, especially as the bug as likely to be fixed in a later version.

Its quite easy to upgrade to Typhoon 2.x. Here's how to inject collections in 2.x: https://github.com/typhoon-framework/Typhoon/wiki/Types-of-Injections#injecting-collections

@rathahin
Copy link
Author

Thank you, I will upgrade to the latest version.

@rathahin rathahin closed this as completed Jul 4, 2014
@jasperblues
Copy link
Member

Closed means OK now?

@rathahin
Copy link
Author

Yes, That is okay when I update to version 1.8.1

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

2 participants