Skip to content
New issue

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

No suitable URL request handler found for image file error when trying to run example #82

Open
wonkyDD opened this issue Aug 22, 2024 · 4 comments

Comments

@wonkyDD
Copy link

wonkyDD commented Aug 22, 2024

Environment

  • device: iPhone 13 Pro
  • version: iOS 17.5.1
  • node version: v20.11.1
  • yarn version: 3.6.1

Reproduce

git clone
git submodule update --init
cd package && yarn
yarn build-dawn
cd example
cd ios && pod install
cd ..
yarn ios

Error logs

No suitable URL request handler found for file:///private/var/containers/Bundle/Application/1058420F-D467-4C7C-B9CC-6F9F079C43F8/WgpuExample.app/assets/src/assets/Di-3d.png

-[RCTNetworking networkTaskWithRequest:completionBlock:]
    RCTNetworking.mm:706
-[RCTNetworking sendRequest:responseType:incrementalUpdates:responseSender:]
__38-[RCTNetworking sendRequest:callback:]_block_invoke_2
__46-[RCTNetworking buildRequest:completionBlock:]_block_invoke_2
81D355DF-266A-3010-BAB8-113B76A206C1
81D355DF-266A-3010-BAB8-113B76A206C1
81D355DF-266A-3010-BAB8-113B76A206C1
81D355DF-266A-3010-BAB8-113B76A206C1
81D355DF-266A-3010-BAB8-113B76A206C1
81D355DF-266A-3010-BAB8-113B76A206C1
_pthread_wqthread
start_wqthread

Screenshot

image

@wonkyDD wonkyDD changed the title No suitable URL request handler found for image file trying to run example No suitable URL request handler found for image file error when trying to run example Aug 22, 2024
@wcandillon
Copy link
Owner

@wonkyDD thank you for this report. I also get an an error following this steps (a different one however). But building the app seems to work via the WgpuExample.xcworkspace I always open the WgpuExample.xcworkspace file and build it from there.

We are looking to switch to expo dev clients for the example(s) app and I think that will solve this issue.

Thank you for taking an early look at React Native WebGPU :)

@wonkyDD
Copy link
Author

wonkyDD commented Aug 23, 2024

@wcandillon
Thanks for response!

After struggling, i have found it works well with iOS simulator instead of the actual device usb connected,
including the method you mentioned building from xcworkspace.

However, on the actual device,
it doesn't work the same way as it does on the simulator, even when following the method you mentioned 🤔

@wcandillon
Copy link
Owner

Which issue are you experiencing on an actual device?

@wonkyDD
Copy link
Author

wonkyDD commented Aug 23, 2024

  • device: iPhone 13 Pro
  • version: iOS 17.5.1

here it is!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants