URLSessionTaskMetrics linker error in watchOS on Xcode 9
| Originator: | jon | ||
| Number: | rdar://34919397 | Date Originated: | 10-Oct-2017 05:18 PM |
| Status: | Open | Resolved: | |
| Product: | watchOS + SDK | Product Version: | 4 |
| Classification: | Serious Bug | Reproducible: | Always |
Summary:
In Xcode 9 (9A235), attempting to build a watchOS app that uses URLSessionTaskMetrics results in a linker error.
Steps to Reproduce:
1. Clone https://github.com/jshier/TaskMetricsWatchBug
2. Build watch target in Xcode 9.
3. See linker error.
Expected Results:
App builds successfully, as URLSessionTaskMetrics is available on watchOS 3+.
Actual Results:
Linker error: Undefined symbols for architecture i386:
"_OBJC_CLASS_$_NSURLSessionTaskMetrics", referenced from:
objc-class-ref in InterfaceController.o
ld: symbol(s) not found for architecture i386
Version:
4
Notes:
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!