UIKit: Can't lookup UILayoutPriority symbols in Swift

Originator:adrian.kashivskyy
Number:rdar://17995875 Date Originated:12-Aug-2014 11:20 PM
Status:Dupe/15540890/Closed Resolved:Yes
Product:iOS SDK Product Version:iOS 8 SDK Beta 5 (12A4345d)
Classification:Other Bug Reproducible:Always
 
Summary:
Using the UILayoutPriority constants in Swift results in runtime error.

Affected symbols:

    - UILayoutPriorityRequired
    - UILayoutPriorityDefaultHigh
    - UILayoutPriorityDefaultLow
    - UILayoutPriorityFittingSizeLevel

Steps to Reproduce:
1. Install and open Xcode 6.0 Beta 5 (6A279r)
2. Create a new iOS playground
3. Enter the following code:

    import UIKit
    let p: UILayoutPriority = UILayoutPriorityRequired


Expected Results:
No runtime error, p has a value of 1000

Actual Results:
Runtime error: "Couldn't lookup symbols: _UILayoutPriorityRequired"

Version:
iOS 8 SDK Beta 5 (12A4345d)

Notes:


Configuration:
Xcode 6.0 Beta 5 (6A279r), OS X 10.9.4 (13E28), MacPro5,1

Attachments:


-- 28-Aug-2014 07:16 PM / ADR

Engineering has determined that your bug report is a duplicate of another issue and will be closed. 

15540890

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!