prevent compile error and set platform to iOS