How can I skip code signing for development builds in Xcode 14.2?

Is it possible to skip code sign in Xcode 14.2 (exactly new version) for MacOS App? I dont need this. App is for my personal use only.

Coz I don't know how to solve this problem. I've been trying for 2 weeks now. Looked at all forums. Tried all the tips. Finally, I registered a new Apple ID. The result hasn't changed.

Result each time:

CodeSign /Users/user/Server/TestApp/TestX/out/Debug/TestApp.app (in target 'TestApp' from project 'TestApp')
    cd /Users/user/Server/TestApp/TestX
    
    Signing Identity:     "Apple Development: user@site.com (XXXXXXXXX)"
    
    /usr/bin/codesign --force --sign XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX --deep -o runtime --entitlements /Users/user/Server/TestApp/TestX/out/build/TestApp.build/Debug/TestApp.app.xcent --timestamp\=none --generate-entitlement-der /Users/user/Server/TestApp/TestX/out/Debug/TestApp.app

/Users/user/Server/TestApp/TestX/out/Debug/TestApp.app: internal error in Code Signing subsystem
Command CodeSign failed with a nonzero exit code

PS. Set «Code Sign Identity» to empty doesn't work (advice on many forums).

Is it possible to skip code sign

That depends on your target architecture. Intel still allows you to run unsigned code. Apple silicon requires that all code be signed.

Having said that, you can using ad hoc signing if you want. In Xcode, that’s shown as Sign to Run Locally.

However, this isn’t something I recommend. If your ad hoc signed code interacts with macOS frameworks, it may run into problems because it doesn’t have a stable code signing identity [1]. Your best option is to use an Apple Development signing identity. This can either be created by a member of a paid team or you can use any Apple ID as a Personal Team.

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

[1] I discuss this in some depth in TN3127 Inside Code Signing: Requirements.

How can I skip code signing for development builds in Xcode 14.2?
 
 
Q