test-preview-emails-cross-browsers-ios-simulator-nodejs-javascript icon indicating copy to clipboard operation
test-preview-emails-cross-browsers-ios-simulator-nodejs-javascript copied to clipboard

fix: iOS simulator

Open wxh06 opened this issue 2 years ago • 0 comments

Uncomment the code that opens http://127.0.0.1:${port}/#html as I am unable to open .eml file in the iOS simulator.

$ xcrun simctl openurl booted /var/folders/1t/ktc77qxs4k711pb_6cz8547w0000gn/T/e045a5cf-f88c-425c-b1d6-f9b60fa9a77c.eml
An error was encountered processing the command (domain=NSOSStatusErrorDomain, code=-50):
Simulator device returned an error for the requested operation.
Underlying error (domain=NSOSStatusErrorDomain, code=-50):
	The operation couldn’t be completed. (OSStatus error -50.)

Checklist

  • [x] I have ensured my pull request is not behind the main or master branch of the original repository.
  • [x] I have rebased all commits where necessary so that reviewing this pull request can be done without having to merge it first.
  • [x] I have written a commit message that passes commitlint linting.
  • [x] I have ensured that my code changes pass linting tests.
  • [x] I have ensured that my code changes pass unit tests.
  • [x] I have described my pull request and the reasons for code changes along with context if necessary.

wxh06 avatar Sep 02 '23 07:09 wxh06