Something wrong with my uno code, could somebody help me?

I’m really new to uno, i don’t know what’s wrong with my uno code.

The fuse preview -tiOS is success, but the preview in the local simulator is error with “Fail to connect”, Fuse Monitor is empty, but i saw some err log in the ~/.fuse/logs: “ERROR Fuse - Errors were encountered while building the project”.

The code: https://github.com/ablipan/Wifly/blob/master/uno/Clipboard.uno

Hi!

In order for your Uno code to build in local mode, you have to either shield the calls to the iOS/Android-specific functions, like this:

if defined(iOS) { .. call iOS-specific functions here .. }
if defined(Android) { .. call Android-specific functions here .. }

OR, provide dummy-implementations of the methods for the .NET target.

It’s working, thank you very much.