Build refix for ios

Some commits makes build error for ios(isJailed was removed from NativeApp.cpp)
I've refix it, sorry for this.