I wrote application in flutter in android studio. I tried to build it on ios. On emulators it worked ( i tested it on all avaible version of iphone and ipad), but when i tried do the same with real device (iphone 6) all i got was
flutter run
No devices connected
Flutter doctor said only
Connected Device
! No devices connected
Which is strange, because my mac see this device and xcode see it too. I tried to build it in console. What can i do to make this app run on real device?
If you still having trouble connecting physical iOS devices, try to follow these steps here.
Also make sure that you are running the updated Xcode for a specific iOS version, as there are some cases that these was caused by compatibility issues as mentioned here.
Known Issues
Xcode 11.4 doesn’t work with devices running iOS 13.4 beta 1 and beta 2. (60055806)
Related
I updated iOS on my iPad to 11.2.1 and I am seeing the below error when I launch the app from Visual Studio TACO from Windows machine connected to a local iPad.
"Cannot find the app installed on the device. Check that the device is connected, awake, and unlocked".
My Mac has XCode 9.2 and doesn't have device support files for 11.2.1, the latest is 11.2 (15C107).
Could this be due to the missing iOS device support files for 11.2.1 on the Windows machine where VS TACO is installed or, is it due to some certificate related issue?
Since I don't see any certificate related errors in the VS output, I am presuming I got beyond all certificate related issues. Btw, I am using Cordova 4.5.4 and VS TACO 2015.
Are there iOS 11.2.1 device support files that I can download from somewhere ?
As per Apple support I cannot downgrade to an earlier version of iOS on iPad since 11.2.1 is not in beta. Looks like I either need to get an iPad with older version of iOS or find the device support file for iOS 11.2.1 and XCode 9.2.
Really appreciate for any pointers..
Recently I upgraded my Xcode to 8.1 (8B63) and migrated the 7.3.4 project successfully. Tested on simulators and was able to build on iPad Retina (iPad 4) simulator with deployment target 8.4. But when I connected my device (iPad 4), I got the following error:
Could not locate device support files.
This iPad (4th generation Model A1458) is running iOS 10.2.1 (14D27), which may not be supported by this version of XCode.
I am not able to understand why - as the project can work on iPad 4 simulator, but not able to connect to the device. Can you please help me in this?
Thanks
You need to update Xcode again. I have this same problem sometimes when I update my iDevice right when Apple pushes an update to iOS. The problem is that your device's iOS is too current, and your Xcode actually doesn't recognize it (it's outdated - the latest is 8.2.1 I believe).
If you're an Apple Developer with a current account, you can actually see the latest version of Xcode (and beta versions) here: https://developer.apple.com/download/more/?q=xcode Also you can bypass the annoying time-outs and bugs you sometimes will experience downloading Xcode through the AppStore
I think Xcode 8.2.1 should help, if not - try Xcode 8.3 Beta (if it's available)
I have just started developing iOS apps with xCode 6.3. I only have 1 physical device with me, an iPhone 4 (no S). In order to work with Push notifications I need to register at least one device for development but xCode sees my iPhone4 as ineligible device (it runs IOS 7.1.2). I tried adjusting the building target to 7.1, restarting the device and the mac, but nothing has worked.
is there any way I can register the iPhone4 as development device without buying a new iOS device?
That was actually very stupid. I had tried this solution but I didn't clean and rebuild the project. After a clean, rebuild and restart (!!!) I can now run the apps on a Physical iPhone4
Try to download Xcode 5.1.1 from
https://developer.apple.com/downloads/
It's based on iOS 7.1 SDK. It should work with your iPhone4.
your device not detected Xcode 6.0 because hardware requrement not match. you must check it iPhones 4s or above. Also Xcode 6 not detect our iPhone.
there is no problem with your device.you can test with this device.follow these steps i hope u will get your problem solved.
1.remove device from xcode from window>device.
now link iphone and press trust from iphone when it asks to trust.
3.Keep your target sdk version 7.0 or 7.1.
now run your project.
I've just updated my iPhone to iOS 7.1.2, and I can no longer run my apps through xcode 5.1.1. And I can't install apps with this iOS version too.
To solve this issue do the following:
Connect the device to your computer and open iTunes.
It will prompt you to allow the computer to access the device.
If you accept, the device should be properly recognized by Xcode too and selectable to run your app.
Still no clue why this happened in first place, after updating to iOS 7.1.2.
I have an app created from sample code I found online. I hooked up my iPod touch 4G to my computer and everything worked fine, app ran.
Then I hooked up my iPhone 3G to the computer, established provisioning profiles, etc. In the organizer the device shows up as a green dot, so we're good. The name of the device is right there next to the run button so that's a good sign. But when I hit run it says "build succeeded" and then goes directly to "finished running on " but nothing shows up on the app!
I've tried this with several apps now and all work on iPod touch, but none on iPhone.
Devices are running newest operating systems, 4.2 for the iPhone, Xcode version is the newest.
I had a different question with more than likely the same answer
App built with Xcode 4.2 ios 5.0 crashing when installed on iphone with ios 4.3.5
I found the solution here
Is it possible to target older iOS versions when using Xcode 4.2 and iOS 5 SDK?
by mmorris
I had to do what he clearly explained and 1 more thing:
Set the compiler in the Project and Target Build Set to LLVM GCC 4.2
That got the app running on my older devices
I had problem to run on simulator not on device.
Tried above options but didn't work for me.
Finally, Just Resetting Simulator did the trick.
Make sure you are targeting the least iOS version and SDK that you can in the build profiles (targets, summary, Devices, Deployment target). Also, check the error console (All Output) at the bottom right and see if there's some kind of problem occurring.