Post

Replies

Boosts

Views

Activity

importing HID Driver Kit Framework
Hi everyone, I am fairly new to Apple development. I have been working on a project where I need Mac to interface with an HID device (custom device). I have successfully communicated with the device using IOKit, Core Foundation and Driver Kit frameworks by simply importing these frameworks in the project and making use of their APIs. However, my client is now asking that I develop the communication explicitly using HID Driver Kit. Bear in mind that I have not purchased the apple developer certificate nor do I have any provisional signing certificates and without any of these, Xcode was allowing me to use frameworks like IOKit, DriverKit etc. Now, when I tried importing HIDDriverKit into the project, I am not able to find this framework in the "Frameworks and Libraries" tab. How do I import this framework into my project? Do I have to purchase apple developer ID or get the provisional signing certificates or any other formalities are required? Please let me know what can be done. Any pointers or suggestions are welcome. Best, Vishnu
3
0
1k
Jul ’23
Unable to read user file after Mac OS and Xcode update
Hi, I was able to read a user file and open it using fopen() in my Xcode project while App Sandboxing was ON. Recently I updated my Mac OS and along with it Xcode to the latest. Although I am able to open the file using file_importer on swift, I am not able to open it using fopen(). It always returns a NULL, however I am able to open it when Sandboxing is switched Off. What could be the issue? All my entitlements are the same, only thing that changed was the update that I had made. Best, Vishnu
1
0
616
Oct ’23
importing HID Driver Kit Framework
Hi everyone, I am fairly new to Apple development. I have been working on a project where I need Mac to interface with an HID device (custom device). I have successfully communicated with the device using IOKit, Core Foundation and Driver Kit frameworks by simply importing these frameworks in the project and making use of their APIs. However, my client is now asking that I develop the communication explicitly using HID Driver Kit. Bear in mind that I have not purchased the apple developer certificate nor do I have any provisional signing certificates and without any of these, Xcode was allowing me to use frameworks like IOKit, DriverKit etc. Now, when I tried importing HIDDriverKit into the project, I am not able to find this framework in the "Frameworks and Libraries" tab. How do I import this framework into my project? Do I have to purchase apple developer ID or get the provisional signing certificates or any other formalities are required? Please let me know what can be done. Any pointers or suggestions are welcome. Best, Vishnu
Replies
3
Boosts
0
Views
1k
Activity
Jul ’23
File not opening in MacOS Sandbox after recent update
I recently update my MacOS from to version 14 and Xcode to version 15. After making the update I am not able to read the user selected file using fopen(). It was working before the update with the sandbox ON and the necessary entitlements made. What could be the issue? Best, Vishnu
Replies
0
Boosts
0
Views
305
Activity
Oct ’23
Unable to read user file after Mac OS and Xcode update
Hi, I was able to read a user file and open it using fopen() in my Xcode project while App Sandboxing was ON. Recently I updated my Mac OS and along with it Xcode to the latest. Although I am able to open the file using file_importer on swift, I am not able to open it using fopen(). It always returns a NULL, however I am able to open it when Sandboxing is switched Off. What could be the issue? All my entitlements are the same, only thing that changed was the update that I had made. Best, Vishnu
Replies
1
Boosts
0
Views
616
Activity
Oct ’23
Changing the size of a window on button click
Hi, I have created a window with frame parameters height and width as 300x300 respectively. I would like to expand the window to 300x600 or something similar upon the click of button. I have setup the button, but I am not able to change the window size dynamically. Any pointers? Best, Vishnu
Replies
2
Boosts
0
Views
959
Activity
Oct ’23