I have two iOS apps, both depending on the same framework.
set_target_properties(FooApp PROPERTIES
XCODE_EMBED_FRAMEWORKS MyFramework
XCODE_EMBED_FRAMEWORKS_CODE_SIGN_ON_COPY ON)
set_target_properties(BarApp PROPERTIES
XCODE_EMBED_FRAMEWORKS MyFramework
XCODE_EMBED_FRAMEWORKS_CODE_SIGN_ON_COPY ON)
The result is only one of them has Embed & Sign
set when I check the generated project in Xcode.
I have noticed there’s a very recent commit (0282429c) that seems to be very closely related to my issue.
I have tested with CMake built from master and it does something, but not what I expect. It gives the same result as before if I embed the framework by giving it as a target … but it gives the correct result if I use the path to the framework.
Suggestions?