Search Unity

Question hardened runtime settings

Discussion in 'macOS' started by dwatt-hollowworldgames, Dec 15, 2022.

  1. dwatt-hollowworldgames

    dwatt-hollowworldgames

    Joined:
    Apr 26, 2019
    Posts:
    104
    I am able to change the xcode project settings needed for hardened runtime. However, If I select replace when building all my hardened runtime settings are gone and I if choose append my build version when archiving doesn't update. Is there a way to get the hardened runtime settings on when creating/replacing the xcode project or updating the version string when appending?
     
  2. Ubrano

    Ubrano

    Joined:
    Jul 23, 2017
    Posts:
    16
    @dwatt-hollowworldgames have you managed to work around this issue? Using Unity 2021.3.16f1 on 12.6.5 with Xcode 14.2 the same happens when the "Product > Destination" is changed and the latter seems to be reverting to "My Mac" continuously. Perhaps a solution would be to set everything to one's liking and then save to a configuration file, which can be referenced in the very settings, so presumably the settings would keep loading from there; just started reviewing https://developer.apple.com/documentation/xcode/configuring-the-build-settings-of-a-target
     
  3. dwatt-hollowworldgames

    dwatt-hollowworldgames

    Joined:
    Apr 26, 2019
    Posts:
    104
    No there is no fix but to change it manually after generating a new xcode project. Thankfully , its just an issue when dealing with a relatively finalized build, so its annoying but not a game stopper.