Skip to content

[SR-15106] Source compatibility suite: FAIL: Evergreen, 4.0, ce0d24, Evergreen, generic/platform=macOS: cannot find 'kInternetEventClass' in scope #57432

@hamishknight

Description

@hamishknight
Previous ID SR-15106
Radar rdar://problem/82303293
Original Reporter @hamishknight
Type Bug
Environment

swift-main-source-compat-suite
swift-main-source-compat-suite-debug
swift-5.5-source-compat-suite

Additional Detail from JIRA
Votes 0
Component/s
Labels Bug
Assignee None
Priority Medium

md5: 0fb8fb20801b53805afc632d1abdfc65

Issue Description:

https://ci.swift.org/job/swift-main-source-compat-suite/6084/
https://ci.swift.org/job/swift-main-source-compat-suite-debug/4198/
https://ci.swift.org/job/swift-5.5-source-compat-suite/139/

Evergreen is failing to build with:

/Volumes/swift-ci/jenkins/workspace/swift-main-source-compat-suite/swift-source-compat-suite/project_cache/Evergreen/Evergreen/Scriptability/AppDelegate+Scriptability.swift:38:138: error: cannot find 'kInternetEventClass' in scope
        NSAppleEventManager.shared().setEventHandler(self, andSelector: #selector(AppDelegate.getURL(_:_:)), forEventClass: AEEventClass(kInternetEventClass), andEventID: AEEventID(kAEGetURL))
                                                                                                                                         ^~~~~~~~~~~~~~~~~~~
/Volumes/swift-ci/jenkins/workspace/swift-main-source-compat-suite/swift-source-compat-suite/project_cache/Evergreen/Evergreen/Scriptability/AppDelegate+Scriptability.swift:38:182: error: cannot find 'kAEGetURL' in scope
        NSAppleEventManager.shared().setEventHandler(self, andSelector: #selector(AppDelegate.getURL(_:_:)), forEventClass: AEEventClass(kInternetEventClass), andEventID: AEEventID(kAEGetURL))
                                                                                                                                                                                     ^~~~~~~~~

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugA deviation from expected or documented behavior. Also: expected but undesirable behavior.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions