Post

Replies

Boosts

Views

Activity

Reply to XCode 13 - No Help Book
Cleaning and rebuilding the project doesn't help. Restarting XCode or my Computer doesn't help. The project doesn't log any errors but there is one error in the Console: error 18:29:15.933543-0600 HelpViewer volume does not support data protection, stripping SQLITE_OPEN_FILEPROTECTION_* flags An older version of the program shows the Help Book. Is this a new bug in XCode?
Nov ’21
Reply to XCode 13 - No Help Book
To update my application I'll have to create a separate volume on my hard drive and install earlier versions of macOS and XCode. This page:https://developer.apple.com/download/ says that I can do it. It links to another page, https://support.apple.com/en-us/HT208891, that tells how to create a volume and install the earlier OS but there's no link to a description of where to get XCode 12. Does anyone know how to get this?
Nov ’21
Reply to How to Create a Searchable Help Book with Help Indexer?
There is nothing wrong with my help book. When I have problems like this one I tend to think it's my fault and re-read the documentation. My Help Book is configured correctly. The problem is that XCode 13, or more likely macOS Monterey 12.0.1 will only display the Help Book if the application bundle is in the Applications folder. So problem solved, sort of, you can't display the Help Book while debugging your Mac App in XCode. You have to archive it and export it to the Applications folder to see the Help Book. I can't update my application at the App Store anyway because of the infamous exit(173) bug in macOS Monterey. Also the hiutil (Help Indexer app) does nothing in Monterey anyway so don't bother creating a help Index.
Topic: App & System Services SubTopic: Core OS Tags:
Nov ’21
Reply to Application performance declined in Big Sur and is worse in Monterey
The way you are doing this is VERY complicated and probably in-efficient. Apple recommends that developers migrate away from threads to Grand Central Dispatch. This provides a very robust, efficient system to manage multi-threading. I does the work for you by optimizing the use of the cores in your machine without you having to do things like trying to figure out how many cores are available, in fact they advise you not to do this: https://developer.apple.com/library/archive/documentation/General/Conceptual/ConcurrencyProgrammingGuide/ConcurrencyandApplicationDesign/ConcurrencyandApplicationDesign.html OpenMP probably isn't up to date and or doesn't take advantage of this technology very well. GCD has the advantage of being available on any processor or OS version. You should be able to run each of these processes in its own serial or more likely concurrent dispatch queue and let GCD execute them efficiently. Running each of these with its own copy of the app is probably much slower than it would be to launch each process with GCD due to overhead like context switching. You could write one source code file to launch these and be notified when they are done and it would be much easier for you than doing this with the terminal. You should at least read the Concurrency Programming Guide and see if it would make your life easier and speed up your app.
Topic: App & System Services SubTopic: Core OS Tags:
Nov ’21
Reply to How to Create a Searchable Help Book with Help Indexer?
I got it - putting a file named "PkgInfo" with the text "BNDLhbwr" in my appname.help/Contents folder turns the .help folder into a package. This is interesting but it doesn't fix the no help book bug. The help Book will only be displayed if the app bundle is in the Applications folder. Also as far as I can tell this is an undocumented "feature" of macOS Monterey 12.0.1.
Topic: App & System Services SubTopic: Core OS Tags:
Dec ’21
Reply to XCode 13 - No Help Book
Cleaning and rebuilding the project doesn't help. Restarting XCode or my Computer doesn't help. The project doesn't log any errors but there is one error in the Console: error 18:29:15.933543-0600 HelpViewer volume does not support data protection, stripping SQLITE_OPEN_FILEPROTECTION_* flags An older version of the program shows the Help Book. Is this a new bug in XCode?
Replies
Boosts
Views
Activity
Nov ’21
Reply to XCode 13 - No Help Book
To update my application I'll have to create a separate volume on my hard drive and install earlier versions of macOS and XCode. This page:https://developer.apple.com/download/ says that I can do it. It links to another page, https://support.apple.com/en-us/HT208891, that tells how to create a volume and install the earlier OS but there's no link to a description of where to get XCode 12. Does anyone know how to get this?
Replies
Boosts
Views
Activity
Nov ’21
Reply to XCode not creating _MASReceipt/reciept in App Bundle?
I requested code level support incident from Apple Developer Support TWICE. Each time the request disappears so apparently support requests aren't really being accepted. According to my bug report there are more than ten other similar bug reports. So Apple if this is a known problem why not fix it, or at least acknowledge it?
Replies
Boosts
Views
Activity
Nov ’21
Reply to How to Create a Searchable Help Book with Help Indexer?
There is nothing wrong with my help book. When I have problems like this one I tend to think it's my fault and re-read the documentation. My Help Book is configured correctly. The problem is that XCode 13, or more likely macOS Monterey 12.0.1 will only display the Help Book if the application bundle is in the Applications folder. So problem solved, sort of, you can't display the Help Book while debugging your Mac App in XCode. You have to archive it and export it to the Applications folder to see the Help Book. I can't update my application at the App Store anyway because of the infamous exit(173) bug in macOS Monterey. Also the hiutil (Help Indexer app) does nothing in Monterey anyway so don't bother creating a help Index.
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Nov ’21
Reply to MAS receipt is not downloaded for Sandbox users
Apple broke something and all developers have this same problem. It's probably not XCode. It's probably macOS 12.0.1 Monterey or the App Store. There's nothing you can do until they fix this in an update. File a bug report. I tried to ask for code level support for this TWICE but the request disappears.
Replies
Boosts
Views
Activity
Nov ’21
Reply to Code 173 no longer triggers receipt generation
Apple broke this. All developers have the same problem. It's probably not a bug in XCode, more likely would be macOS 12.0.1 Monterey or the App Store. You won't be able to build your app with receipt validation until they fix this - probably in the next update of Monterey.
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Nov ’21
Reply to The executable does not have the hardened runtime enabled.
Try this: In the target's Build settings, you can set Enable Hardened Runtime to Yes for both the Debug and Release builds. Setting this for the Release build might help.
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Nov ’21
Reply to Application performance declined in Big Sur and is worse in Monterey
The way you are doing this is VERY complicated and probably in-efficient. Apple recommends that developers migrate away from threads to Grand Central Dispatch. This provides a very robust, efficient system to manage multi-threading. I does the work for you by optimizing the use of the cores in your machine without you having to do things like trying to figure out how many cores are available, in fact they advise you not to do this: https://developer.apple.com/library/archive/documentation/General/Conceptual/ConcurrencyProgrammingGuide/ConcurrencyandApplicationDesign/ConcurrencyandApplicationDesign.html OpenMP probably isn't up to date and or doesn't take advantage of this technology very well. GCD has the advantage of being available on any processor or OS version. You should be able to run each of these processes in its own serial or more likely concurrent dispatch queue and let GCD execute them efficiently. Running each of these with its own copy of the app is probably much slower than it would be to launch each process with GCD due to overhead like context switching. You could write one source code file to launch these and be notified when they are done and it would be much easier for you than doing this with the terminal. You should at least read the Concurrency Programming Guide and see if it would make your life easier and speed up your app.
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Nov ’21
Reply to Cannot test debug/development version of Mac app from Xcode
Everybody has this same problem. It's also known as the exit(173) bug. Apple broke something and you can't get a receipt by logging on with your sandbox test user ID. Search the forums for 173.
Replies
Boosts
Views
Activity
Nov ’21
Reply to Sandbox failing, no masreceipt
Apple broke this and everyone is having the same problem. There are many threads about this.
Replies
Boosts
Views
Activity
Nov ’21
Reply to How to Create a Searchable Help Book with Help Indexer?
Is a Pkginfo file just a file with the ".Pkginfo" file extension? Is this documented anywhere?
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Dec ’21
Reply to How to Create a Searchable Help Book with Help Indexer?
I got it - putting a file named "PkgInfo" with the text "BNDLhbwr" in my appname.help/Contents folder turns the .help folder into a package. This is interesting but it doesn't fix the no help book bug. The help Book will only be displayed if the app bundle is in the Applications folder. Also as far as I can tell this is an undocumented "feature" of macOS Monterey 12.0.1.
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Dec ’21
Reply to Set File Icon Error
This is still broken TWO YEARS LATER.
Replies
Boosts
Views
Activity
Dec ’21
Reply to XCode 13 - No Help Book
I upgraded to macOS 12.1. This does not include a new version of App Store and it DOES NOT FIX THE EXIT 173 BUG.
Replies
Boosts
Views
Activity
Dec ’21
Reply to XCode not creating _MASReceipt/reciept in App Bundle?
I upgraded to macOS 12.1. This does not include a new version of App Store and it DOES NOT FIX THE EXIT 173 BUG.
Replies
Boosts
Views
Activity
Dec ’21