You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When we run xcodebuild with a debug-time-function-bodies flag, we got a compilation error. Without this flag project compiles without any issue.
/Users/foo/SwiftDemo/modules/VoyagerDataModel/VoyagerDataModel_Class1.swift:26:39: error: type 'NSAttributedString.Key' has no member 'foregroundColor'
_ = rangesForMissingAttribute(NSAttributedString.Key.foregroundColor, attributedText:attributedText, range: NSRangeFromString(text))
Swift: 4.2
Xcode 10.2.1
Build version 10E1001
The text was updated successfully, but these errors were encountered:
No, the option itself is not supported. As noted in the name, it's for debugging, and isn't necessarily an accurate picture of how long a function takes. It's not totally inaccurate either, though, especially for outlier expressions, so I get why people use it. cc @xedin
-Xfrontend -warn-long-function-bodies isn't supported either but at least has less of a chance of false conclusions, since people set moderately high thresholds.
Attachment: Download
Additional Detail from JIRA
md5: 0c2cd221c42a8712b776189a83aa3d36
Issue Description:
When we run xcodebuild with a debug-time-function-bodies flag, we got a compilation error. Without this flag project compiles without any issue.
/Users/foo/SwiftDemo/modules/VoyagerDataModel/VoyagerDataModel_Class1.swift:26:39: error: type 'NSAttributedString.Key' has no member 'foregroundColor'
_ = rangesForMissingAttribute(NSAttributedString.Key.foregroundColor, attributedText:attributedText, range: NSRangeFromString(text))
Swift: 4.2
Xcode 10.2.1
Build version 10E1001
The text was updated successfully, but these errors were encountered: