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.
Related
With the last version of Xcode (12.0), I do not succeed to run my App on my device without usb cable.
When connected, the app is installed and works well, but when I remove the cable the App closes and I cannot reopen it...
Then, I have an alert on Xcode saying "Lost connection to the debugger..."
I tried to modify the Runner configuration settings with Releaser and Debug, but same results.
For info: I am using Flutter sdk.
Please help..
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.
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 have been running an app on my ipod that I've been developing for a while now and all of a sudden it won't run. I haven't changed xcode or macos; I've deleted the derived data folder; I've restarted the device, computer and xcode and cleaned.
The error I'm getting is: "could not start debugserver on MyDevice when trying to launch My.app"
My provisioning profile and device are green. I can't understand what I could possibly have changed.
Any ideas?
Thanks.
Restart Xcode and the device and you should be fine.
just CMD+shift+K, clean you project. when it's done, it should be work. at least for me.
Try deleting the installed application from your phone. That worked for me as none of the above methods did.
I had this issue while I was testing iOS beta. I updated iOS version on device and I had to restart xcode and then reconnect to
Restart xcode.
Unplug iPhone/iPad from usb cable (If connected with usb cable).
Turn off wifi and connect again (If you are using wifi debug).
Clean project.
Run your app again.
I am sending a request to server and rec it on iOS device
when I am running application on simulator 354 data is received and next view will navigate
and with ios device 1530 data received and app stuck here nothing happen further
on simulator app is running perfectly but not on device
also
I am trying to run application on xcode 4- simulator 4.3 which is running perfectly
and device have 4.3.5 and here i have problem
can xcode 4 is cabable for device 4.3.5 version?
thank you