Skip to content

Instantly share code, notes, and snippets.

@tansaku
Created November 12, 2012 13:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tansaku/4059533 to your computer and use it in GitHub Desktop.
Save tansaku/4059533 to your computer and use it in GitHub Desktop.
adjusting unity executable permissions on OSX
localhost:MacOS samueljoseph$ cd ~/download
-bash: cd: /Users/samueljoseph/download: No such file or directory
localhost:MacOS samueljoseph$ cd ~/downloads
localhost:downloads samueljoseph$ cd Builds
localhost:Builds samueljoseph$ ls
Databases Prototypev2b60_64bit.exe
Prototype2b60_Mac.app Prototypev2b60_64bit_Data
Prototypev2b60_32bit.exe UnityPlayer_Symbols.pdb
Prototypev2b60_32bit_Data
localhost:Builds samueljoseph$ cd Prototype2b60_Mac.app/
localhost:Prototype2b60_Mac.app samueljoseph$ ls
Contents
localhost:Prototype2b60_Mac.app samueljoseph$ cd Contents/
localhost:Contents samueljoseph$ ls
Data Info.plist PkgInfo
Frameworks MacOS Resources
localhost:Contents samueljoseph$ cd MacOS/
localhost:MacOS samueljoseph$ ls
Battlestar
localhost:MacOS samueljoseph$ cd Battlestar
-bash: cd: Battlestar: Not a directory
localhost:MacOS samueljoseph$ ./Battlestar
-bash: ./Battlestar: Permission denied
localhost:MacOS samueljoseph$ ls -la
total 31344
drwxr-xr-x 3 samueljoseph staff 102 Nov 4 18:38 .
drwxr-xr-x 8 samueljoseph staff 272 Nov 4 18:38 ..
-rw-r--r-- 1 samueljoseph staff 16045548 Jul 18 04:29 Battlestar
localhost:MacOS samueljoseph$ chmod 777 Battlestar
localhost:MacOS samueljoseph$ ./Battlestar
Mono path[0] = '/Users/samueljoseph/Downloads/Builds/Prototype2b60_Mac.app/Contents/Data/Managed'
PlayerConnection::Initialize
PlayerConnection constructor
Playerconnection 3
PlayerConnection initialized network socket : 0.0.0.0 55431
Multi-casting "[IP] 192.168.1.71 [Port] 55431 [Flags] 2 [Guid] 3291024892 [EditorId] 25565823 [Version] 1048832 [Id] OSXPlayer(unknown-c8:bc:c8:da:38:b2.home) [Debug] 0" to [225.0.0.222:54997]...
PlayerConnection::Initialize
2012-11-12 13:53:49.585 Battlestar[75403:903] Could not find image named 'ScreenSelector'.
2012-11-12 13:53:49.613 Battlestar[75403:903] *** WARNING: Method selectRow:byExtendingSelection: in class ScreenSelectorTableView is deprecated. It will be removed in a future release and should no longer be used.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment