resolve build error in iOS example