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
Error when compiling on iOS #16
Comments
The link http://developer.xamarin.com/guides/ios/advanced_topics/limitations/ points out that dynamic code generation is not supported on iOS, which is probably causing the error. |
I am using callbacks to refer to a command from one of my functions in GameController. Seems like 2.9 has some issues with that and 2.7 does not. However, I am not sure exactly if that's the issue.
|
As far as I can tell, the problem seems to be related to the dynamic code generation (which is not available on iOS) used on the caching system. I'm looking into ways of achieving the current performance with other techniques rather than direct reflection call. |
Looks like compiled lambda expressions can run just fine on iOS (http://stackoverflow.com/questions/29245589/why-does-lambdaexpression-compile-work-on-ios-xamarin and http://stackoverflow.com/questions/24977939/what-does-expression-compile-do-on-monotouch). Maybe the solution will be to switch to them. |
From the Mono docs, even Expression.Compile() seems not to work on iOS builds because of the AOT compilation: http://www.mono-project.com/docs/advanced/aot/. |
When building to iOS, the following error occurs with Adic 2.9:
Using the 2.7 version works fine.
Issue happens on iPhone 6, iOS 8.3.
The text was updated successfully, but these errors were encountered: