chmod +x file
Various Scripts and Application Code Segments for .NET, VB, C#, C++, C, Java, JavaScript, HTML, Python, Perl, AutoIT, Batch, ASP Classic, Objective-C, Swift, Unreal Engine 4, Unity3D & others. Also contains numerous IT tidbits, procedures, and tricks including Technology Hacks on various platforms.
Showing posts with label OSX. Show all posts
Showing posts with label OSX. Show all posts
Tuesday, July 30, 2013
How to make file executable in OSX
To make a file executable in OSX you have to go to Utilities then run terminal. Type in the command
Friday, January 18, 2013
Publish Unity3D Games to OSX
Submitting a Unity 3D Game to the Mac Store:
- Build in Unity for Mac Intel Only
- Show Package Contents of the .app once Compiled from Unity
2.a. Edit Info.plist
<key>CFBundleShortVersionString</key>
<string>1.0.0</string>
<key>LSApplicationCategoryType</key>
<string>public.app-category.sports-games</string>
<key>NSHumanReadableCopyright</key>
<string>© 2012 Apollo Software Solutions. All rights reserved.</string>
<key>CFBundleIdentifier</key>
<string>com.apolloss.GolfProHD</string>
<key>CFBundleVersion</key>
<string>1.0.0</string>
2.b. Replace Resources/UnityPlayer.icns with one that is 1024x1024 (you may need icns editor/generator)
2.c. Change permissions on /Data for "everyone" from "no access" to be "Read only"
- In Terminal… (you may need entitlements, if so create entitlements xml file and add to codesign command).codesign -f -s "3rd Party Mac Developer Application: Amit Barman" GolfProHD.appproductbuild --component GolfProHD.app /Applications --sign "3rd Party Mac Developer Installer: Amit Barman" GolfProHD.pkg
Delete the .app file after productbuild has created the .pkg (or the installer test will not work).
sudo installer -store -pkg GolfProHD.pkg -target /
- Verify that your app is installed in Applications
- Ready to submit the .pkg to iTunes Connect!
Subscribe to:
Posts (Atom)
Generating "Always On Top" NSWindow in macOS across all detected displays
Also: Using UIKit & Cocoa Frameworks using Objective-C In m acOS or OS X , written in either Objective-C or Swift Langues, you m...
-
This simple script is how to submit scores and points to the Game Center from a Unity3D Game. People use the prime31 plugin, and pay the e...
-
Also: Using UIKit & Cocoa Frameworks using Objective-C In m acOS or OS X , written in either Objective-C or Swift Langues, you m...
-
Recently Possess () has been deprecated from UE4 , and when writing classes based on AAIController you have to use the function OnPossess ...