Post

Replies

Boosts

Views

Activity

Reply to Xcode Cloud macOS tests won't run on new Mac App template
My workaround is disabling hardened runtime in Xcode Cloud using a ci_scripts/ci_pre_xcodebuild.sh script: #!/bin/sh set -ex if [ "$CI_PRODUCT_PLATFORM" = 'macOS' ] && [ "$CI_XCODEBUILD_ACTION" = 'build-for-testing' ]; then sed -i'~' 's/ENABLE_HARDENED_RUNTIME = YES;/ENABLE_HARDENED_RUNTIME = NO;/g' \ "$CI_WORKSPACE/$CI_XCODE_PROJECT/project.pbxproj" fi Hope others find this useful until the issue is fixed.
Nov ’22