Reachability Classes Issue iOS8 - ipad

i am using latest reachability classes ver 3.5 of apple.my issue is when i switch off wifi the reachability classes take some time to give actual status."kReachabilityChangedNotification" notification is fired after some delay.this issue is coming on iOS 8.1.1 iPad air

It appears to be a thread-blocking issue: https://github.com/tonymillion/Reachability/issues/74

Related

Xcode: Failed to prepare device for development

When I run my app in my real device (iPhone 11 Pro, OS: IOS: 15.4) in Xcode (version: 13.3), the build is succeeded, but the app does not launch in my phone and I receive this message in Xcode:
How can I resolve this ?
Well, here is a short story that I've experienced during my casual work day.
I tried to pair new phone to XCode and it prompted exactly same error as yours.
At the end of the day it turned out that phone had an Apple Watch that is paired.
We simply disabled/unpaired the phone from Apple Watch and it worked out.
Maybe you can give it a try.
Edit: Finding the XCode version that supports iOS 15.4 may also work.
In my case the problem was that I was targeting an older version of iOS than the one present in my device. Also, XCode was not updated and didn't support my phone's version. After updating XCode, I could change the iOS target to the latest and all worked out.

iOS App Bluetooth cannot connect to peripheral device

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.

XCode 6 bug with AudioSystemSounds?

As of yesterday after upgrading to XCode6 my AudioSystemSounds that were previously working now are silent. I have tried to reset my system sounds via an outdated answer (Sound not working in iPhone Simulator?) through Settings/Sound/SoundEffects/Play user interface sounds but that hasn't worked.
There are no reported errors or crash, just silence.
Any help would be greatly appreciated.
Currently there is a bug in the IOS 8.0 simulator; try running on iOS 7.1 to verify system sounds are working - which will directly implicate the simulator.

Reachability issue with iOS8

I am facing issue in iOS8.0.
Before a UPNP search I am checking for wifi connection using Apple's Reachability code.
All things runs fine on iOS7 and earlier versions but for iOS8.0 beta5 (iPad mini, iPad air) it is failing and giving wrong results(i.e WIFI not reachable etc..) even when wifi is available.
Is Someone else is facing the same issue. and found a solution for this.
Do let me know. Also do let me know if this is an Apple issue as this issue doesnt appears on all devices.
Solved
I also get same problem in one of my application, in this app i was using old Reachability with version 2.2, I replace this reachability files with apples latest version 3.5, and it works.
Please check the version of your Reachability file,
You can get latest version of Reachability from below path:
Apple Reachability 3.5
Hope it helps You.!

How to get iphone 4 on the simulator device menu

I just downloaded the latest SDK from apple, and installed without a problem, but I still don't have iPhone 4 in the device menu on the simulator. The simulator says it is version 4.2 (235). Anyone have any clues about this?
When you download the latest Xcode,and run your program in simluator,the iPhone 4 simulator is launched by default,so you don't have to worry about that.
Cheers
OK, I found out that Hardware->Device->iPhone (Retina) is actually iPhone 4. I had thought it wasn't, in part because the reported screen resolution was 320x480. See this link for a thorough discussion about this. Aditya is wrong when he says "the iPhone 4 simulator is launched by default". This actually depends on your build settings, targeted device family.

Resources