Earlier, I was building SHARED library as Framework Bundle on the macOS and iOS.
CmakeLists :
add_library(${TARGET_CLIENT_OBJC_LIB_NAME} SHARED
${DIR_SRCS}
${sources}
${headers}
${objc_sources})
set_target_properties(${TARGET_CLIENT_OBJC_LIB_NAME} PROPERTIES
FRAMEWORK TRUE
FRAMEWORK_VERSION C
PUBLIC_HEADER ${headers}
XCODE_ATTRIBUTE_CODE_SIGN_IDENTITY "iPhone Developer"
MACOSX_FRAMEWORK_IDENTIFIER Dummy
MACOSX_FRAMEWORK_INFO_PLIST ${CMAKE_CURRENT_SOURCE_DIR}/resources/Info.plist)
for this, It created library named "Dummy" of size 21 MB and Now,Instead of SHARED, I want to have a STATIC Library so I just changed it to add_library(${TARGET_CLIENT_OBJC_LIB_NAME} STATIC. Ideally for this, It should have created libDummy.a library file in my framework but still getting "Dummy" library only, but of size 61MB. Is there any way I can check whether the generated library is Shared or Static ??