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

Some standard library filters not working on latest iOS (12.1) ONLY on device #113

Open
elsurudo opened this issue Nov 16, 2018 · 0 comments

Comments

@elsurudo
Copy link

As of the most current iOS version (12.1), using a filter such as uppercase or lowercase causes the rendering to fail with an error such as the following:

Object does not conform to GRMustacheFilter protocol in tag '{{ uppercase(depthString) }}' at line 1 of template

I dug into the debugger on the error and noticed something strange when this line of GRMustacheExpressionInvocation.m is executed:

image

The _value, _filterExpression and argumentExpression look fine, but why is filter a BOOL? Without being familiar with the internals, I so far have no idea how it could arrive at this state.

The strange thing is that this works without error on the simulator (also iOS 12.1)! I also tried lowercase for kicks – same results. When I remove the filter, it works on both device and simulator...

I am using GRMustache 7.3.2 (currently the latest).

Any idea of what the issue may be? I'm not doing any crazy multithreading so a memory stomp seems unlikely (and besides, I can reproduce this every time based on the input).

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

1 participant