New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
build error #150
Comments
It seems you are missing either Xcode or Command line Tools on your system.
No compilers/tools could be found, which means either one of those (unless
you are rocking LLDB self-compiled) is missing.
|
But I'm using Xcode , what should I do about it? |
What does |
/Library/Developer/CommandLineTools when i reinstall commandlinetools xcode-select --install xcode-select: error: command line tools are already installed, use "Software Update" to install updates |
Reinstalling Xcode and CommandlineTools also does not work, the same error. Version has been rolled back to Xcode 13 It looks like a similar problem, but the environment has been reset |
Try running |
-- [DEFAULTS] Using explicit named language support! E.g., enable_language(CXX) is needed in the project files. iPhoneSimulator15.0.sdk - Simulator - iOS 15.0 (iphonesimulator15.0) DriverKit20.4.sdk - DriverKit 20.4 (driverkit.macosx20.4) MacOSX11.3.sdk - macOS 11.3 (macosx11.3) AppleTVOS15.0.sdk - tvOS 15.0 (appletvos15.0) AppleTVSimulator15.0.sdk - Simulator - tvOS 15.0 (appletvsimulator15.0) WatchOS8.0.sdk - watchOS 8.0 (watchos8.0) WatchSimulator8.0.sdk - Simulator - watchOS 8.0 (watchsimulator8.0) Xcode 13.0 -- Configuring incomplete, errors occurred! hello leetal, sudo xcode-select --reset , error again |
Did you rm -rf your build directory and rebuild? I solved it by clearing it. |
sudo xcode-select --switch /Applications/Xcode.app |
I downloaded the project,
cd example/example-lib
mkdir build
cd build
cmake .. -G Xcode -DCMAKE_TOOLCHAIN_FILE=../../ios.toolchain.cmake -DPLATFORM=OS64
Terminal error:
-- [DEFAULTS] Using explicit named language support! E.g., enable_language(CXX) is needed in the project files.
-- [DEFAULTS] Enabling bitcode support by default. ENABLE_BITCODE not provided!
-- [DEFAULTS] Enabling ARC support by default. ENABLE_ARC not provided!
-- [DEFAULTS] Hiding symbols visibility by default. ENABLE_VISIBILITY not provided!
-- [DEFAULTS] Using NON-strict compiler checks by default. ENABLE_STRICT_TRY_COMPILE not provided!
-- 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: OS64, architecture(s): arm64
-- Using SDK:
-- Using C compiler:
-- Using CXX compiler:
-- Using libtool:
-- Using install name tool:
-- Autoconf target triple: aarch64-apple-ios11.0
-- Using minimum deployment version: 11.0 (SDK version: )
-- Merging integrated CMake 3.14+ iOS,tvOS,watchOS,macOS toolchain(s) with this toolchain!
-- Using Xcode version:
-- CMake version: 3.23.2
-- Using a data_ptr size of: 8
-- Bitcode: Enabled
-- ARC: Enabled
-- Hiding symbols: Enabled
CMake Error at /usr/local/Cellar/cmake/3.23.2/share/cmake/Modules/Platform/iOS-Initialize.cmake:4 (message):
is not an iOS SDK
Call Stack (most recent call first):
/usr/local/Cellar/cmake/3.23.2/share/cmake/Modules/CMakeSystemSpecificInitialize.cmake:21 (include)
CMakeLists.txt:2 (project)
Xcode Version is 13.4.1
macOS Monterey 12.4
The text was updated successfully, but these errors were encountered: