Skip to content

MacOS github action currently fails #146

@glikely

Description

@glikely

Operating System Info

macOS 15

Other OS

No response

OBS Studio Version

31.0.3

OBS Studio Version (Other)

No response

OBS Studio Log URL

n/a

OBS Studio Crash Log URL

n/a

Expected Behavior

The MacOS github action fails to build on a pristine clone of obs-plugintemplate. Here's a link to the build result showing the failure. It appears that detection of the MacOS SDK version is failing.

https://github.com/glikely/obs-plugintemplate/actions/runs/14550478987

Current Behavior

The build currently fails with the follow log output

  -- The C compiler identification is AppleClang 16.0.0.16000026
  -- The CXX compiler identification is AppleClang 16.0.0.16000026
  -- Detecting C compiler ABI info
  -- Detecting C compiler ABI info - done
  -- Check for working C compiler: /Applications/Xcode_16.1.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang - skipped
  -- Detecting C compile features
  -- Detecting C compile features - done
  -- Detecting CXX compiler ABI info
  -- Detecting CXX compiler ABI info - done
  -- Check for working CXX compiler: /Applications/Xcode_16.1.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ - skipped
  -- Detecting CXX compile features
  -- Detecting CXX compile features - done
  CMake Error at cmake/macos/compilerconfig.cmake:21 (string):
  -- Configuring incomplete, errors occurred!
    string sub-command REGEX, mode MATCH needs at least 5 arguments total to
    command.
  Call Stack (most recent call first):
    CMakeLists.txt:10 (include)
  
  
  CMake Error at cmake/macos/compilerconfig.cmake:25 (message):
  
    Your macOS SDK version () is too low.  The macOS 15.0 SDK (Xcode 16.0) is
    required to build OBS.
    Callstack:
    .github/scripts/build-macos:114
  Call Stack (most recent call first):
    CMakeLists.txt:10 (include)
  
  
  Error:     ✖︎ script execution error
       .github/scripts/build-macos:153
    
  Error: Process completed with exit code 2.`

This is based on current tip of tree for the plugin template:

013ffca

Steps to Reproduce

Create a github repo and put the current tip-of-tree from obs-plugintemplate to the repo

Anything else we should know?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions