ios-cmake icon indicating copy to clipboard operation
ios-cmake copied to clipboard

[bug] The platform OS64COMBINED generate Xcode project only for iOS

Open paulocoutinhox opened this issue 3 years ago • 0 comments

Describe the bug

When i use -DPLATFORM=OS64COMBINED and generate Xcode project, it only create the project with BASE SDK equal iOS.

image

To Reproduce Steps to reproduce the behavior:

cmake -B build -GXcode -DCMAKE_TOOLCHAIN_FILE=cmake/ios.toolchain.cmake -DPLATFORM=OS64COMBINED

Expected behavior

Use BASE SDK iOS for arm64 and iOS Simulator for x86_64.

Environment

  • What version of CMake did you run? 3.23.2

LOG:

-- Not setting any manual command-line buildflags, since Xcode is selected as generator. Modifying the Xcode build-settings directly instead.
-- Configuring iphoneos build for platform: OS64COMBINED, architecture(s): arm64;x86_64
-- Using SDK: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS16.0.sdk
-- Using C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang
-- Using CXX compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++
-- Using libtool: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool
-- Using install name tool: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/install_name_tool
-- Autoconf target triple: aarch64-x86_64-apple-ios9.0
-- Using minimum deployment version: 9.0 (SDK version: 16.0)
-- Merging integrated CMake 3.14+ iOS,tvOS,watchOS,macOS toolchain(s) with this toolchain!
-- Will combine built (static) artifacts into FAT lib...
-- Using Xcode version: 14.0
-- CMake version: 3.23.2
-- Using a data_ptr size of: 8
-- Bitcode: Disabled
-- ARC: Disabled
-- Hiding symbols: Enabled
-- The C compiler identification is AppleClang 14.0.0.14000029
-- The CXX compiler identification is AppleClang 14.0.0.14000029

paulocoutinhox avatar Sep 21 '22 10:09 paulocoutinhox