ios: fix warnings