fixed building problem on IOS,ANDROID