👩💻 Join our community of thousands of amazing developers!
将以下脚本保存为shell脚本并运行: sh build-protobuf-2.6.1.sh build-protobuf-2.6.1.sh #!/bin/bash -x echo "$(tput setaf 2)" echo Building Google Protobuf for Mac OS X / iOS. echo Use 'tail -f build.log' to monitor progress. echo "$(tput sgr0)" # Controls which architectures are build/included in the # universal binaries and libraries this script produces. # Set each to '1' to include, '0' to exclude. BUILD_X86_64_MAC=1 BUILD_X86_64_IOS_SIM=1 BUILD_I386_IOS_SIM=1 BUILD_ARMV7_IPHONE=1 BUILD_ARMV7S_IPHONE=1 BUIL...