Posts

Post not yet marked as solved
1 Replies
1.1k Views
Hello, I have created a new macOS project. I dragged a NSToolbar onto my NSWindow and then I added a custom NSToolbarItem. I then added an outlet for the item and connected my IBAction to the button (so the button is no longer disabled). I have selected a symbol image for the custom item. When I start my app, the default Fonts and Colour items use the new hover effect (where the background is being coloured differently). However, my custom item does not have this effect. The colour of the image is adjusted instead. I know that I can achieve this effect by using a NSButton instead but I was wondering if I can achieve this effect with a NSToolbarItem.
Posted
by inexcitus.
Last updated
.
Post not yet marked as solved
1 Replies
586 Views
Hello, I have a couple of apps that are available on the Mac App Store. With the latest update I increased the minimum required version to 11.0. However, I have been getting a lot of negative feedback because on Catalina the App Store will show that an update is available. However, once the user updates the app, it will no longer run (in some cases the user can not update, but then the App Store will always show an update badge which can also ne frustrating). Is this a known bug? is there anything I can do? Regards, Sascha
Posted
by inexcitus.
Last updated
.
Post not yet marked as solved
0 Replies
585 Views
Using the TimelineProvider I am only able to update my UI every five minutes. Is it possible to update my app more frequently (like every five seconds)? Although I set the next update to five seconds, it seems like the minimum is five minutes. Is there any possibility to detect when the app becomes active (i.e. is not in the background)? Does the new lifecycle offer such possibilities? My plan is to start a timer once the app becomes active (and disable the timer once the widget is no longer visible).
Posted
by inexcitus.
Last updated
.
Post not yet marked as solved
0 Replies
559 Views
I am trying to adopt the new MacOS Big Sur sidebar style in one of my apps. Previously I chose a source list and added the items to it which worked fine. I have selected the new template Window Controller with Sidebar in Xcode. When I run the project without adding any items or controls, it looks fine. However, if I add the Source List, the background of the side bar has some weird effect. It seems like the Column of the Source List messes up the background. How can I add items to a sidebar on MacOS Big Sur? I am running Xcode 12 beta 3 and the latest beta 3 of MacOS Big Sur - 11.0 Beta (20A5323l). Unfortunately I can not post a screenshot.
Posted
by inexcitus.
Last updated
.
Post not yet marked as solved
5 Replies
11k Views
I am developing an app that uses GPS. In the simulator I always used the location simulation feature of Xcode which always worked for me. I selected the Debug - Location - Freeway Drive option in Xcode 10. Whenever I select some preset to simulate, Xcode shows the following error:[Client] #Spi, InterruptedGPS is enabled on the simulated device and the app has permission to access the GPS. I already tried to restart the simulator multiple times, selected another device, but no device works. Does anyone have a solution to this?Regards
Posted
by inexcitus.
Last updated
.
Post not yet marked as solved
1 Replies
4k Views
I just installed the macOS Catalina 10.15 GM. Unfortunately none of my app frameworks compile. The system header files were not found. On macOS Mojave there was a workaround, but it no longer works, the file won't be dowloaded (the workaround is explained here)When typing xcrun --show-sdk-path, /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk is printed on the Terminal. This folder also contains all the required headers. How can I tell Xcode to use those files?This is how my module.modulemap looks like:module PrivateNetwork [system] { header "/usr/include/sys/socketvar.h" header "/usr/include/net/if_dl.h" header "/usr/include/net/if_types.h" header "/usr/include/net/if.h" header "/usr/include/netinet/in.h" header "/usr/include/netinet/tcp.h" header "/usr/include/netinet/tcp_var.h" header "/usr/include/netinet/tcpip.h" header "/usr/include/netinet/tcp_fsm.h" header "/usr/include/netinet/ip.h" header "/usr/include/netinet/ip6.h" export * }Error: Header '/usr/include/sys/socketvar.h' not found
Posted
by inexcitus.
Last updated
.