hyphenlee / log4cpp-ios-android

build log4cpp for android c++
GNU Lesser General Public License v2.1
1 stars 0 forks source link

iOS cmake找不到处理方法 #1

Open ChrisJohnBoom opened 3 years ago

ChrisJohnBoom commented 3 years ago

1.安装cmake https://blog.csdn.net/liulizz/article/details/106385717

cmake Options:对应的平台 Set -DIOS_PLATFORM to "SIMULATOR" to build for iOS simulator 32 bit (i386) DEPRECATED Set -DIOS_PLATFORM to "SIMULATOR64" (example above) to build for iOS simulator 64 bit (x86_64) Set -DIOS_PLATFORM to "OS" to build for Device (armv7, armv7s, arm64, arm64e) Set -DIOS_PLATFORM to "OS64" to build for Device (arm64, arm64e) Set -DIOS_PLATFORM to "TVOS" to build for tvOS (arm64) Set -DIOS_PLATFORM to "SIMULATOR_TVOS" to build for tvOS Simulator (x86_64) Set -DIOS_PLATFORM to "WATCHOS" to build for watchOS (armv7k, arm64_32) Set -DIOS_PLATFORM to "SIMULATOR_WATCHOS" to build for watchOS Simulator (x86_64)

最后执行./ios_build.sh 亲测可用

注意修改 工程里的architectures改成自己需要的平台

hyphenlee commented 2 years ago

这个项目很久没更新了,现在肯定有更新的类库可以做log了吧