We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I am trying to build skia from source and the buid fails with following log. I have Xcode 16.1 with Macos 15.1.1 on Apple M3
Building platform "apple" for target "arm64-iphonesimulator" { cmd: 'PATH=/Users/dwannipu/code/rnskia-new/react-native-skia/externals/skia/../bin:$PATH', args: [ 'ninja', '-C', '/Users/dwannipu/code/rnskia-new/react-native-skia/externals/skia/out/apple/arm64-iphonesimulator' ] } 🍏 arm64-iphonesimulator ninja: Entering directory `/Users/dwannipu/code/rnskia-new/react-native-skia/externals/skia/out/apple/arm64-iphonesimulator' 🍏 arm64-iphonesimulator [1/2] stamp obj/third_party/externals/spirv-tools/spvtools_tools_util.stamp 🍏 arm64-iphonesimulator [2/2] link libdawn_native.dylib FAILED: libdawn_native.dylib clang++ -shared -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator18.1.sdk -stdlib=libc++ -arch arm64 -arch arm64e -miphonesimulator-version-min=15.1 -dead_strip @libdawn_native.dylib.rsp -framework IOKit -framework IOSurface -framework Metal -framework QuartzCore -framework Foundation -framework CoreFoundation -lobjc -Wl,-install_name,@rpath/libdawn_native.dylib -o libdawn_native.dylib ld: warning: ignoring file '/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/16/lib/darwin/libclang_rt.iossim.a': fat file missing arch 'arm64e', file has 'i386,x86_64,arm64' Undefined symbols for architecture arm64e: "___isPlatformVersionAtLeast", referenced from: dawn::native::metal::PhysicalDevice::InitializeVendorArchitectureImpl() in sources.PhysicalDeviceMTL.o ld: symbol(s) not found for architecture arm64e clang++: error: linker command failed with exit code 1 (use -v to see invocation) 🍏 arm64-iphonesimulator ninja: build stopped: subcommand failed. /Users/dwannipu/code/rnskia-new/react-native-skia/packages/skia/scripts/utils.ts:39 reject(new Error(`${label} exited with code ${code}`)); ^ Error: 🍏 arm64-iphonesimulator exited with code 1 at ChildProcess.<anonymous> (/Users/dwannipu/code/rnskia-new/react-native-skia/packages/skia/scripts/utils.ts:39:16) at ChildProcess.emit (node:events:518:28) at ChildProcess.emit (node:domain:489:12) at maybeClose (node:internal/child_process:1101:16) at Process.ChildProcess._handle.onexit (node:internal/child_process:304:5)
v2.0.0
0.78.0
Clone the latest source code and follow build instrcutions in the Readme
🍏 arm64-iphonesimulator ninja: Entering directory `/Users/dwannipu/code/rnskia-new/react-native-skia/externals/skia/out/apple/arm64-iphonesimulator' 🍏 arm64-iphonesimulator [1/2] stamp obj/third_party/externals/spirv-tools/spvtools_tools_util.stamp 🍏 arm64-iphonesimulator [2/2] link libdawn_native.dylib FAILED: libdawn_native.dylib clang++ -shared -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator18.1.sdk -stdlib=libc++ -arch arm64 -arch arm64e -miphonesimulator-version-min=15.1 -dead_strip @libdawn_native.dylib.rsp -framework IOKit -framework IOSurface -framework Metal -framework QuartzCore -framework Foundation -framework CoreFoundation -lobjc -Wl,-install_name,@rpath/libdawn_native.dylib -o libdawn_native.dylib ld: warning: ignoring file '/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/16/lib/darwin/libclang_rt.iossim.a': fat file missing arch 'arm64e', file has 'i386,x86_64,arm64' Undefined symbols for architecture arm64e: "___isPlatformVersionAtLeast", referenced from: dawn::native::metal::PhysicalDevice::InitializeVendorArchitectureImpl() in sources.PhysicalDeviceMTL.o ld: symbol(s) not found for architecture arm64e clang++: error: linker command failed with exit code 1 (use -v to see invocation) 🍏 arm64-iphonesimulator ninja: build stopped: subcommand failed. /Users/dwannipu/code/rnskia-new/react-native-skia/packages/skia/scripts/utils.ts:39 reject(new Error(`${label} exited with code ${code}`)); ^ Error: 🍏 arm64-iphonesimulator exited with code 1 at ChildProcess.<anonymous> (/Users/dwannipu/code/rnskia-new/react-native-skia/packages/skia/scripts/utils.ts:39:16) at ChildProcess.emit (node:events:518:28) at ChildProcess.emit (node:domain:489:12) at maybeClose (node:internal/child_process:1101:16) at Process.ChildProcess._handle.onexit (node:internal/child_process:304:5)
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Description
I am trying to build skia from source and the buid fails with following log. I have Xcode 16.1 with Macos 15.1.1 on Apple M3
React Native Skia Version
v2.0.0
React Native Version
0.78.0
Using New Architecture
Steps to Reproduce
Clone the latest source code and follow build instrcutions in the Readme
Snack, Code Example, Screenshot, or Link to Repository
The text was updated successfully, but these errors were encountered: