add lua snapshot for iOS