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.
Topic: Code Signing SubTopic: General Tags:
Nov ’22
Reply to Warning when archiving product in Xcode with AppIntent extension
I've also been seeing this issue since Xcode 14.3. I believe it's a bug in Xcode's embeddedBinaryValidationUtility tool. They changed the structure of the build directory in some odd ways and introduced symlinks but never patched embeddedBinaryValidationUtility.
Replies
Boosts
Views
Activity
Aug ’23
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.
Topic: Code Signing SubTopic: General Tags:
Replies
Boosts
Views
Activity
Nov ’22