Skip to content

make / compilation returning errors #92

@mgiugliano

Description

@mgiugliano

After forking, cloning, and running

sudo xcode-select -switch /Applications/Xcode.app/Contents/Developer

on my M3, Sequoia 15.2 (24C101), Xcode 16.2, build does not complete and returns the following error message:

swift build --configuration release -Xswiftc -warnings-as-errors --arch arm64 --arch x86_64
Fetching https://github.com/apple/swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser from cache (1.21s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.3.1 (0.35s)
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.3.1

Build description signature: a7b784191c3ce1e2fc737acd6abdf74b
Build description path: /Users/****/reminders-cli/reminders-cli/.build/apple/Intermediates.noindex/XCBuildData/a7b784191c3ce1e2fc737acd6abdf74b.xcbuilddata
extension declares a conformance of imported type 'EKReminder' to imported protocol 'Encodable'; this will not behave correctly if the owners of 'EventKit' intextension declares a conformance of imported type 'DateComponents' to imported protocol 'ExpressibleByArgument'; this will not behave correctly if the owners o/Users/****/reminders-cli/reminders-cli/Sources/RemindersLibrary/EKReminder+Encodable.swift:3:1: error: extension declares a conformance of imported type 'EKReminder' to imported protocol 'Encodable'; this will not behave correctly if the owners of 'EventKit' introduce this conformance in the future
extension EKReminder: Encodable {
^
/Users/****/reminders-cli/reminders-cli/Sources/RemindersLibrary/EKReminder+Encodable.swift:3:1: note: add '@retroactive' to silence this warning
extension EKReminder: Encodable {
^                     ~~~~~~~~~
                      @retroactive Encodable
/Users/****/reminders-cli/reminders-cli/Sources/RemindersLibrary/NaturalLanguage.swift:47:1: error: extension declares a conformance of imported type 'DateComponents' to imported protocol 'ExpressibleByArgument'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
extension DateComponents: ExpressibleByArgument {
^
/Users/****/reminders-cli/reminders-cli/Sources/RemindersLibrary/NaturalLanguage.swift:47:1: note: add '@retroactive' to silence this warning
extension DateComponents: ExpressibleByArgument {
^                         ~~~~~~~~~~~~~~~~~~~~~
                          @retroactive ExpressibleByArgument

Build failed
make: *** [build-release] Error 1

Any help would be immensely appreciated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions