0

My application is coded in swift 3, Xcode 8.2.1, With deployment target 10. Yesterday I submitted my first version of the app. Its Rejected unfortunately ;(

I'm using third pods as

Using AFNetworking (3.1.0)
Using GoogleMaps (2.2.0)
Using ReachabilitySwift (3)

Apple team says that app is not working in iPad with Wi-Fi connected to an IPv6 network and app did not determine current location.

Can anyone help me? what should I do to support iPV 6.

Kanjariya-IOS
  • 652
  • 1
  • 5
  • 17

1 Answers1

0

The problem is your ReachabilitySwift. You have to use the Reachability class from Apple:

https://developer.apple.com/library/content/samplecode/Reachability/Listings/Reachability_Reachability_h.html

When you create an Objective-C class in a Swift project, Xcode suggest it to create a Bridging Header Class to use Objective-C in Swift.

I had that problem a lot of times, I strong recommend you always use Reachability class direct from Apple and not from other open source projects from internet.

pableiros
  • 14,932
  • 12
  • 99
  • 105
  • 1
    Can you explain why `ReachabilitySwift` is the problem? – sbarow Apr 27 '17 at 19:25
  • 1
    @sbarow I used the same libraries you listed and Apple rejected a lot of time my apps. When I replaced `ReachablitySwift` for `Reachability` class from Apple, the issue was solved. This is whats worked for me. – pableiros Apr 27 '17 at 21:20