That's where my understanding of compiler / Operating system / standard library falls a bit short.
I suppose the full ocaml standard library isn't available when you compile your code to native iOS or native Android, is it ?
I mean, iOS and and Android are probably not POSX compliant. File system and networking access have very specific constraints, that are way different than your regular server. At least that my feeling whenever i code in iOS. Your application needs to whitelist URLs in a plist, you need to work with foreground / background states (eg timer are paused when in background). I can't imagine that the standard ocaml library doesn't need adaptation to run in those environment.
Am i wrong ?