Skip to content

Can't build basic examples doing step-by-step from guide #102

Open
@truebest

Description

@truebest

Hi folks,

Once I failed with ubuntu docker, taken my MacBook Apple Silicon and tried to build default examples based on apple example docs

Current swift snapshot: swift-DEVELOPMENT-SNAPSHOT-2025-03-28-a-osx.pkg

TOOLCHAINS=org.swift.62202503281a swift --version
swift-driver version: 1.115 Apple Swift version 6.0.2 (swiftlang-6.0.2.1.2 clang-1600.0.26.4)
Target: arm64-apple-macosx15.0

during building led-blink " idf.py build " got follow error

[710/1257] Performing configure step for 'chip_gn'
Done. Made 253 targets from 211 files in 115ms
[711/1257] Performing build step for 'chip_gn'
FAILED: esp-idf/chip/chip_gn-prefix/src/chip_gn-stamp/chip_gn-build esp-idf/chip/lib/libCHIP.a /Users/truebest/swift-matter-examples/led-blink/build/esp-idf/chip/chip_gn-prefix/src/chip_gn-stamp/chip_gn-build /Users/truebest/swift-matter-examples/led-blink/build/esp-idf/chip/lib/libCHIP.a 
cd "/Users/truebest/esp/esp-matter/connectedhomeip/connectedhomeip/config/esp32/components/chip;/Users/truebest/swift-matter-examples/led-blink/build/esp-idf/chip" && ninja esp32
/bin/sh: line 0: cd: /Users/truebest/esp/esp-matter/connectedhomeip/connectedhomeip/config/esp32/components/chip;/Users/truebest/swift-matter-examples/led-blink/build/esp-idf/chip: No such file or directory
[713/1257] Performing configure step for 'bootloader'

also I tried to build other example, got around same issue.

`FAILED: esp-idf/chip/chip_gn-prefix/src/chip_gn-stamp/chip_gn-build esp-idf/chip/lib/libCHIP.a /Users/truebest/swift-matter-examples/smart-light/build/esp-idf/chip/chip_gn-prefix/src/chip_gn-stamp/chip_gn-build /Users/truebest/swift-matter-examples/smart-light/build/esp-idf/chip/lib/libCHIP.a 
cd "/Users/truebest/esp/esp-matter/connectedhomeip/connectedhomeip/config/esp32/components/chip;/Users/truebest/swift-matter-examples/smart-light/build/esp-idf/chip" && ninja esp32
/bin/sh: line 0: cd: /Users/truebest/esp/esp-matter/connectedhomeip/connectedhomeip/config/esp32/components/chip;/Users/truebest/swift-matter-examples/smart-light/build/esp-idf/chip: No such file or directory
`

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions