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

[iOS] An evaluation error #37

Closed
pdamco opened this issue Nov 22, 2018 · 3 comments
Closed

[iOS] An evaluation error #37

pdamco opened this issue Nov 22, 2018 · 3 comments

Comments

@pdamco
Copy link

pdamco commented Nov 22, 2018

Getting error on iOS
iOS version 12.1
Xamarin Forms 3.4

Getting Preview Error!
Oh no! An evaluation error!

Below given is the error:

System.NotSupportedException: Specified method is not supported. at Mono.CSharp.Evaluator.ComplileBlock(Mono.CSharp.Class host, Mono.CSharp.Undo undo, Mono.CSharp.Report Report) [0x00060] in /Library/Frameworks/Xamain.iOS.framework/Verions/12.2.1.10/src/Xamrin.iOS/mcs/eval.cs:707

@ylatuya
Copy link
Owner

ylatuya commented Nov 22, 2018

Hi,
Is this on a real device or the emulator?
This usually happens when the --enable-repl option is not configured correctly. See:
https://github.com/ylatuya/XAMLator#ios-additional-setup

@pdamco
Copy link
Author

pdamco commented Nov 23, 2018

This is on real device.

--enable-repl is not working for real device.

@ylatuya
Copy link
Owner

ylatuya commented Nov 23, 2018

XAMLator won't work in iOS devices, only the simulator, because of https://docs.microsoft.com/en-us/xamarin/ios/internals/limitations#no-dynamic-code-generation.
I have updated the README clarifying that it only works on real devices for Android.

@ylatuya ylatuya closed this as completed Nov 23, 2018
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