Installation issues - Suggestions to help improve the experience.
还没有人认领这个 Issue。
评估
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 新手友好度
- 28/100
- Issue 类型
- 文档
- 描述清晰度
- 基本清楚
- 活跃度
- 停滞
- 技术栈
- swift
调研方向
检查 README、BackgroundViewController.swift、ViewController.swift、InterfaceController.swift、PhotoViewController.swift 以及列出的两个 entitlements 文件,以了解安装和 app-group 设置。完成标准是 README 说明所需的 app IDs 和 app-group 位置,并且在指定的 Swift 文件中对图像后缀的处理不区分大小写。
由索引模型根据 Issue 内容生成。
描述
Many people are familiar with swift but I don't believe that many will be familiar with the nuances of setting up a WK app. Even if you are not trying to load it onto a watch the fact that an app group is used complicates things quite a bit.
In my case I had to refresh my understanding of WK to get everything up and running - I hope to save others some time.
- Change case sensitive suffix test to case insensitive:
changeif fileURL.absoluteString.hasSuffix(".jpg") || fileURL.absoluteString.hasSuffix(".png")
toif fileURL.absoluteString.lowercased().hasSuffix(".jpg") || fileURL.absoluteString.lowercased().hasSuffix(".png")
Files: BackgroundViewController.swift, ViewController.swift, InterfaceController.swift
- Add instructions to readme explaining that the developer will need to make their own app ids for the
app, thewk app, and theapp extensionand will need to make their ownapp group. - Add instructions to readme explaining the locations where the app group needs to be changed to the new one created by the developer.
Files: PhotoWatch.entitlements, PhotoWatch WatchKit Extension.entitlements, BackgroundViewController.swift, PhotoViewController.swift, InterfaceController.swift
- Thanks,
Jim Malak - [email protected]
- 主要语言
- Swift
- 星标
- 120
- 派生
- 24
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
dropbox/PhotoWatch 的其他 Issue
-
难度 3/5 1-2 天 新手友好度 20/100
dropbox/PhotoWatch#8 · 1 条评论 ·
-
难度 3/5 1-2 天 新手友好度 35/100
dropbox/PhotoWatch#4 · 2 条评论 · 1 个 reaction ·
查看 dropbox/PhotoWatch 的全部 Issue
相似的 Issue
-
needs-triage S3: minor
难度 2/5 1-3 小时 新手友好度 72/100
manaflow-ai/cmux#28422 · 1 条评论 ·
维护者通常 1 天内回复
-
难度 1/5 1 小时以内 新手友好度 65/100
SwiftOldDriver/iOS-Weekly#5480 ·
-
Seed a JRNYAx price before the last close so asset-detail S1.3 doesn't fail from 08:00Z to the open未关闭bug tests
难度 2/5 1-3 小时 新手友好度 83/100
lognorman20/monaco#7231 ·
-
难度 2/5 1-3 小时 新手友好度 78/100
维护者通常 5 天内回复
-
难度 2/5 1-3 小时 新手友好度 70/100
维护者通常 7 天内回复