NativeScript / NativeScript/nativescript-cli

HMR doesn't work on IOS

未关闭
#5,734 5 条评论 1 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

in-progress
主要语言
JavaScript
星标
1.1k
派生
204
平均合并
1 天 9 小时
30 天内合并 PR
8

描述

Issue Description

Applications created with cli 8.5.3 does not work the HMR on ios.

I am creating a sample that I create with cli 8.5.3 and in this application the HMR does not work on ios. To test this I have done the following.

  1. I have installed the old cli@8.4.0. I have created a vue3 application and the HMR works fine.
  2. I have installed the new cli 8.5.3. I have created an application vue3 and the HMR does not work on ios.
Environment
OS: macOS 13.3
CPU: (12) arm64 Apple M2 Max
Shell: /bin/zsh
node: 18.14.0
npm: 9.3.1
nativescript: 8.5.3

# android
java: 11.0.18
ndk: Not Found
apis: Not Found
build_tools: Not Found
system_images: Not Found

# ios
xcode: 14.3/14E222b
cocoapods: 1.11.3
python: 3.10.10
python3: 3.10.10
ruby: 2.7.7
platforms: 
  - DriverKit 22.4
  - iOS 16.4
  - macOS 13.3
  - tvOS 16.4
  - watchOS 9.4
Dependencies
"dependencies": {
  "@nativescript/core": "~8.4.0",
  "nativescript-vue": "3.0.0-beta.5"
},
"devDependencies": {
  "@nativescript/ios": "8.5.1",
  "@nativescript/tailwind": "^2.0.1",
  "@nativescript/types": "~8.4.0",
  "@nativescript/webpack": "~5.0.0",
  "@types/node": "~17.0.21",
  "tailwindcss": "^3.1.8",
  "typescript": "~4.8.4",
  "vue": "^3.2.45"
}
Please accept these terms

贡献指南

打开贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

调研方向

首先使用 CLI 8.5.3 在 iOS 上重现报告中的 Vue 3 应用,然后将其与使用 CLI 8.4.0 创建的同一应用进行比较。调查 CLI 的 HMR 和 iOS 构建路径;当编辑内容能够像使用 CLI 8.4.0 时一样在 iOS 上重新加载时,即表示完成。

由索引模型根据 Issue 内容生成。

评估

技术栈
ios, javascript, webpack
领域
build-system, cli, mobile
Issue 类型
缺陷
难度
4/5
预计耗时
3-5 天
活跃度
停滞
描述清晰度
基本清楚
新手友好度
35/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。