###前提・実現したいこと
iOS8以上を対象としたアプリを開発し、Appleのレビューに提出しました。
言語はSwiftです。
ネットワークライブラリは以下を使用しています。
- Alamofire 3.4.1
- ReachabilitySwift 2.3.3
###発生している問題・エラーメッセージ
Appleからはhttpsリクエストが発生する箇所でクラッシュしたと言われ何度もバイナリが却下されました。
レビューした条件は iOS9.3.2 で動くiPad, iPhoneでIPv6通信の環境らしいです。
Performance - 2.1 Your app crashes on iPad and iPhone running iOS 9.3.2 when we: - Logged in to your app with the provided credentials This occurred when your app was used: - Offline - On Wi-Fi We have attached detailed crash logs to help troubleshoot this issue. Next Steps Please revise your app and test it on a device to ensure that it runs as expected. Apps are reviewed on an IPv6 network. Please ensure that your app supports IPv6 networks, as IPv6 compatibility is required. For information about supporting IPv6 Networks, refer to Supporting iPv6 DNS64/NAT64 Networks. For a networking overview, please see About Networking. Resources For information on how to symbolicate and read a crash log, please see Tech Note TN2151 Understanding and Analyzing iPhone OS Application Crash Reports. If you have difficulty reproducing this issue, please try testing the workflow described in Testing Workflow with Xcode's Archive feature. If you have code-level questions after utilizing the above resources, you may wish to consult with Apple Developer Technical Support. When the DTS engineer follows up with you, please be ready to provide: - complete details of your rejection issue(s) - screenshots - steps to reproduce the issue(s) - symbolicated crash logs - if your issue results in a crash log
###試したこと
Alamofireのバージョンが低かったので最新にアップデートしたのですが却下されました。
また、以下の公式のIPv6環境をデバッグする方法も試しましたがクラッシュすること無く動作しました。
https://developer.apple.com/library/mac/documentation/NetworkingInternetWeb/Conceptual/NetworkingOverview/UnderstandingandPreparingfortheIPv6Transition/UnderstandingandPreparingfortheIPv6Transition.html#//apple_ref/doc/uid/TP40010220-CH213-SW1
クラッシュが再現しないので打つ手が全く思いつきません。
どなたかアドバイスいただけないでしょうか。
よろしくお願いいたします。
追記
2016/06/25 15:02
なにやらサーバー側の対応が必要かも知れない情報が見つかりました。
http://stackoverflow.com/questions/37637818/ipv6-app-store-rejection
本件のAPIサーバーのDNSでもRoute53を使用していて、VPC内のELBを使用しています。
EC2-Classic上のELBのみIPv6に対応しているという情報もあるので、
iOSからのIPv6のリクエストに対し、IPv4しか返却できないのでレビューを通らない可能性があります。
2016/07/05 12:38
Appleのレビュー担当の方と日本語で電話で話をしました。
クラッシュはiPhone6SとiPadAir2で、WiFi、セルラー両方の環境で、しかもIPv4、IPv6両者で起きたそうです。
クラッシュが再現しないのであれば、サーバーがGeoフェンシングしていないかということを指摘されました。
取り急ぎiPhone6Sの検証機を購入してクラッシュが再現するか確認しようと思います。
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。
2016/07/01 02:26
退会済みユーザー
2016/07/07 06:42