This is frustrating, I recently got an iPhone 7 plus to use as a test device. Somehow, my Xcode always loose connection to it as soon as
I connect it to my Mac. Restarting my Mac will solve it.
Xcode version: 8.3.3
iOS version: 10.3.3
Luckily, I have another iPhone 6s for testing, which works fine. The iOS version is also 10.3.3. I don't want to use this one as a test device because it's my personal phone, messages and phone calls would interrupt my development.
Thanks in advance for any help : )
Related
When starting an iOS simulator, it is not possible to get a HTTP response. Safari keeps showing the loading bar and does not load everything. I first though that it was my own application, but I tested it on multiple simulators, and all the simulators did not received any internet responses.
This problem is both on my MacBook Pro as my Mac mini at the office. is this a bug in the simulator, or do I have to turn something on?
Simulator version
Version 12.5 (961.1)
SimulatorKit 609
CoreSimulator 757.3
Xcode version:
Version 12.5 beta 2 (12E5234g)
I found the solution. The problem is a bug in Xcode Version 12.5 beta 2. It should be solved in beta 3
https://developer.apple.com/forums/thread/674191
This question already has answers here:
iPhone is not available. Please reconnect the device
(33 answers)
Closed 2 years ago.
I have an issue with trying to run the app on iOS 12.4.7 where I'm always getting this message in Xcode:
iPhone is not available. Please reconnect the device
I have checked many answers related to this issue and in most cases issue is connected to Xcode version and iOS 13. In another words lower Xcode version then it should be. I have tried many things: re-connecting, restarting Xcode, restarting iPhone.
My Xcode version is 11.5 and deployment is set to iOS 12.0 but still I can not run the app on iOS 12.4.7 which is the version of iOS on my phone. I think Xcode 11.5 should support running the app on lower versions than iOS 13. Also I have enough free storage on iPhone to run the app.
On simulator, iOS 13+, app will run but on real phone it doesn't. Unfortunately I can not upgrade my iOS version and I need to test in app purchases. Any help is more than welcome. Thanks in advance.
The issue isn't the system version, it's the device type (iPhone 6). Xcode 11.5 just isn't going to support running on your device. You can run the app on your device, no problem; but not from Xcode.
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'm trying to connect to bluetooth printers using a third party libraries. Everything works fine on iPad, iPhone, iPod touch. Now i have 3 iPad Air devices and I always got the following error message:
ERROR - sock can not connect: 2
On all other devices, the connection works fine. Any idea, what I can do?
Same problem:
https://discussions.apple.com/message/30117834#30117834
I don't have 50 rep so I can't comment on your post, sorry.
What version of iOS is on your iPads? There seem to be some external accessory connection issues in iOS 9.3.1. They should be fixed in 9.3.2. I've tested the beta and it seems to be working as expected again.
I reinstalled iOS 9.3.1 with a ipsw and it worked again.
I think there may be some configure files created before iOS 9.3.1 make this bug happen.
I had the same issue recently on an iPad 4 mini running iOS 11.0.3 trying to connect to a Socket Mobile scanner in MFi-SPP mode. The bluetooth connection seemed to work properly, but as soon as the Socket Mobile SDK tried to connect I also got the ERROR - sock can not connect: 2 errors.
I ended up doing a factory restore which resolved the issue, but I never figured out what was causing it.
I was getting the same error with Socket Mobile scanner, on iPad Pro with iOS 11.0.3. Updating iPad to latest iOS version (11.3) resolved the issue.
At the same time, on another iPad running on iOS 11.1, it was working fine.
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.