-
Notifications
You must be signed in to change notification settings - Fork 1
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
NSExpression function is forbidden #22
Comments
Thanks for opening this issue. We'll investigate using an updated version that includes this fix. Is this causing build / compiler errors for you? |
Yes, It makes my code cannot compile on iOS 15.5 and iOS16. I have to turn to Apple MapKit Library as a workaround. |
Providing an overdue update here. I tested with MapLibre v5.13.0 (which includes We'll continue to investigate and update with any new information. Thanks for your patience. |
Fixed in 2.1.0 |
This issue is now closed. Comments on closed issues are hard for our team to see. |
Describe the bug
Refer to this patch Fix for "NSExpression function is forbidden" #411
It also happens in my environment using Amplify Geo Plugin.
2022-09-09 19:59:48.259147+0800 Feunote[20138:3421145] [general] NSPredicate: Use of 'mgl_interpolate:withCurveType:parameters:stops:' as an NSExpression function is forbidden. 2022-09-09 19:59:48.259592+0800 Feunote[20138:3421145] [general] NSPredicate: Use of 'mgl_step:from:stops:' as an NSExpression function is forbidden.
Steps To Reproduce
Expected behavior
Would like to have a synchronous fix.
Amplify MapLibre Adapter Version
1.0.0
Swift version
5.6.1
Xcode version
13.4.1(13F100)
Is this a regression?
No
Regression additional context
No response
Device
iPhone 11 Pro Simulator
iOS Version
iOS 15.5
Specific to simulators
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: