Post

Replies

Boosts

Views

Activity

Reply to Debugging fails with "Error 1" if hardened runtime is enabled
It's still not working for me. I guessed it had something to do with my manual signing settings. But now I've switch to automatic signing and it still doesn't work.My settings:CODE_SIGN_STYLE = Automatic CODE_SIGN_INJECT_BASE_ENTITLEMENTS = YESFrom the build log:CodeSign /Users/joostn/Library/Developer/Xcode/DerivedData/MyProduct-fvgvvkwupoapzkazuzzceweakusy/Build/Products/Release/MyProduct.app (in target 'MyProduct' from project 'MyProduct') cd /Volumes/devel/wxwprojects_MyProduct12/MyProduct/Project/XCode export CODESIGN_ALLOCATE=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/codesign_allocate Signing Identity: "-" /usr/bin/codesign --force --sign - -o runtime --entitlements /Users/joostn/Library/Developer/Xcode/DerivedData/MyProduct-fvgvvkwupoapzkazuzzceweakusy/Build/Intermediates.noindex/MyProduct.build/Release/MyProduct.build/MyProduct.app.xcent /Users/joostn/Library/Developer/Xcode/DerivedData/MyProduct-fvgvvkwupoapzkazuzzceweakusy/Build/Products/Release/MyProduct.app /Users/joostn/Library/Developer/Xcode/DerivedData/MyProduct-fvgvvkwupoapzkazuzzceweakusy/Build/Products/Release/MyProduct.app: replacing existing signatureThe .xcent file appears to contain no entitlements:cat /Users/joostn/Library/Developer/Xcode/DerivedData/MyProduct-fvgvvkwupoapzkazuzzceweakusy/Build/Intermediates.noindex/MyProduct.build/Release/MyProduct.build/MyProduct.app.xcentAnd indeed codesign -d --entitlements reports that my app has no entitlements.Any ideas?
Nov ’19
Reply to Debugging fails with "Error 1" if hardened runtime is enabled
The .xcent file appears to contain no entitlements:cat /Users/joostn/Library/Developer/Xcode/DerivedData/MyProduct-fvgvvkwupoapzkazuzzceweakusy/Build/Intermediates.noindex/MyProduct.build/Release/MyProduct.build/MyProduct.app.xcent<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"><plist version="1.0"><dict/></plist>
Nov ’19