问题
In Xcode 6 Beta 5 and previous betas, I could open a HomeKit Accessory Simulator by right-clicking on the icon in the dock and choosing Open Developer Tool > HomeKit Accessory Simulator. In Xcode 6 beta 6, this seems to be no longer the case:
How can I launch the accessory simulator now?
回答1:
if you read release notes
HomeKit Accessory Simulator
• HomeKit Accessory Simulator is now included in a separate product called Hardware IO Tools for Xcode, available on developer.apple.com/downloads. (17738621)
回答2:
The easiest way is in Xcode go to Xcode->Open Developer Tools->More Developer tools. It will redirect you to Apple developer portal. Choose to download Hardware IO Tools for Xcode The HK simulator is one of the installed application
回答3:
Copy HomeKit Accessory Simulator.app to your Xcode.app/Contents/Applications/ directory and it will appear in the Xcode Open Developer Tool menu
回答4:
Recently (in 2016) Apple has moved the HomeKit Accessory Simulator to Additional Tools for XCode Package: https://developer.apple.com/download/more/?=additional%20tools
回答5:
It looks like it was moved to the "Hardware IO Tools for Xcode" package, available from this page:
Hardware IO Tools for Xcode - Late August 2014
This package includes additional hardware i/o tools formerly bundled in the Xcode installer. These tools include: Apple Bluetooth Guidelines Validation, Bluetooth Explorer, HomeKit Accessory Simulator, IO Registry Explorer, Network Link Conditioner.prefpane, PacketLogger and Printer Simulator. These graphics tools support running on OS X 10.10 and OS X 10.9.
(emphasis mine)
It comes as an app after you open the .dmg:
Looks like you just move it to /Applications, and it works fine.
来源:https://stackoverflow.com/questions/25416727/where-did-the-homekit-accessory-simulator-go-in-xcode-6-beta-6