Reachablity Sample Broken on 64-bit Architecture

Originator:contact
Number:rdar://15880397 Date Originated:22-Jan-2014 03:45 PM
Status:Closed Resolved:
Product:iOS SDK Product Version:7.0.4
Classification:Serious bug Reproducible:Always
 
# Description

On a 64-bit device (an iPhone 5s for instance), Reachability sample produces incorrect values for cellular availability when the sample is built with armv7 - armv7s - armv64 architectures.

Building the sample with only armv7 - armv7s produces the correct values for cellular data availability.

# Steps to reproduce

1. Download the Reachability sample from the developer library (https://developer.apple.com/library/ios/samplecode/Reachability/Introduction/Intro.html#//apple_ref/doc/uid/DTS40007324).
2. Build the sample with Xcode 5.0.2
3. Run it on an iPhone 5s with cellular connection available; the sample shows that: "Cellular data network is active. Internet traffic will be routed through it."
4. In the sample build settings, select "Standard architectures (including 64-bit) (armv7, armv7s, armv64)" (the default configuration is "Standard architectures (armv7, armv7s)")
5. Re-run the sample on an iPhone 5s with an active cellular connection: the sample doesn't show the availability of the cellular connection.

# Expected result:

Reachability sample should show the availability of the cellular connection, even if the sample has been built with 64-bit architectures.

# Actual results

Reachability sample doesn't show the availability of the cellular connection.

Xcode 5.0.2

iPhone 5s 7.0.4

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!