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
gn gen out/debug --args='chip_mdns="platform" chip_crypto="mbedtls" chip_inet_config_enable_ipv4=false'
ninja -C out/debug
**Error message**
FAILED: macos_framework_output/Matter.framework
python ../../third_party/connectedhomeip/scripts/build/build_darwin_framework.py --project_path ../../third_party/connectedhomeip/src/darwin/Framework/Matter.xcodeproj --out_path macos_framework_output --target Matter --log_path darwin_framework_build.log
2022-07-08 17:19:38.507 xcodebuild[17102:4597155] Requested but did not find extension point with identifier Xcode.IDEKit.ExtensionSentinelHostApplications for extension Xcode.DebuggerFoundation.AppExtensionHosts.watchOS of plug-in com.apple.dt.IDEWatchSupportCore
2022-07-08 17:19:38.511 xcodebuild[17102:4597155] Requested but did not find extension point with identifier Xcode.IDEKit.ExtensionPointIdentifierToBundleIdentifier for extension Xcode.DebuggerFoundation.AppExtensionToBundleIdentifierMap.watchOS of plug-in com.apple.dt.IDEWatchSupportCore
2022-07-08 17:19:38.723 xcodebuild[17102:4597155] DVTCoreDeviceEnabledState: DVTCoreDeviceEnabledState_Disabled set via user default (DVTEnableCoreDevice=(null))
** BUILD FAILED **
The following build commands failed:
PhaseScriptExecution Run\ Script /Users/priyankahonnakasturi/connectedhomeip/src/darwin/Framework/build/Matter.build/Release/Matter.build/Script-0C40A67D246C9AC700885C81.sh (in target 'Matter' from project 'Matter')
(1 failure)
Running xcodebuild -target Matter -sdk macosx -project ../../third_party/connectedhomeip/src/darwin/Framework/Matter.xcodeproj CONFIGURATION_BUILD_DIR=/Users/priyankahonnakasturi/connectedhomeip/examples/darwin-framework-tool/out/debug/macos_framework_output
Traceback (most recent call last):
File "/Users/priyankahonnakasturi/connectedhomeip/examples/darwin-framework-tool/out/debug/../../third_party/connectedhomeip/scripts/build/build_darwin_framework.py", line 63, in <module>
build_darwin_framework(args)
File "/Users/priyankahonnakasturi/connectedhomeip/examples/darwin-framework-tool/out/debug/../../third_party/connectedhomeip/scripts/build/build_darwin_framework.py", line 32, in build_darwin_framework
command_result = run_command(command)
File "/Users/priyankahonnakasturi/connectedhomeip/examples/darwin-framework-tool/out/debug/../../third_party/connectedhomeip/scripts/build/build_darwin_framework.py", line 22, in run_command
return str(subprocess.check_output(command.split()))
File "/opt/homebrew/Cellar/python@3.9/3.9.13_1/Frameworks/Python.framework/Versions/3.9/lib/python3.9/subprocess.py", line 424, in check_output
return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
File "/opt/homebrew/Cellar/python@3.9/3.9.13_1/Frameworks/Python.framework/Versions/3.9/lib/python3.9/subprocess.py", line 528, in run
raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['xcodebuild', '-target', 'Matter', '-sdk', 'macosx', '-project', '../../third_party/connectedhomeip/src/darwin/Framework/Matter.xcodeproj', 'CONFIGURATION_BUILD_DIR=/Users/priyankahonnakasturi/connectedhomeip/examples/darwin-framework-tool/out/debug/macos_framework_output']' returned non-zero exit status 65.
[85/609] c++ obj/third_party/connected...xamples/chip-tool/chip-tool.main.cpp.o
By editing the file chip_xcode_build_connector and manually adding; PLATFORM_PREFERRED_ARCH=arm64
resolved this issue
The text was updated successfully, but these errors were encountered:
With SHA caf62f7
While trying to build darwin-framework-tool on M1 Mac, we encounter the following complier error;
Steps to reproduce
By editing the file chip_xcode_build_connector and manually adding;
PLATFORM_PREFERRED_ARCH=arm64
resolved this issue
The text was updated successfully, but these errors were encountered: