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.!
Related
I'm trying to test an iOS app on the Xcode simulator and all networking is fine except for the Google Cast SDK can't find any Chromecasts on my network using wifi. The iMac that Xcode is running on can find the Chromecasts just fine using wifi. The same app on another computer can find them just fine on the simulator also using wifi.
I also tried the Google sample from Github and it can't find any Chromecasts either.
I already added the Simulator app to the firewall exceptions. I also tried it with the firewall off.
What else do I need to do?
Xcode 9.4.1
Thanks.
After many OSX and Cast SDK updates it now works for me.
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 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
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.
I have a problem with BES connection on top of MDS simulator.
What I'm trying is simple, I want to support all connections types but BIS-B : TCP, WIFI, WAP1/2, BES. I succeeded in implementing TCP, WIFI, WAP1/2, it works with device emulators from 4.5 to 6.0.
For BES, I only get it to work with device emulators versions from 4.5 to 5.0.
The problem with version 6.0.0 is just that it blocks, I guess the device emulator tries to reach BES service through the MDS simulator but doesn't find it so freezes (call to function HttpConnection.getResponseCode is blocking the app). Nothing appears in the MDS simulator console.
My MDS simulator is 4.1.4.
I tried to browse through the various settings of the phone simulator but didn't find anything relevant. I only saw "bes service : not connected", ok thanks but why?
I also tried to access bes connection through the httpdemo sample provided by RIM, same problem, blocks.
I cannot figure out why it works with previous versions and not latest one. Did I missed something? Is there a special setting for the device emulator or the MDS simulator? Is there something more to add to the url (not only ";deviceside=false") for version 6.0.0 (I browsed the release notes but didn't find anything)?
As Leloo Dallas would say "Please help!"
Hope I'm not wasting your time with a silly question.
Thanks guys (girls?)
Neimad
Neimad, the code to use BES/MDS connection should be the same for all OS versions. So if it runs on 4.5/5.0 - then it should also run on OS 6.
Not sure if this is your case - however just have a look to this official RIM info: BlackBerry MDS Simulator does not launch.