I am trying to locate documentation on USB driver development for macOS 10.12
Everything I can find online seems to be dated 2013 / OS-X 10.9 or earlier
(e.g. https://developer.apple.com/hardwaredrivers/)
Is this because the USB drivers in OS-X haven't significantly changed since 10.9?
The documentation I can find is pointing me at USB Prober and IOUSBFamily both of which don't appear to be supported in 10.12.
Am I missing something?
Thanks
Apple's USB stack was at one time Open Source, but it was closed when they re-architected it.
The API is now dramatically different but IMHO it's better than the old API.
I found your question while searching for USB Prober myself. It's still available at https://developer.apple.com/downloads but it's packaged inside a collection of tools whose name I just now do not recall.
I'll edit this post once I locate it.
Related
I actually built a Hackintosh to learn programming with Xcode. It runs on my Asus X555LA laptop. I downloaded the latest Xcode 9 GM build from the Apple Site (not from App store). After extracting, when I tried to install, it shows "You can't use this version of the application "Xcode" with this version of macOS; You have macOS 10.12. The application requires macOS 10.12.6 or later".
Is there any tweak to make it run on my Sierra 10.12 itself? I can't really think about upgrading the macOS version as it's a Hackintosh. I followed this guide to install macOS on my Asus laptop.
Xcode requires latest macOS, you have no choice, you need to upgrade the macOS version on your Hackintosh. Or better: Reinstall macOS in a recommended way on your PC, if you're doing Hackintosh... :)
The guide you linked is very poor... Never use premade install images, because these have been modified in an uncertain way, and you don't want to install a premade undocumented mess to your computer. It might be packed with threats, malwares, spy tools and so on.. It's the worst thing I can imagine in security aspect to install an OS image from uncertain source.
Also, there is no universal macOS installer for PCs - even though many are trying to find a way to create it: it's a bad idea and it will never succeed because there are so many PC parts, millions of differently built computers..
The only way to create a stable fully functional Hackintosh is to know your hardware and create an installer flash drive for that specific PC. First you have to download the latest macOS Sierra from AppStore, this is the only source that you can trust, because it's downloading from Apple's servers. Then install a small program, called Clover bootloader to the flash drive to make it bootable.
This is the only full and up to date guide for PC laptops. If you have questions, register to the linked site and start a new forum thread posting your questions. They will help you but please read this guide at least 3-4 times carefully because everything is described here.
The software I'm working on uses the Java interface of Bonjour on Mac to discover available machines in the local network. Recently, I found that the software had a problem in Bonjour's Java interface on several Mac machines. But other Mac systems didn't have any problem. I noticed one difference between the failing machines and the other ones - they didn't have /usr/lib/java/libjdns_sd.jnilib. After searching on the web, I found this page of Bonjour: https://developer.apple.com/bonjour/. But I couldn't find out where to download libjdns_sd.jnilib. Neither could I build it easily from the source code without debugging it.
I'm trying to figure out if the Java library of Bonjour is missing on some Mac machines because Apple stopped supporting it or some other reasons. So here are my questions: Does Apple still support the Java interface of Bonjour? How can some Macs have /usr/lib/java/libjdns_sd.jnilib while others don't? Where can I download libjdns_sd.jnilib directly?
(The failing machines run Mac OS 10.9, 10.10, or 10.11. They have Java 1.7 or 1.8 installed.)
We are developing a hardware device that implements BTLE profiles and already works fine with iOS.
Now, we are implementing HID over Gatt profile so that it can communicate with OS X. The final purpose is changing PowerPoint slides and that such of things.
My iMAC does not detect the device using Bluetooth assistant, but I can connect to it with LightBlue app, although I get no keyboard effect. That makes me think I would need drivers/code, even develop an app.
I would appreciate any point to start with.
I answer myself in case it could be useful for anybody. I've updated my iMAC to Mavericks 10.9.4 and the first quick test has worked properly. I previously had Mountain Lion and it did not work as I posted before.
#Paulw11, thanks for the link. I watched the video and if I'm not wrong, there is a statement that HID over Gatt profile (HOGP) is available from iOS7 and OSX Mavericks.
I can't find information on what are the system requirements for Mac for the mobile add-on for Delphi XE4 (Professional).
My understanding is that XCode is still required to sign the app binary and to deploy it on a test device and/or App Store.
Our Mac is so old that the minimum requirement of OSX for the latest XCode won't even install.
I'd like to know if we need to have the Mac upgraded to accomodate this.
Ok - found the answer: https://www.embarcadero.com/products/rad-studio/rad-studio-data-sheet.pdf second page:
PC running Windows connected with an Intel-based Mac, with 2 GB RAM
or more, running OS X
10.8 (Mountain Lion) or 10.7 (Lion) over a local area network using a SSH, VNC or Windows file sharing solution
Apologies & much appreciated if you've attempted to help me:
XCode will still be required, so of course your Mac system will have to be updated to be able to support it.
The documentation for XE3 will give you the minimums requirements for that version, and you should require XE4 to at least require those minimum requirements. As it doesn't seem your existing system meets those, you can probably be sure it won't support the requirements for XE4.
You can also contact Embarcadero Sales with pre-sales question, with the email address you'd expect (Sales at the companyname.com).
We're getting into iOS development with MonoTouch. All of our machines are Mac Pros with Windows 7 installed via BootCamp. I'm not crazy about rebooting into OS X just to access the MonoTouch IDE. I'm wondering if it's legal and possible to install OS X on a VM within Windows (if I'm already on Apple hardware, it should be ok, right?). Any other issues with Apple's SDK in a VM (I heard they do some hardware checking of some sort). Thanks in advance for any suggestions!
You can't really run OSX on a VM under windows without going the hacking route. The only way to properly virtualize OSX is to run OSX Server under OSX itself, which is not what you want.
The best option for you is to do what I do: run OSX on your Mac, then use something like VMWare or Parallels to run the Windows you have on your BootCamp as a VM. Works beautifully.
Yup, Eduardo is right, running OSX under non-apple hardware is considered illegal according to apple's license. Moreover, you may run into some issues when creating your developer's account or sumbitting apps.
However, if you still want go the hack way, you can refer to osx86project or just search google for "how to create a hackintosh".