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
{{ message }}
This repository has been archived by the owner on May 17, 2021. It is now read-only.
I've been trying to build an iOS library using Polly & CPack, with the following command line:
polly --config Debug --toolchain ios-nocodesign-13-2-dep-9-3-arm64 --clear --pack ZIP
Although the build finishes correctly, CPack cannot find the compiled library because it's looking for it in the wrong path, probably because EFFECTIVE_PLATFORM_NAME is not being set. I don't know where that is being set, but it seems to work for everything except CPack. This is the output I'm getting:
The path Debug should be Debug-iphoneos as everything is being compiled inside that path. Looking at those generated cmake files I see that the path is being set as /Debug${EFFECTIVE_PLATFORM_NAME}/ so as mentioned, I'm assuming this is not being set for some reason.
Am I missing something else on my command line, or is this a bug somewhere?
Thanks in advance!
The text was updated successfully, but these errors were encountered:
I understand Polly is a wrapper, but I imagine Polly is also the source of that EFFECTIVE_PLATFORM_NAME variable? --archive only zips/tar-gzs stuff together, while I need a cpack invocation. That seems to work fine except for that variable definition, currently I'm manually adding it and everything works after calling cpack again, but I expect this to be a bug somewhere.
So it looks like it's not Polly adding that variable, but Xcode, so I'm closing this as there is a CMake issue related to this (https://gitlab.kitware.com/cmake/cmake/-/issues/20023 which seems to have been patched on CMake 3.19.5 but doesn't work for me for some reason).
Hello,
I've been trying to build an iOS library using Polly & CPack, with the following command line:
Although the build finishes correctly, CPack cannot find the compiled library because it's looking for it in the wrong path, probably because
EFFECTIVE_PLATFORM_NAME
is not being set. I don't know where that is being set, but it seems to work for everything except CPack. This is the output I'm getting:The path
Debug
should beDebug-iphoneos
as everything is being compiled inside that path. Looking at those generatedcmake
files I see that the path is being set as/Debug${EFFECTIVE_PLATFORM_NAME}/
so as mentioned, I'm assuming this is not being set for some reason.Am I missing something else on my command line, or is this a bug somewhere?
Thanks in advance!
The text was updated successfully, but these errors were encountered: