Ughh I updated to Xcode 11.1 GM and deleted the old one, and now the macOS release builds are failing to launch with some cryptic errors.

I'll try exporting a build without receipt validation and see if it's related to that.

Show thread

Yeah that did the trick. However the High Sierra build is very broken… Idk if I wanna spend more time fixing these glitches with Catalina around the corner… :thonk:

Show thread

Ok so I found the issue. I'm using a build script to inject the current bundle version into the receipt validation code using a preprocessor macro. Xcode 11 introduced this "MARKETING_VERSION" configuration, and this basically borked my script. The receipt validation was comparing the bundle version from the plist against the literal string "$MARKETING_VERSION" so that obviously wasn't working.

Show thread
Sign in to participate in the conversation
Mastodon for Tech Folks

This Mastodon instance is for people interested in technology. Discussions aren't limited to technology, because tech folks shouldn't be limited to technology either!