-[NSProcessInfo operatingSystemVersion] returns OS X version in iOS simulator

Originator:cedric.luthi
Number:rdar://17274464 Date Originated:11-Jun-2014 10:17 PM
Status:Closed Resolved:
Product:iOS SDK Product Version:iOS 8 beta
Classification:Serious Bug Reproducible:Always
 
Summary:
[[NSProcessInfo processInfo] operatingSystemVersion] returns the OS X version when run in the iOS simulator.

Steps to Reproduce:
1. Call [[NSProcessInfo processInfo] operatingSystemVersion]

Expected Results:
[[NSProcessInfo processInfo] operatingSystemVersion] should return the simulated iOS version when run in the iOS simulator.

Actual Results:
[[NSProcessInfo processInfo] operatingSystemVersion] returns the OS X version when run in the iOS simulator.

Configuration:
iOS simulator

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!