Post

Replies

Boosts

Views

Activity

Comment on XCode 13 - No Help Book
More bad news: To try to update my Application I restored an earlier version of XCode from my Time Machine backup disk. When I launch it it says that it's incompatible with macOS 12 Monterey and to get the latest version XCode, 13.1, from the App Store. I 'm not prepared to restore an earlier version of macOS and XCode to update my application so it looks like we will have to wait for Apple to fix this. This will probably take a LONG time, like maybe never?
Nov ’21
Comment on XCode 13 - No Help Book
New Add bookmark #11 I created a seperate volume with macOS 11 Big Sur. It took more than 24 hours to download, install move my files over and verify everything. I got the .xip of XCode 12 from the developer site. macOS 12.1 Monterey wont run the .xip because it's not signed by a developer. I have to go to the System Preferences -> Security & Privacy control panel and tell it to open it anyway but Archive Utility posts an alert: "Unable to expand "XCode_12.5.1.xip". It is in an unsupported format. Seriously? Since when did Archive utility stop supporting this?
Nov ’21
Comment on XCode not creating _MASReceipt/reciept in App Bundle?
This ugly bug has reappeared this morning. XCode is building the application with the correct path for the receipt in the application's bundle: @"Contents/_MASReceipt/receipt" but when I execute the method receiptData = [NSData dataWithContentsOfURL: receiptURL options: NSDataReadingMappedAlways error: &theError]; I get the Damaged Application Alert, so I can't run debug with the receipt validation executing.
Nov ’21
Comment on XCode not creating _MASReceipt/reciept in App Bundle?
In the calling environment the code that calls getReceiptData() calls exit(173) if there is no receipt. According to the latest documentation exit(173) should tell macOS to ask for one's iTunes test user ID and password. If these are valid it should fetch a valid App Store receipt, put it in the Contents/_MASReceipt/ directory and relaunch the app. I tested this this morning by calling exit(173) at various places in my receipt validation code and it doesn't work. Thinking that this might be a bug like the one that will only open and display the Help Book if the app is in the Applications folder, I tried this as well. No, there is a bug in mac OS Monterey 12.0.1 that makes it impossible to use this feature to debug one's receipt validation code. This means that I can't update my app at the app store because the testers at the App Store won't be able to launch my app - they will get an alert saying that the app is damaged and to reload it from the store. Please file a bug report. Also I filed a request for a developer support incident but I haven't gotten any help from Apple.
Nov ’21
Comment on XCode not creating _MASReceipt/reciept in App Bundle?
For many years I created a folder for the receipt by putting a Copy Files item in the target Build Phases settings to create the _MASReceipt folder for the receipt: wrapper: Subpath @"Contents/MASReceipt/receipt Now XCode doesn't seem to be creating the folder for the receipt so this could be the problem but it's impossible to know because neither XCode nor the Console logs an error. I don't see any guidance in the archived or new developer documentation about this. It could be an XCode bug.
Nov ’21
Comment on Code 173 no longer triggers receipt generation
There are "more than ten" bug reports about this on the Apple Bug Reporter site. I tried to ask for code-level assistance but when you do this Apple won't accept your request for assistance - it just disappears. If you search for posts about this you will get pages and pages of threads like this one. This has been a problem on and off for years. There's no way for us to know if this is a bug in XCode, macOS, the App Store or iTunes. I would bet on iTunes because it seems like it happens on different versions of macOS and XCode. Whatever the problem, Apple is in no hurry to fix it.
Nov ’21