receigen

Mac App Store testing receipt validation (from receigen) “app is damaged and can't be opened.”

我的梦境 提交于 2020-05-29 05:42:19
问题 I'm using Receigen (http://receigen.etiemble.com/) to do receipt validation for one of my MacOS apps. This has worked beautifully for several years, but something has changed. I haven't made an update to this app for a year or so and submitted a change but it was rejected because the receipt validation wasn't working. When I try to test the receipts locally, it pops up the App Store login, I enter my email+password, and then I get the "app is damaged" message. I used the Receigen Code

Xcode Script - Get Bundle ID from build settings instead of info.plist

狂风中的少年 提交于 2019-12-23 10:09:39
问题 I'm using Receigen for Apple receipt checking. I have integrated a script on my build process that generates the appropriate files for my project: # Receigen binary RECEIGEN="/Applications/Receigen.app/Contents/MacOS/Receigen" # Extract Info.plist information INPUT="$INFOPLIST_FILE" BUNDLE_ID=`/usr/libexec/PlistBuddy -c "Print CFBundleIdentifier" "$INPUT"` BUNDLE_VERSION=`/usr/libexec/PlistBuddy -c "Print CFBundleShortVersionString" "$INPUT"` # Expand information if needed EXPANDED_BUNDLE_ID=