Posts

Post marked as solved
7 Replies
4.1k Views
I am seeing kmutil being executed a *lot* on my iMac with Big Sur. Apple's documentation says kmutil is used for loading and unloading kexts (and some other things). Should I be concerned with this much kmutil activity?
Posted Last updated
.
Post not yet marked as solved
1 Replies
875 Views
Apple's RoomPlan demo software page says it is powered by RealityKit, but I am having troubles finding any hooks into the standard RealityKit APIs. For example, RoomPlanView doesn't seem to be related to ARView, and I cannot find any Scene property to access (or add) RealityKit entities. Does anyone know if these RealityKit classes are accessible through RoomPlanView? Note: I did find the ARSession through roomCaptureView?.captureSession.arSession
Posted Last updated
.
Post marked as solved
2 Replies
4.2k Views
I just started a new Xcode project based on the AR template, and I went to set a couple of build settings, but I couldn't find them. Namely:Swift Compiler - Search Paths > Import PathsandSearch Paths > Library Search PathsHave these been renamed or moved? Or am I just missing something very obvious?Thanks.Xcode Version 10.2 (10E125)macOS Version 10.14.4
Posted Last updated
.
Post marked as solved
1 Replies
759 Views
Apple's documentation for ARView says it is available for macOS 10.15+ However, when I try to add an ARView in Storyboard, Xcode shows no ARView available. Is this a bug is Apple's documentation? (PS. What I am trying do do is create a 3D scene, where I programmatically move the camera on the Mac instead of moving the Mac around 😁, using much of the same code I've created for an AR app on iOS)
Posted Last updated
.
Post not yet marked as solved
1 Replies
778 Views
I am loading a USDZ file with the function ModelEntity.loadguard let entity = try? ModelEntity.load(named: usdzFilename) else { return nil }The function *does* return a model, and I can display it. However, I am seeing a large number of error messages sent to the console when loading the file:Coding Error: in _SetMetadataImpl at line 1514 of usd/stage.cpp -- Cannot set metadata. 'specifier' is not registered as valid metadata for spec type SdfSpecTypePseudoRoot.2020-05-21 12:40:37.218637-0700 ExploringWorlds[8324:3951628] [Pipeline] Neither element size > 1 nor attribute count > 1 are supported by 'constant' geometry attribute. Ignoring attribute 'geomNormal'. Element Size '1', Attribute Count: '2393'2020-05-21 12:40:37.220040-0700 ExploringWorlds[8324:3951628] [Pipeline] Neither element size > 1 nor attribute count > 1 are supported by 'constant' geometry attribute. Ignoring attribute 'geomNormal'. Element Size '1', Attribute Count: '2393'...The USDZ file was created from a SceneKit scene that I wrote to file:unifiedScene.write(to: URL(fileURLWithPath: usdzFilename), delegate: nil)The usdARKitChecker command gives the USDZ a "Pass"Any ideas why I am getting these error messages when loading a USDZ file?Thanks.
Posted Last updated
.
Post not yet marked as solved
2 Replies
734 Views
Reviewing the endpoint header files (ESMessage.h), I see an event type for UNIX-domain socket connections (es_event_uipc_connect_t) but no equivalent for a TCP/IP connection.Can we not get TCP/IP related events in an endpoint monitor?From ESMessage.h:/*** Union of all possible events that can appear in an es_message_t*/typedef union { ... es_event_uipc_bind_t uipc_bind; es_event_uipc_connect_t uipc_connect;} es_events_t;/*** @brief Fired when a UNIX-domain socket is about to be connected.** @field file Describes the socket file that the socket is bound to.* @field domain The cmmunications domain of the socket (see socket(2)).* @field type The type of the socket (see socket(2)).* @field protocol The protocol of the socket (see socket(2)).*/typedef struct { es_file_t * _Nullable file; int domain; int type; int protocol; uint8_t reserved[64];} es_event_uipc_connect
Posted Last updated
.
Post marked as solved
2 Replies
1.7k Views
I have an iOS application where I(1) select a model to view in a list view in a navigation controller, and then segue to a view controller with an ARView to display the model(2) I can then go back to the list view controller, select a different model, which then segues back to the view controller with the ARViewThe new view controller with the ARView is loaded each time and deallocated each time I go back to select another model to view (I print("") with init?(), viewDidLoad(), and deinit)I have the showStatistics turned of for the ARView:arView.debugOptions = .showStatisticsI am seeing the Mesh count (Scene Mesh Stats: Meshes: from the debug stats) climb each time I exit the view controller and then reload it with another model (or the same one).After doing this round trip several times (and growing the meshes), the frames per seconds start to dropIt seems as if while the view controller holding the ARView is allocated new and deallocated each round trip, the Meshes from the pprevious models are sticking around in the Metal pipeline or something. (I've never worked with Metal directly, and I am relatively new to ARKit & RealityKit).Is that what is happening? If so, is there a command to flush the old meshes when I first load my view controller?Thanks.
Posted Last updated
.
Post not yet marked as solved
3 Replies
704 Views
I wrote some endpoint code in November-December, and it was running fine since Dec 29.This week I decided to make one little tweak, and launchd stopped launching the service (with a status of -9) when my GUI app tried to connect to it.After a lot of trial & error, I discovered I have to manually code sign the endpoint binary now. I am almost certain I wasn't manually code signing in December.Is this a recent feature with a Catalina update sometime in this past month?Thanks,
Posted Last updated
.
Post not yet marked as solved
2 Replies
625 Views
Anyone have an idea how long it takes for Apple to evaluate an EndpointSecurity framework capability request?I submitted mine a week ago, and I don't know at what point I should start to get nervous.Thanks,
Posted Last updated
.
Post marked as solved
5 Replies
913 Views
I'm guessing the endpoint application's propert list file should be installed in/Library/LaunchDaemonsWhat about the actual endpoint program? I was leaning towards/usr/libexecbut I haven't been able to find any guidance online for 3rd party daemon locations on the Mac.
Posted Last updated
.
Post not yet marked as solved
0 Replies
701 Views
Hi all,Just a little FYI in case anyone runs into this problem - namely Xcode 11 was not updating despite the Mac App Store showing an update available.For several days I would click "Update", and the progress wheel would start to spin but never progressed to actually downloading anything.On a hunch this morning I re-enabled SIP (I had turned it off to for my endpoint development work), unloaded my daemons, and the Xcode update downloaded and installed just fine.This is a single data point, so it may just be coincidence, but if you've disabled SIP and find Xcode won't update, give this a try.
Posted Last updated
.
Post marked as solved
3 Replies
2k Views
The App Store app is showing an update for Xcode 11.3.1, but clicking "Update" or "Update All" just causes the update icon to spin but nothing is ever downloaded.Has anyone else had this issue? Is there a work around?Thanks.
Posted Last updated
.
Post marked as solved
2 Replies
624 Views
Back in November there was the discussion (see link below) saying (I hope I get this right)(1) Mac EndpointSecurity system extensions *cannot* be distributed through the Mac App Store(2) Mac NetworkExtension system extensions *must* be distributed through the Mac App Storebut that there was internal Apple discussion about changing this policy.(A) Has there been any policy changes?(B) Has anyone pushed a Mac app with NetworkExtensions in an enterprise, and if so, how was the enablement of the NetworkExtension handled on each Mac?Earlier thread:https://forums.developer.apple.com/thread/125508Thanks,
Posted Last updated
.
Post not yet marked as solved
1 Replies
764 Views
Does anyone know if it is possible to identify the Process ID associated with a packet in the NEFilterPacketHandler closure for macOS?I've been looking around for what I might be able to squeeze out of the NEFilterPacketContext, but I haven't found anything yet.Thanks.
Posted Last updated
.
Post not yet marked as solved
1 Replies
567 Views
Watching the system calls via Apple's new endoint API, I see a common pattern of"launchd" executes "xpc" which executes "some app" (e.g., com.apple.WebKit.Networking)Is there a way to determine which application requested this new program (e.g., com.apple.WebKit.Networking) to launch? That is, what started this chain of executions?Thanks
Posted Last updated
.