opus icon indicating copy to clipboard operation
opus copied to clipboard

Fix macOS framework builds

Open antonc27 opened this issue 3 months ago • 0 comments

This PR fixes 2 issues with CI builds of macOS framework:

  1. Correct flag should be OPUS_BUILD_FRAMEWORK, not BUILD_FRAMEWORK.
  2. Correct CMAKE_OSX_ARCHITECTURES should be set, otherwise host arch will be used.

P.S.

2 more thoughts:

  1. I haven't checked myself, but iOS framework should also use OPUS_BUILD_FRAMEWORK, not BUILD_FRAMEWORK
  2. FRAMEWORK_VERSION in cmake list should be probably set to "A" (major verison), not ${PROJECT_VERSION}

antonc27 avatar Oct 25 '25 09:10 antonc27