I am trying to pair my apple TV (4th Gen) running tvOS 11.1 with Xcode 9. After entering the pairing code, Xcode tries to setup the Apple TV for wireless debugging and enabling development mode, but fails with the error
"An error was encountered while attempting to communicate with this device. (End of file.)" See below image
Note that I was able to pair with my apple TV successfully and run an app on it couple of weeks ago using Xcode 9 wireless debugging feature. Wireless debugging works fine for iphone and iPad. Now, I seem to be having problem with my Apple TV.
UPDATE: Now I have tried even resetting my AppleTV, still same issue.
Xcode 9 Devices and Simulators Window
I have tried restarting my apple TV and tried reconnecting it with Xcode multiple times, but I get the same error always.
Do I need to reset my apple TV or is there any other work around available to fix this issue ?
As it turned out, I had to use Xcode beta version, as I was installing app on the beta tvOS version. I didn't notice that Apple TV was updated to tvOS 11.1 which is in beta at the moment.
Solution: Using Xcode 9.1 (beta) to install the app on Apple TV 4 worked perfectly.
Related
This is on watchOS 4.3 beta (15T5165e) and Xcode 9.3 beta (9Q98q), but I don't think it's because of them being in beta because another WatchKit project ran on device just fine. I have tried unpairing/repairing, restarting the iPhone/Watch/macOS/Xcode (while making sure to to tap "trust this computer" on the watch) but Xcode still says "Running" in the WatchKit scheme without actually installing and running the watchOS app, eventually saying "Watch app launch timed out."
Disable WiFi on the iPhone. This helped me.
I came to this after following #Appyx advice to activate a hotspot on iPhone. Then I noticed, that in hotspot mode WiFi is automatically disabled and tried this.
I've successfully compiled the Swift sample code onto my iPhone 6S, however, the status continues to remain in Trying to connect. I'm able to connect with the DJI app itself so it must be something to do with the code or some configuration. Any tips? Also, is there any way to connect to the Phantom with the iOS simulator or is it necessary to compile onto the device to be able to connect to the remote?
OSX: El Capitan 10.11.6
iPhone 6S with iOS 11.0.2
XCode 8.2
You should read the bridge app tutorial
http://developer.dji.com/mobile-sdk/documentation/ios-tutorials/BridgeAppDemo.html
so that you can run your app from the iOS simulator.
As to connecting with iOS 11.0.2 - if you open your app, then un-plug and reconnect the USB cable with your app in focus, how does it go? Some issues are being seen with multi-tasking apps into the DJI remote controllers, and it's an issue that is being worked on.
Hope that helps!
You might have to plug the lightning cable into the phone after the application has already launched, then your Phantom 4 will appear.
I had an iPod touch 5th gen device running on iOS 7.2, and i upgraded it to iOS 8.3. But the "Apple Watch" app which should come by default as i see in iOS 8.2 simulator, is not available in my device.
So, my question is, will my device support apple iWatch synchronisation ?.
Apple have clearly told us that the iWatch will only work with iPhones. There is no reason to think that any iPod can support it. The press release told us
"Apple Watch is compatible with iPhone 5, iPhone 5c, iPhone 5s, iPhone 6 or iPhone 6 Plus running the latest version of iOS 8." (http://www.apple.com/pr/library/2014/09/09Apple-Unveils-Apple-Watch-Apples-Most-Personal-Device-Ever.html)
Short answer YES
Except old devices that wont support iOS 8.*
If there won't be official app for the sync like the one you showed, there will be community made one, be sure!
I'm using Xcode 6 GM Seed (build 6A313) with iPhone 5s (Model A1530, iOS 8 build 12A365). I connect the iPhone via USB lightning cable. But in Xcode, it shows as: "iPhone 5s (unavailable)".
Further investigation: I open Xcode menu > Window > Devices, it shows the following error:
An error was encountered while enabling development on this device.
Please try rebooting and reconnecting the device. (0xE8000070)
I reboot and reconnect my iPhone 5s, the same error is shown. This device was used for development in previous Xcode 5, and shows no problem at all.
What should I do? I want to try my apps in iOS 8 device.
If you are using Xcode-beta 7.1 and want to run app on iOS 9.0 like me you will also get the same error. The solution is:
Use corresponding iOS 9.1-beta.
Use Xcode 7.0
Run on simulator.
The problem is resolved after I updated iTunes to version 11.4 via Software Updates.
The Xcode error message is misleading.
In my case, during 2 years developing, my phone has several test app with name (null). you can only see a default Xcode app icon in app list in Setting. I had tried updating Xcode, but not work. finally I delete these null name apps, then Xcode - device can connect it without warning sign. Run test app won't get the error in question. only my case. share it in case you encounter in future.
I was able to run my projects in iPad and iPhone using the xcode 4.3 till yesterday. But today when I tried, the XCode is not getting connected with the iPad, and it is getting connected with iPhone.
I have checked the deployment target, provisioning profile, all these things are correct, and working fine in iPhone. In the organizer an orange indicator is showing instead of green symbol while connecting. I have restarted both the system and iPad several times and checked, not get solved.
If anybody having idea about this then please help me.
Just upgrade you Xcode or if you have another computer which contains xcode 4.5, detect your device on that computer this will also detect your device on computer with xcode 4.3.
I also had same problem and this works for me.