Post

Replies

Boosts

Views

Activity

Reply to CoreMedia Camera Extension fails to activate
Quinn, thank you for the hint. I was filtering the Console output on my app name, the culprit was fingered by sysextd a few lines further up when I turned off that filter - I didn't prefix my Mach service name with the name of the app group in my entitlement. For future reference, the error 9 is listed in SystemExtension/SystemExtensions.h, and the term to search the SDK for is "OSSystemExtensionErrorDomain"
Topic: App & System Services SubTopic: Core OS Tags:
May ’22
Reply to What is the next step in coding?
I think the next step beyond "learning coding" is learning to apply that knowledge to a particular domain. Code does something, usually something useful to yourself or other people. What useful thing would you like to make possible? What would you like to learn, and how does being able to code help you with that goal?
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Apr ’22
Reply to Swift Playgrounds: Learn to Code 1: Roll Right Roll Left Infinitely Walking Around
I entered your code and ran it. Byte doesn't stop walking because Byte isn't done. There's a little scoreboard at the top left of the scene - it shows Bytes has collected 1/1 gems and tripped 0/1 switches. Try to split your code into functions which do only one thing, and are well named. For instance, rename 'checker' to 'checkSwitch' and have it only change the switch state if necessary, rather than sometimes changes switch state, and sometimes move forward. In this exercise, the path is predictable (you can see it), so your steps can be a list of instructions, with no branches and no conditionals.
Apr ’22
Reply to Determine Core Audio Parameter Type
from AudioToolbox/AudioUnitParameters.h, CF_ENUM(AudioUnitParameterID) { // Global, LinearGain, 0->1, 1 kHALOutputParam_Volume = 14  }; AudioUnitSetParameter is declared in AudioToolbox/AUComponent.h, here you will also find: typedef Float32 AudioUnitParameterValue;
Topic: Media Technologies SubTopic: Audio Tags:
Mar ’22
Reply to Endpoint Security Sample Code will not run extenstion
is it intentional that the bundle ID has the Team ID appended, while launchctl list is asked to look for something with the Team ID prepended?
Topic: Privacy & Security SubTopic: General Tags:
Replies
Boosts
Views
Activity
May ’22
Reply to CoreMedia Camera Extension fails to activate
Quinn, thank you for the hint. I was filtering the Console output on my app name, the culprit was fingered by sysextd a few lines further up when I turned off that filter - I didn't prefix my Mach service name with the name of the app group in my entitlement. For future reference, the error 9 is listed in SystemExtension/SystemExtensions.h, and the term to search the SDK for is "OSSystemExtensionErrorDomain"
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
May ’22
Reply to Any tutorials for macOS Swift Game Development?
Paul Hudson's Swift on Sundays series on YouTube has this - https://www.youtube.com/watch?v=TJfh8wXbfEw A functioning game in an hour and a bit, and 160 lines of code.
Topic: Graphics & Games SubTopic: SpriteKit Tags:
Replies
Boosts
Views
Activity
Apr ’22
Reply to Developer ID builds seems to be stick for notarization
2 days ago there was an outage of the notarization service, and a performance problem which persisted a few hours beyond the outage. You can visit https://developer.apple.com/system-status/ if things are taking a suspiciously long time, that's how I know.
Replies
Boosts
Views
Activity
Apr ’22
Reply to What is the next step in coding?
I think the next step beyond "learning coding" is learning to apply that knowledge to a particular domain. Code does something, usually something useful to yourself or other people. What useful thing would you like to make possible? What would you like to learn, and how does being able to code help you with that goal?
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Apr ’22
Reply to memory leak of API IOCreatePlugInInterfaceForService in IOKit
are you sure you're leaking memory created by the call to IOCreatePlugInInterface? It creates an interface, as its name suggests, returned in pHandle. Are you releasing that interface when you're done with it?
Topic: App & System Services SubTopic: Drivers Tags:
Replies
Boosts
Views
Activity
Apr ’22
Reply to Can't Access Camera on Xcode Playgrounds
what do you mean by "does not work"? your code doesn't compile, primarily because UIKit is not available on macOS (AppKit is, so your UIViews should be NSViews). Even so, in setupCamera you refer to a variable called 'view' which is not declared.
Replies
Boosts
Views
Activity
Apr ’22
Reply to macOS Monterey, internet sharing doesn't show wifi option only Thunderbolt Bridge is available
You're better off asking such non-developer questions on a customer support forum. Are you trying to share a WiFi connection over WiFi? You can't do that.
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
Apr ’22
Reply to Swift Playgrounds: Learn to Code 1: Roll Right Roll Left Infinitely Walking Around
I entered your code and ran it. Byte doesn't stop walking because Byte isn't done. There's a little scoreboard at the top left of the scene - it shows Bytes has collected 1/1 gems and tripped 0/1 switches. Try to split your code into functions which do only one thing, and are well named. For instance, rename 'checker' to 'checkSwitch' and have it only change the switch state if necessary, rather than sometimes changes switch state, and sometimes move forward. In this exercise, the path is predictable (you can see it), so your steps can be a list of instructions, with no branches and no conditionals.
Replies
Boosts
Views
Activity
Apr ’22
Reply to User selection of wireless access point to establish TCP communication with Dongle.
I think you should start by reading this post https://developer.apple.com/forums/thread/39204
Replies
Boosts
Views
Activity
Mar ’22
Reply to Determine Core Audio Parameter Type
from AudioToolbox/AudioUnitParameters.h, CF_ENUM(AudioUnitParameterID) { // Global, LinearGain, 0->1, 1 kHALOutputParam_Volume = 14  }; AudioUnitSetParameter is declared in AudioToolbox/AUComponent.h, here you will also find: typedef Float32 AudioUnitParameterValue;
Topic: Media Technologies SubTopic: Audio Tags:
Replies
Boosts
Views
Activity
Mar ’22
Reply to XCode doesn't show local variables in debug
there's a little popup in the bottom left of the panel with the variables in it (it is not visible in your screenshot). Try setting it to "all" instead of "auto" or "local".
Replies
Boosts
Views
Activity
Mar ’22
Reply to How to manage python on mac
I suggest you start here: https://opensource.com/article/19/5/python-3-default-mac#what-to-do the basic advice is "install pyenv", then use pyenv-virtualenv.
Replies
Boosts
Views
Activity
Mar ’22
Reply to How to get greyscale video image from camera?
Your description isn't quite clear, but it sounds like you are getting some portion of the complete frame. Try this - in setupCamera, use your own serial queue, rather than the main queue. There's an example here: https://developer.apple.com/documentation/vision/tracking_the_user_s_face_in_real_time/ hth, Stuart
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Feb ’22
Reply to IVANKY display dock
You're likely to have more luck with Ivanky support, or Apple tech support. This forum is for questions about development of software for Apple devices.
Topic: App & System Services SubTopic: Hardware Tags:
Replies
Boosts
Views
Activity
Jan ’22