1

I'm using CMake with Xcode generator to generate Xcode project to build framework for iOS and tvOS (and other platforms too).

I'm setting IOS_INSTALL_COMBINED to generate a framework that contains both device and simulator architectures automatically without need of calling lipo myself.

The problem is that generated .framework.dSYM is not universal, it has only x86_64 architecture slice. Should I call lipo manually anyway to merge it myself? I wanted to avoid it and have CMake/Xcode do all the work.

Paul
  • 13,042
  • 3
  • 41
  • 59
  • Hi Paul / #SOreadytohelp, did you find our how to do this? – Wizard of Kneup Jan 02 '21 at 07:11
  • @WizardofKneup Unfortunately no. – Paul Jan 06 '21 at 02:36
  • I found the answer for my (similar) issue!I needed to add set(CMAKE_OSX_ARCHITECTURES "$(ARCHS_STANDARD)") to my CMakeLists.txt file. I was struggling in specifying these two architectures directly as `arm64;x86:64` but like this it works. Unfortunately, it will most likely not help for your case. – Wizard of Kneup Jan 06 '21 at 05:36

0 Answers0