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
SR-10191 Trap 6 during compilation instead of compile error
Issue Description:
Summary:
In the attached zip, I have a project that includes a framework. In the framework's class hierarchy, a subclass makes an internal 'initialize' method open. In the app, I subclass that class with an open 'initialize' method and try to build.
In Debug, it builds fine. In Release, the linker fails to find the method descriptor for that method and the build fails.
This seems to be related to the "Enable Testability" flag. This appears to be the property enabled in the debug builds but disabled in release builds that's causing this behavior.
Steps to Reproduce:
Open the attached Project
Select the Release scheme
Build
Expected Results:
It builds without issue. Or at least, it builds with the exact same result in the Debug scheme.
Actual Results:
It fails to build with a linker error.
Other Notes:
This was reported to Apple's public bug reporter with id 50619960
It was discussed in relation to the Charts library in this bug
The text was updated successfully, but these errors were encountered:
Attachment: Download
Environment
Version/Build:
Xcode Version 10.2.1 (10E1001)
Configuration:
macOS 10.14.4 (18E226)
Additional Detail from JIRA
md5: a9da38a72883e43dcee2a1d522430994
relates to:
Issue Description:
Summary:
In the attached zip, I have a project that includes a framework. In the framework's class hierarchy, a subclass makes an internal 'initialize' method open. In the app, I subclass that class with an open 'initialize' method and try to build.
In Debug, it builds fine. In Release, the linker fails to find the method descriptor for that method and the build fails.
This seems to be related to the "Enable Testability" flag. This appears to be the property enabled in the debug builds but disabled in release builds that's causing this behavior.
Steps to Reproduce:
Expected Results:
It builds without issue. Or at least, it builds with the exact same result in the Debug scheme.
Actual Results:
It fails to build with a linker error.
Other Notes:
This was reported to Apple's public bug reporter with id 50619960
It was discussed in relation to the Charts library in this bug
The text was updated successfully, but these errors were encountered: