Support building .framework library using Xcode.