-
-
Notifications
You must be signed in to change notification settings - Fork 236
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 IOS error on MacOS sequoia Version 15.2 #5897
Comments
This looks like an issue that was fixed on master yesterday. Can you make sure you pull all changes up to this very moment? |
thank you for your reply -- Running vcpkg install - failed |
@mansivincent , there should be a message that points you to a log file that contains more information. E.g., this was a build error with QtQuick3D some time ago:
The |
@nirvn thanks for your reply, I've just found a log file called QField/build-arm64-ios/_deps/vcpkg-src/buildtrees/qtbase/config-x64-osx-out.log. From what I understand, it can't find Qt6::Bootstrap, if that's the error, how can I fix it, do I have to install it manually?
|
Ah, add a -D VCPKG_HOST_TRIPLET="arm64-osx" to your cmake command. |
ok i launch it let's see :) |
well, i guess your reply help me to fix my first error but I have a new error, looking in the log files QField/build-arm64-ios/_deps/vcpkg-src/buildtrees/fontconfig/config-arm64-ios-rel-out.log and QField/build-arm64-ios/_deps/vcpkg-src/buildtrees/fontconfig/config-arm64-ios-rel-r.log I have two different information about the error.
|
Oh sorry, your host is not ARM. I think your command would be : -D VCPKG_HOST_TRIPLET="x64-osx" |
i want to setup a arm ios to work with new IPAD but i am working on macos intel9 |
@mansivincent , yeah that's not a problem, you just need to make sure your VCPKG_HOST_TRIPLET matches the computer architecture you're using to build. |
so in my case i need amd because my computer isnt an arm mac ? |
@nirvn I tried this new command :
I encounter my old error :
|
Qt does not yet support macos 15 cleanly, see microsoft/vcpkg#41435 for a workaround. |
thanks you @m-kuhn, i will see microsoft/vcpkg#41435, maybe i will found how to fix it |
I have the build already running on MacOS 15, but with an ARM version (M1). It indeed requires the |
thanks all for your reply, after taking your comments into account, I made a new pull request and ran the command as said before with VCPKG_HOST_TRIPLET=x64-osx:
but near the end I made this error in the log file :
QField/build-arm64-ios/vcpkg-manifest-install.log
if someone can tell me what did i made wrong to fix it :) |
Is there a "See logs for more information" section in your output? |
i have only this : CMake Error at scripts/cmake/vcpkg_execute_build_process.cmake:134 (message): Call Stack (most recent call first): error: building qgis:x64-osx failed with: BUILD_FAILED -- Running vcpkg install - failed |
@mansivincent it mentions in the log you provided two different log files for this build error, did you check those? Checking the error it seems that it is failing on a build of QGIS, so I would start with that log file. Path that is listed is (see the last line just above the call stack): _qfield_project/QField/build-arm64-ios/deps/vcpkg-src/buildtrees/qgis/install-x64-osx-rel-out.log In my experience these log files provide a more detailed explanation of the error that helps to find the root cause of the build failure. |
i already see this log file i have only this error in this one :
|
@mansivincent not very helpful message itself, but it states that a subcommand failed, so you need to seek to the log about that. Only advice I can give is to check all related log files, and if you find errors run them through google to find if there are maybe any known issues with it. It is the same process what I did when running it over here with MacOS 15, but as that was Silicon based it is not fully comparable. |
thx for you reply i will try to fix it and come back if i succes |
Hello everyone,
I'm trying to build an IOS environment with the following command:
cmake -S . -B build-arm64-ios
-DVCPKG_TARGET_TRIPLET=arm64-ios
-DWITH_VCPKG=ON
-DVCPKG_BUILD_TYPE=release
-DCMAKE_SYSTEM_NAME=iOS
-DCMAKE_OSX_SYSROOT=iphoneos
-DCMAKE_OSX_ARCHITECTURES=arm64
-DCMAKE_SYSTEM_PROCESSOR=aarch64
-GXcode
However I get this error:
The following build commands failed:
PhaseScriptExecution Generate\ vcpkg-populate-prefix/src/vcpkg-populate-stamp/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)/vcpkg-populate-download
/qfield_project/QField/build-arm64-ios/_deps/vcpkg-subbuild/build/vcpkg-populate.build/Debug/vcpkg-populate.build/Script-7ED1C045FE7F1AA40556E615.sh (in target 'vcpkg-populate' from project 'vcpkg-populate')
(1 failure)
CMake Error at /usr/local/share/cmake/Modules/FetchContent.cmake:1918 (message):
Build step for vcpkg failed: 65
Call Stack (most recent call first):
/usr/local/share/cmake/Modules/FetchContent.cmake:1609 (__FetchContent_populateSubbuild)
/usr/local/share/cmake/Modules/FetchContent.cmake:2145:EVAL:2 (__FetchContent_doPopulation)
/usr/local/share/cmake/Modules/FetchContent.cmake:2145 (cmake_language)
/usr/local/share/cmake/Modules/FetchContent.cmake:2384 (__FetchContent_Populate)
cmake/VcpkgToolchain.cmake:34 (FetchContent_MakeAvailable)
CMakeLists.txt:26 (include)
after some modifications suggested by users in other issues, i still can't configure my build
the command line I placed came from this pull request: https://github.com/opengisch/QField/pull/5016/files
The text was updated successfully, but these errors were encountered: