Please do not post the same thing multiple times. The board software automatically flags certain posts as needing moderator attention. This happens the most often for new users. I'm pretty sure this is made clear at the time you attempt to post. Posting the same thing over and over again just makes that many more posts the moderators have to weed through later. This makes us sad. Don't make us sad. If your post/thread doesn't appear, just wait a while. Don't post it again. If it hasn't shown up by the next day, then you can try again. I normally go through posts in the mornings, and try to check a few times throughout the day, but I'm not here 24/7. There will typically be a significant delay before posts are approved. Just be patient.
did you guys implement receiplt validation? If so, how? I know Alan Quatermain's approach and roddi's one. Roddi's approach gives me two error when compiling in my project.
Is it worth the effort to implement receipt validation?
I chose not to - and here's my reason... all of my popular iOS apps have been cracked and are available for download on various websites, on iOS the process of cracking apps is much tougher than on a desktop system like a Mac.
I honestly believe that my mac apps will be pirated anyway, so I'm not going to bother wasting my time with copy protection methods.
Yes, I tried that one. When I pasted it into my project there were two errors, something about "_cmd" and something about "self". I don't remember the exact output right now.
Yes, I tried that one. When I pasted it into my project there were two errors, something about "_cmd" and something about "self". I don't remember the exact output right now.
I get "_cmd undeclared (first use in this function" and "self undeclared (first use in this function)" in the line:
NSAssert([bundleVersion isEqualToString:[[NSBundle mainBundle] objectForInfoDictionaryKey:@\"CFBundleShortVersionString\"]], @\"whoops! check the hard-coded CFBundleShortVersionString!\");
All I did is just pasting the files into my project and #import "validatereceipt.h"
Well, I just commented this line out. How do I test if the validation works? I installed my app via the installer command but it does not start as it does not contain any receipt in the bundle.
I now installed it via sudo installer -store -pkg path-to-package -target / My app is installed in Applications folder. However it exists because of the missing receipt I guess and it does not show a window asking for itunes account.
check the receipt page from Apple. At the bottom is the sample receipt with an explanation how to save it to your disk.
yes, but I think I also have to test with a receipt from the test account or why can I register test accounts? I'm confused. I don't want to wait a month for my app being rejected because of wrong receipt validation :-(
Yes you can register a test account and test your app. The account dialog box is opened when your app does exit with the special return code indicated in the doc.
Replies
I honestly believe that my mac apps will be pirated anyway, so I'm not going to bother wasting my time with copy protection methods.
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Disagree Dislike Like AwesomeSo you'll have a piracy rate of 80% instead of 20%.
Take a look at this, a sample xcode project with receipt validation:
https://github.com/roddi/ValidateStoreReceipt
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Disagree Dislike Like Awesome- Spam
- Abuse
- Troll
0 • Off Topic Insightful Disagree Dislike Like AwesomeAll I did is just pasting the files into my project and #import "validatereceipt.h"
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Disagree Dislike Like AwesomeHow do I test if the validation works?
I installed my app via the installer command but it does not start as it does not contain any receipt in the bundle.
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Disagree Dislike Like AwesomeMy app is installed in Applications folder. However it exists because of the missing receipt I guess and it does not show a window asking for itunes account.
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Disagree Dislike Like Awesome- Spam
- Abuse
- Troll
0 • Off Topic Insightful Disagree Dislike Like AwesomeI don't want to wait a month for my app being rejected because of wrong receipt validation :-(
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Disagree Dislike Like AwesomeThe account dialog box is opened when your app does exit with the special return code indicated in the doc.
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Disagree Dislike Like Awesome