Xcode: XCODE_EMBED_FRAMEWORKS does not work when targeting iOS
For some reason I can not get XCODE_EMBED_FRAMEWORKS
to work with dependencies when targeting iOS, that is when configuring with -GXcode -DCMAKE_SYSTEM_NAME=iOS
(works fine when targeting macOS).
It will give the following error:
CMake Error: Can't find a build file for dep::dep
This can be reproduced with this small example by running its build-iOS-fail.sh
embed_framework_notworking_ios.zip
For reference, XCODE_EMBED_FRAMEWORKS
was introduced by !5418 (merged). I think @craig.scott @gusc might be able to shed some light on this issue.
Edited by Brad King