Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- =====================================================================================================
- === NOTE something in this process is flawed. The resulting file crashes on 10.15 with this error ===
- === Exception Type: EXC_BAD_ACCESS (Code Signature Invalid) ===
- === Termination Reason: Namespace CODESIGNING, Code 0x2 ===
- =====================================================================================================
- Connect mac to 2nd monitor and synergy for keyboard/mouse and boot mac
- Update MacOS to 10.13.6+
- Update xcode to 10.0+
- Couldn't do it through the app store
- only 11 was available and too high for my MacOS (10.13.6), update failed silently
- Downloaded 10.0 directly from https://developer.apple.com/download/more/
- Delete and replace /Applications/Xcode.app
- In console ran this for good measure in case there are 2 copies floating around:
- sudo xcode-select -s /Applications/Xcode.app
- Verify that gamename.app runs and contains 64 bit version
- In Xcode
- Check xcode > preferences > accounts, make sure you're logged in (might skip this step?)
- In Keychain Access.app
- select the login keychain on the left
- Keychain Access > Certificate assistant > Request a certificate from a certificate authority
- Save to disk creates CertificateSigningRequest.certSigningRequest
- Upload to developer.apple.com
- Also need to make an account and pay $100
- under Account, Certificates, Create new > Developer ID Application
- then download developerID_application.cer
- In Keychain Access.app
- File > Import Items
- choose developerID_application.cer
- Login to https://appleid.apple.com/account/manage
- In the Security section, click Generate Password below App-Specific Passwords
- Remember app specific name and password
- In Keychain Access.app
- File > New Password Item
- Keychain Item Name: app specific name
- Account Name: your apple ID (email address)
- Password: app specific password
- Install and run SD Notary from https://latenightsw.com/sd-notary-notarizing-made-easy/
- Select signing identity (registered to keychain via developerID_application.cer)
- Enter Apple ID (email address)
- Enter app specific name (from appleid.apple.com/account/manage, matches pw in keychain)
- Leave team ID blank unless you have multiple teams
- In SD Notary, sign then submit (I got unknown altool error when doing both at once)
- Uncheck "process script applets only"
- Uncheck "don't sign enclosures"
- Press Sign Only...
- choose your gamename.app file (NOT your only copy! it will be moved!)
- enter your keychain (local machine) password a couple times
- will create a new folder called "gamename - signed" containing gamename.app
- and will move original file
- confirm no errors
- verify that signed app still runs
- Press Submit App...
- select signed version at "gamename - signed"/gamename.app
- wait...
- wait...
- wait...
- Then after 3 minutes, "the submission has been notarized and will now be stapled".
- Then a popup warned me that the spctl results say "source=Developer ID" while the app was expecting "source=Notarized Developer".
- But I got an email from apple saying my app had been notarized, so thumbs up.
- The submitted app was moved to
- "gamename - signed"/"gamename - failed"/gamename.app
- THIS is the file I submitted to steam
- In partner.steamgames.com under App > Steamworks > Application
- Check maxOS 64 bit binaries and app bundles are notarized
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement