Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can libuv(node.js's async lib) run on Apple IOS / Android?

I have done some research to this effect but it is unclear if this is possible to use libuv on IOS/Android? If its not possible what is restricting it?

I am looking to write a C++ library that I can use for the same application on IOS, Android, Windows, OSX and Linux. Libuv seems to come close to fitting all of the requirements for sockets and threads.

like image 255
Adam Avatar asked Dec 29 '14 02:12

Adam


2 Answers

Actually libuv hasn't a build target for iOS, but you always can add it's source files to your xcode project and build. I have build it this way and it works fine for me.

like image 200
Sergey Avatar answered Sep 30 '22 04:09

Sergey


libuv has a build target for Android. There's none (officially) for iOS at the time of writing.

like image 22
jackyalcine Avatar answered Sep 30 '22 02:09

jackyalcine