nicholas-maltbie / PropHunt-Mirror

PropHunt project made using Unity and Mirror Networking
MIT License
5 stars 1 forks source link

Mac Build Support #35

Open nicholas-maltbie opened 3 years ago

nicholas-maltbie commented 3 years ago

Ensure mac build support works and is signed properly.

https://developer.apple.com/library/archive/documentation/Security/Conceptual/CodeSigningGuide/Procedures/Procedures.html https://forum.unity.com/threads/how-can-you-add-items-to-the-xcode-project-targets-info-plist-using-the-xcodeapi.330574/

https://forum.unity.com/threads/notarizing-osx-builds.588904/

Heres an example cmd for running codesign with all the important bits:

codesign --deep --force --verify --verbose --timestamp --options runtime --entitlements \
  <entitlements_file> --sign "<Developer ID Application: Your Company>"  YourApp.app

Replace with an actual file on disk with the desired entitlements. Replace with your actual dev ID.