You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
does need to configure any environment variables? For example, Android: export ANDROID_NDK_HOME=/home/ubuntu/android ndk
How should ios be configured?
I have already installed and configured Xcode and the iPhone SDK.
I ran the command
"ls /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk" and got the following results:
Developer Entitlements.plist SDKSettings.json SDKSettings.plist System usr
Moreover, I have tested and it can compile normally. However, I don't know how to configure vcpkg to use the SDK path of iOS.
mac@macdeMac vcpkg % ./vcpkg install libiconv:arm64-ios-release
Computing installation plan...
A suitable version of cmake was not found (required v3.30.1).
Downloading cmake-3.30.1-macos-universal.tar.gz
Successfully downloaded cmake-3.30.1-macos-universal.tar.gz.
Extracting cmake...
The following packages will be built and installed:
libiconv:[email protected]#5
Detecting compiler hash for triplet arm64-ios-release...
error: while detecting compiler information:
The log file content at "/Users/mac/vcpkg/buildtrees/detect_compiler/stdout-arm64-ios-release.log" is:
Downloading ninja-mac-1.10.2.zip
Successfully downloaded ninja-mac-1.10.2.zip.
-- Configuring arm64-ios-release-rel
CMake Error at scripts/cmake/vcpkg_execute_required_process.cmake:127 (message):
Command failed: /Users/mac/vcpkg/downloads/tools/cmake-3.30.1-osx/cmake-3.30.1-macos-universal/CMake.app/Contents/bin/cmake /Users/mac/vcpkg/scripts/detect_compiler -G Ninja -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/Users/mac/vcpkg/packages/detect_compiler_arm64-ios-release -DCMAKE_MAKE_PROGRAM=/Users/mac/vcpkg/downloads/tools/ninja/1.10.2-osx/ninja -DCMAKE_SYSTEM_NAME=iOS -DBUILD_SHARED_LIBS=OFF -DVCPKG_CHAINLOAD_TOOLCHAIN_FILE=/Users/mac/vcpkg/scripts/toolchains/ios.cmake -DVCPKG_TARGET_TRIPLET=arm64-ios-release -DVCPKG_SET_CHARSET_FLAG=ON -DVCPKG_PLATFORM_TOOLSET=external -DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=ON -DCMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY=ON -DCMAKE_FIND_PACKAGE_NO_SYSTEM_PACKAGE_REGISTRY=ON -DCMAKE_INSTALL_SYSTEM_RUNTIME_LIBS_SKIP=TRUE -DCMAKE_VERBOSE_MAKEFILE=ON -DVCPKG_APPLOCAL_DEPS=OFF -DCMAKE_TOOLCHAIN_FILE=/Users/mac/vcpkg/scripts/buildsystems/vcpkg.cmake -DCMAKE_ERROR_ON_ABSOLUTE_INSTALL_DESTINATION=ON -DVCPKG_CXX_FLAGS= -DVCPKG_CXX_FLAGS_RELEASE= -DVCPKG_CXX_FLAGS_DEBUG= -DVCPKG_C_FLAGS= -DVCPKG_C_FLAGS_RELEASE= -DVCPKG_C_FLAGS_DEBUG= -DVCPKG_CRT_LINKAGE=dynamic -DVCPKG_LINKER_FLAGS= -DVCPKG_LINKER_FLAGS_RELEASE= -DVCPKG_LINKER_FLAGS_DEBUG= -DVCPKG_TARGET_ARCHITECTURE=arm64 -DCMAKE_INSTALL_LIBDIR:STRING=lib -DCMAKE_INSTALL_BINDIR:STRING=bin -D_VCPKG_ROOT_DIR=/Users/mac/vcpkg -DZ_VCPKG_ROOT_DIR=/Users/mac/vcpkg -D_VCPKG_INSTALLED_DIR=/Users/mac/vcpkg/installed -DVCPKG_MANIFEST_INSTALL=OFF
Working Directory: /Users/mac/vcpkg/buildtrees/detect_compiler/arm64-ios-release-rel
Error code: 1
See logs for more information:
/Users/mac/vcpkg/buildtrees/detect_compiler/config-arm64-ios-release-rel-CMakeCache.txt.log
/Users/mac/vcpkg/buildtrees/detect_compiler/config-arm64-ios-release-rel-out.log
/Users/mac/vcpkg/buildtrees/detect_compiler/config-arm64-ios-release-rel-err.log
Call Stack (most recent call first):
scripts/cmake/vcpkg_configure_cmake.cmake:344 (vcpkg_execute_required_process)
scripts/detect_compiler/portfile.cmake:18 (vcpkg_configure_cmake)
scripts/ports.cmake:196 (include)
error: vcpkg was unable to detect the active compiler's information. See above for the CMake failure output.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
does need to configure any environment variables? For example, Android: export ANDROID_NDK_HOME=/home/ubuntu/android ndk
How should ios be configured?
I have already installed and configured Xcode and the iPhone SDK.
I ran the command
"ls /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk" and got the following results:
Developer Entitlements.plist SDKSettings.json SDKSettings.plist System usr
Moreover, I have tested and it can compile normally. However, I don't know how to configure vcpkg to use the SDK path of iOS.
Beta Was this translation helpful? Give feedback.
All reactions