Build refix for ios

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