Xcode 13, Monterey, Help Book doesn't work anymore - macos

in my application on macOS, objective-c, i have a help book bundle. It worked in former macOS but not anymore in macOS Monterey. I just get a blank help book window on opening "help" in the menu.
Any advice?
Edit: After revealing this post in the apple dev forum -> https://developer.apple.com/forums/thread/693559?answerId=699012022#699012022
i discovered it works once the application is in the application folder - so for testing the help book just move the app from the derived data folder to the application folder. It seems to be a sandbox issue.

It seems to be a sandbox issue. Moving the application from derived data to the application folder makes the help book appear as normal.
Also tested with archived application on M1 MacBook Pro, Monterey.
The bug is reported to Apple so let's see if they loosen the reins for developers / debug mode to avoid this workaround.

Related

Packages PKG Mac Installation builder Presentation Tab Doesn't Load

I am using the Packages software to build my application into a pkg file for installation on other Macs. I've used it before on my old MacBook and it worked great. I am trying it on my new Mac and I cannot view the Presentation Tab. Whenever I click the Presentation Tab under Project, the screen stays the same as the prior tab I was on. So I can't configure the Presentation. Has anyone else had this problem? I've reinstalled Packages and still no change. I'm not sure if my configurations are wrong or what's going on. I'm running Ventura 13.0.1 on my MacBook.
I'm including a screenshot that shows the Presentation Tab is active, but the Settings tab is still visible (that's the tab I switched from).
I'd love some help, I really want to configure the presentation. Thanks.
I had the same problem and got in touch with the Packages dev team. They provided this link to dev build, which fixes this issue now. I suppose in the next release it is going to be fixed.
http://s.sudre.free.fr/files/Packages_1211_dev.dmg

Open file in default application in iOS app running on Apple Silicon M1 Mac

I am working currently on adapting our Email application written on Xamarin iOS to run correctly on Apple Silicon M1. I have faced the following problem that I can't solve so far. The problem is that our code written for iOS that uses UIDocumentInteractionController on Apple Silicon opens "Share to" menu, also if I try to change this to Launcher.OpenAsync() call from Xamarin.Essentials it also opens "Share to" menu instead of opening the file with default application. I tried to use Launcher.OpenAsync() from Xamarin.Mac application and run it directly on Apple Silicon from VS Mac and it works as expected this way - opens file with default application. However when running from iOS application installed on Apple Silicon it always opens "share to" menu. It is a big problem for us as we need to allow user to open attachments files from our email editor. Any ideas what I can try to do to solve the problem?
So in the end I replaced our UIDocumentInteractionController with Quick Look Preview Controller which works as expected both on iPhone and iOS application running on M1.

Apple News Preview - Simulator stopped working

I am currently testing the Apple News JSON format using XCode / News Preview / Simulator and randomly running into a new error that was not occurring prior to today.
I am attempting to load the article.json file into the News Preview app (it's been working up until today). The article.json file gets successfully loaded with no errors in the console but the Simulator is claiming that the channel is not available for me. Here is what the error message on the Simulator reads:
Channel Unavailable
This channel isn't currently available in your region.
The News Preview and Simulator were working just fine until today. I have tried re-installing XCode and News Preview (and Simulator because I re-installed XCode) but the problem persists. Other colleagues of mine are now experiencing the same problem.
I tried also clearing all the content in the Simulator and tried wiping the device clean and also tried going to the "Debug" menu in Simulator and setting the Location specifically there, as well, without any success.
Is there a way to fix this or is there a way to know if there was a recent developer push to the Simulator code base?
Just to add a bit more detail, I am attempting to load the official Apple News article preview files, not my own article.json files (I tried loading my own json files, as well).
Any help is appreciated.
Hey I also just had this issue and have been troubleshooting since yesterday. Not sure what is causing it, but it only happens for my on devices simulators from iPhone 7 and newer.
Try running the preview on iPhone 6 or an older-gen iPad, etc... that's working for me.
The solution on only one of my machines was to enter the Publisher ID into the News Preview application, which is the first thing that is asked when launching the News Preview app. After entering the Publisher ID, everything seemed to return to normal - for all of my colleagues and I.
See my comment above about my new macbook and the new problem it is having.

Missing Cocoa Application Template in Xcode 5

The 'Cocoa Application' template is missing from Xcode 5. Has anyone else encountered this?
The only options are SpriteKit Game, Cocoa-AppleScript Application, and Command Line Tool. I tried to post a screenshot, but I don't have the reputation.
According to Apple's documentation it should be an option:
I've googled, but to no avail. I tried reinstalling Xcode but it's still missing. I'm on Mavericks and using Xcode 5.1.1. Any ideas?
After trying various things including reinstalling xCode, and repairing permissions I created another user account and it did indeed have the cocoa app template in xCode. In the end I reinstalled OS X and xCode and all the templates are there. I'm not sure what the issue with the original user account was but it's all working now. Apologies for not being able to provide a more insightful answer.

Adobe AIR application GUI not working on Mac OS

We have an Adobe AIR app, which was created by a 3rd party contractor, that we have been using successfully on Windows. The application runs full screen automatically and, for the most part, primarily is chrome for displaying some web pages.
On windows, it works perfectly. Only now, 9 months after development, has someone asked to try to run it on a Mac. We figured it would work since AIR is cross platform. It installs just fine (latest AIR SDK on OSX Lion). When we run the app, it launches but only shows the name of the app next to the Apple symbol in the upper left. No window or other chrome appears on the screen. I can Quit the app from the menu, but not much else.
Any thoughts as to why it's behaving this way on the Mac and not Windows? We do not have access to the original developer, and I am not a Flash/Flex person, but I do have the source and a copy of Flash Builder 4, so I could make basic tweaks. Any pointers would be very appreciated.
Have you tried to call maximize() after creation complete? I had the same problem (main window not showing up on Mac OS, everything is fine on Windows). Hope this helps.

Resources