How to enable 'Secure Coding' on mac project?

Editor 5.4.2 on mac

Project is failing on final part of packaging…

How do I enable secure coding?

I am not doing anything custom it is simple a blank project with some landscape draw and some 3d assets.

If I delete the binary folder it complains saying it is missing but on the projects it simply rebuilds the binary folder…

UATHelper: Packaging (Mac): 2024-06-06 10:54:38.815 UnrealEditor[11786:85490] WARNING: Secure coding is not enabled for restorable state! Enable secure coding by implementing NSApplicationDelegate.applicationSupportsSecureRestorableState: and returning YES.
PackagingResults: Warning: Secure coding is not enabled for restorable state! Enable secure coding by implementing NSApplicationDelegate.applicationSupportsSecureRestorableState: and returning YES.
UATHelper: Packaging (Mac): Skip copying file /Users/ed/3D Projects/Unreal Projects/MyProject/Binaries/Mac/MyProject.app/Contents/_CodeSignature/CodeResources because it doesn't exist.
UATHelper: Packaging (Mac): Failed to copy /Users/ed/3D Projects/Unreal Projects/MyProject/Binaries/Mac/MyProject.app/Contents/_CodeSignature/CodeResources to /Users/ed/3D Projects/Unreal Projects/MyProject/Saved/StagedBuilds/Mac/MyProject/Binaries/Mac/MyProject.app/Contents/_CodeSignature/CodeResources, deleting, waiting 10s and retrying.
UATHelper: Packaging (Mac): Skip copying file /Users/ed/3D Projects/Unreal Projects/MyProject/Binaries/Mac/MyProject.app/Contents/_CodeSignature/CodeResources because it doesn't exist.

Enabling secure coding practices in a Mac project involves implementing various measures to enhance the security of your code and protect it from potential vulnerabilities. Here are some steps you can take to enable secure coding in your Mac project:

  1. Use secure coding guidelines: Follow established secure coding guidelines, such as those provided by organizations like OWASP (Open Web Application Security Project) or Apple’s Secure Coding Guide, to ensure that your code adheres to best practices for security.

  2. Keep software and libraries updated: Regularly update your development tools, libraries, and dependencies to ensure that you are using the latest versions with security patches and fixes.

  3. Validate input: Validate all user inputs to prevent common security vulnerabilities such as injection attacks (e.g., SQL injection, command injection) and cross-site scripting (XSS).

  4. Sanitize data: Sanitize data inputs to remove potentially harmful characters or code that could be used for malicious purposes.

  5. Use secure encryption: Implement strong encryption algorithms and secure protocols to protect sensitive data in transit and at rest.

  6. Avoid hardcoding sensitive information: Avoid hardcoding passwords, API keys, or other sensitive information directly into your code. Save them safely in configuration files or environment variables instead.

  7. Implement access controls: Apply proper access controls and authorization mechanisms to restrict access to sensitive resources and functionality.

  8. Perform security testing: Conduct regular security testing, such as code reviews, static code analysis, and penetration testing, to identify and address security vulnerabilities in your code.

By following these steps and integrating secure coding practices into your Mac project, you can help mitigate security risks and enhance the overall security posture of your application.

Specifically within context to unreal engine 5.4
The error makes it sound like there is a tickbox option somewhere?

To enable secure coding practices in a Mac project, you can follow these tips:

  1. Use secure coding guidelines: Follow secure coding principles such as input validation, output encoding, and proper error handling to prevent common vulnerabilities like injection attacks and cross-site scripting.

  2. Keep software updated: Regularly update your development tools, frameworks, and libraries to patch any known security vulnerabilities.

  3. Use secure communication protocols: Ensure that your project uses secure communication protocols like HTTPS to protect data in transit.

  4. Implement access controls: Limit access to sensitive data and functionality within your project based on user roles and permissions.

  5. Perform security testing: Conduct regular security testing, such as code reviews, static analysis, and penetration testing, to identify and address any security issues early in the development process.

  6. Secure sensitive data: Encrypt sensitive data at rest and in transit to protect it from unauthorized access.

  7. Follow macOS security best practices: Familiarize yourself with macOS security features and guidelines to ensure that your project leverages built-in security controls effectively.

By incorporating these practices into your Mac project, you can enhance its security posture and reduce the risk of potential vulnerabilities.

Update something tied to mac code signing.

I have up developing on mac and swapped to windows no issues.
Can also deploy builds to steamdeck and run on Mac via whiskey or apple gaming porting toolkit.

Also worth nothing there are lots of bugs on the Mac version of unreal engine like LOD is manual compared to windows.