Search Unity

Mac: Code Does Not Work After Code Signing

Discussion in 'Editor & General Support' started by eviltenchi_84, Oct 21, 2014.

  1. eviltenchi_84

    eviltenchi_84

    Joined:
    Feb 18, 2010
    Posts:
    99
    I was testing a build of our game for the mac app store. We have a launcher app and the actual game app. The game app is located in contents/resources of the launcher app. On a non-code signed build, I was able to open the game app with no problem using this code:

    Code (CSharp):
    1. System.Diagnostics.Process.Start(System.Environment.CurrentDirectory + "/GameLauncher.app/Contents/Resources/Game.app");
    2. Application.Quit();
    However, after code signing the app (http://jemast.com/unity/unity-entitlements-tool), this code no longer works. I get no error in the log and the app just closes. Is there something that code singing does that will prevent this code from running? Using OSX Yoesemite if that helps. Any help would be appreciated.
     
    Last edited: Oct 21, 2014
  2. eviltenchi_84

    eviltenchi_84

    Joined:
    Feb 18, 2010
    Posts:
    99