SiliconLabs / matter

Matter is creating more connections between more objects, simplifying development for manufacturers and increasing compatibility for consumers, guided by the Connectivity Standards Alliance.
https://www.silabs.com/wireless/matter
Apache License 2.0
151 stars 45 forks source link

Generated .xcframework used in sample application fails in commissioning process #133

Closed rahil-shrimali-ei closed 10 months ago

rahil-shrimali-ei commented 1 year ago

General description of the feature

xcodebuild clean archive \ -scheme 'Matter Framework' \ -configuration Release \ -destination 'generic/platform=iOS' \ -archivePath './build/Matter.framework-iphoneos.xcarchive' \ BUILD_LIBRARY_FOR_DISTRIBUTION=YES \ SKIP_INSTALL=NO

xcodebuild clean archive \ -scheme 'Matter Framework' \ -configuration Release \ -destination 'generic/platform=iOS Simulator' \ -archivePath './build/Matter.framework-iOS-Simulator.xcarchive' \ BUILD_LIBRARY_FOR_DISTRIBUTION=YES \ ONLY_ACTIVE_ARCH=NO \ EXCLUDED_ARCHS=arm64 \ SKIP_INSTALL=NO

xcodebuild -create-xcframework \ -framework './build/Matter.framework-iOS-Simulator.xcarchive/Products/Library/Frameworks/Matter.framework' \ -framework './build/Matter.framework-iphoneos.xcarchive/Products/Library/Frameworks/Matter.framework' \ -output './build/Matter.xcframework'

It looks like generated framework is not able to access the file from other folders like (src/app) , (src/messaging).

Can anyone help me here to generate the Matter.xcframework which contains every useful resource?

Proposed solution

No response

Alternatives

No response

Related bug

No response

SMG version

release_1.1.0-1.1

Protocol(s)

Wi-Fi, Bluetooth

Hardware platform(s)

Mini Smart Wi-Fi Plug

silabs-sebastien commented 1 year ago

@rahil-shrimali-ei I'm looking into your report and I will get back to you shortly.

silabs-sebastien commented 1 year ago

@rahil-shrimali-ei This is just a quick update to let you know it's taking some time to investigate this issue. In the meantime, did you try anything else or have any new progress on your end?

Also, did you try this process with the newest SMG release (2.1.0-1.1)?