I am working on a project where we are using Typhoon framework. This builds and run fine in simulator and arm7 architecture.
But when I start building it for arm64 architecture it start complaining about Typhoon property is nil
. Finding actual issue in regards to TyphoonInjectionByReference
which does not set.
Has anyone find this kind of issue, where it is going wrong.
[initializer injectParameterWith:[self aMethod]];
return [TyphoonDefinition withClass:[aController class]
configuration:^(TyphoonDefinition *definition) {
[definition useInitializer:@selector(
initWithNibName:dataProvider:headerViewController:pageTheme:refreshStrategy:)
parameters:^(TyphoonMethod *initializer) {
[initializer injectParameterWith:@"xyz"];
[initializer injectParameterWith:[self aMethod]];
[initializer injectParameterWith:nil];
[initializer injectParameterWith:[[Assembler sharedInstance]
definitionForAssemblyConfigurationKey:@"aTheme"]];
[initializer injectParameterWith:[self aMethod]];
}];
definition.key = @"ControllerKey";
}];
There were some issues with arm64 around the release of a Typhoon 2.0. This issue can be resolved by updating to the latest 2.x version of Typhoon.