Fix project setup for support mac and ios.