Debugging an iOS app with an external accessory connected via Dock

前端 未结 4 895
北海茫月
北海茫月 2021-02-01 03:14

Am I missing something glaringly obvious or is there no way to debug an iOS app which uses an external accessory that\'s connected via the 30-pin dock without using a bucket loa

4条回答
  •  栀梦
    栀梦 (楼主)
    2021-02-01 04:03

    You could connect the external accessory to another iOS device (not the one tethered to the Mac running the Xcode debugger). Then tunnel all your EA framework messages from the accessory connected device to the device running the app being debugged over a pair of wifi sockets. Look at the code for tunneling accelerometer messages from a device to the iOS Simulator (a common trick for debugging game code on the Simulator) for one example of how this could be done.

提交回复
热议问题