Add CocoaPods and fix xcodebuild for Tests