Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Installation issues - Suggestions to help improve the experience.

オープン
#3 コメント 2 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
28/100
issue の種類
ドキュメント
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
swift

調査の方向性

README、BackgroundViewController.swift、ViewController.swift、InterfaceController.swift、PhotoViewController.swift、および記載されている2つの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.

  1. Change case sensitive suffix test to case insensitive:
    change if fileURL.absoluteString.hasSuffix(".jpg") || fileURL.absoluteString.hasSuffix(".png")
    to if fileURL.absoluteString.lowercased().hasSuffix(".jpg") || fileURL.absoluteString.lowercased().hasSuffix(".png")

Files: BackgroundViewController.swift, ViewController.swift, InterfaceController.swift

  1. Add instructions to readme explaining that the developer will need to make their own app ids for the app, the wk app, and the app extension and will need to make their own app group.
  2. 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
スター
119
フォーク
24
PR マージ指標
30日以内にマージされた PR はありません

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

dropbox/PhotoWatch のほかの issue

dropbox/PhotoWatch の issue をすべて見る

似ている issue

Swift の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。