NSAllowsArbitraryLoadsForMedia doesn't work in iOS Simulator
Originator: | jgary | ||
Number: | rdar://29553892 | Date Originated: | 12/7/2016 |
Status: | Open | Resolved: | |
Product: | iOS + SDK | Product Version: | 10.1 |
Classification: | Serious Bug | Reproducible: | Always |
Area: AVFoundation (Audio / Video) Summary: The ATS setting NSAllowsArbitraryLoadsForMedia works for devices running iOS 10.1, but does not work with iOS 10 Simulator. Steps to Reproduce: See sample project. Video plays on device. Video does not play in simulator. 2016-12-07 10:55:08.882 Play One Video[75588:36574145] App Transport Security has blocked a cleartext HTTP (http://) resource load since it is insecure. Temporary exceptions can be configured via your app's Info.plist file. Expected Results: Video plays because of presence of NSAllowsArbitraryLoadsForMedia=YES Actual Results: 2016-12-07 10:55:08.882 Play One Video[75588:36574145] App Transport Security has blocked a cleartext HTTP (http://) resource load since it is insecure. Temporary exceptions can be configured via your app's Info.plist file. Version: Version 10.0 (SimulatorApp-700.14 CoreSimulator-307.14.2) Notes: Configuration: iOS 10.1 simulator Attachments: 'Play One Video.zip' was successfully uploaded.
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!