The issue is similar to the closed issue #323, compiled and works well on Android (eas build -p android), failed when build for iOS with eas build -p iOS, slightly different expo version (Expo SDK 54) as following:
The issue:
Error during eas build: "Compiling react-native-wgpu Pods/react-native-wgpu » AsyncTaskHandle.cpp
❌ (node_modules/react-native-wgpu/cpp/rnwgpu/async/AsyncTaskHandle.cpp:119:20)
117 | jsi::Runtime &runtime, rnwgpu::Promise &promise) mutable {
118 | auto value = factory(runtime);
119 | promise.resolve(std::move(value));
| ^ member access into incomplete type 'rnwgpu::Promise'
120 | });
121 | }
122 | };
❌ (node_modules/react-native-wgpu/cpp/rnwgpu/async/AsyncTaskHandle.cpp:131:16)
129 | self->settle([reason = std::move(reason)](jsi::Runtime & /runtime/,
130 | rnwgpu::Promise &promise) {
131 | promise.reject(reason);
| ^ member access into incomplete type 'rnwgpu::Promise'
132 | });
133 | }
134 | };"
Environment:
Xcode: 26.0
CocoaPods 1.16.2
"@shopify/react-native-skia": "^2.5.0", (also tried with the latest 2.6.4, same error)
"expo": "~54.0.33",
"react": "19.1.0",
"react-dom": "19.1.0",
"react-native": "0.81.5",
"react-native-wgpu": "^0.5.11",
"typegpu": "^0.11.4"
The issue is similar to the closed issue #323, compiled and works well on Android (eas build -p android), failed when build for iOS with eas build -p iOS, slightly different expo version (Expo SDK 54) as following:
The issue:
Error during eas build: "Compiling react-native-wgpu Pods/react-native-wgpu » AsyncTaskHandle.cpp
❌ (node_modules/react-native-wgpu/cpp/rnwgpu/async/AsyncTaskHandle.cpp:119:20)
117 | jsi::Runtime &runtime, rnwgpu::Promise &promise) mutable {
118 | auto value = factory(runtime);
❌ (node_modules/react-native-wgpu/cpp/rnwgpu/async/AsyncTaskHandle.cpp:131:16)
129 | self->settle([reason = std::move(reason)](jsi::Runtime & /runtime/,
130 | rnwgpu::Promise &promise) {
Environment:
Xcode: 26.0
CocoaPods 1.16.2
"@shopify/react-native-skia": "^2.5.0", (also tried with the latest 2.6.4, same error)
"expo": "~54.0.33",
"react": "19.1.0",
"react-dom": "19.1.0",
"react-native": "0.81.5",
"react-native-wgpu": "^0.5.11",
"typegpu": "^0.11.4"