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

Test Command does not work properly if Scheme name is different from the name of the app

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

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

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
42/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
ios, react-native, typescript

調査の方向性

まず、yarn owl test で使用される iOS のパスを追跡し、成功する yarn owl build --platform ios のフローと比較します。設定の workspace、scheme、configuration、device の値が xcrun simctl install コマンドをどのように生成するかを調査します。1 つの設定から異なる scheme と app name でビルドおよびテストを実行できれば完了です。

索引モデルが issue の本文から書いたものです。

説明

bug
Is there an existing issue for this?
  • I have searched the existing issues
Code of Conduct
  • I agree to follow this project's Code of Conduct
Code Sandbox link

No response

Bug report

When using this config file in the build which is the proper one to build our app:

"ios": {
    "workspace": "ios/Foo.xcworkspace",
    "scheme": "Foo",
    "configuration": "Debug",
    "device": "iPhone 15",
},

We are able to build successfully with this command yarn owl build --platform ios but when we try to run the test command, it fails to launch the app with this error:

  shortMessage: 'Command failed with exit code 2: xcrun simctl install iPhone 15 Foo.app',
  command: 'xcrun simctl install iPhone 15 Foo.app',
  escapedCommand: 'xcrun simctl install "iPhone 15" Foo.app',

But if we change now the Scheme to the name of the App we are able to run the tests with this new config

"ios": {
    "workspace": "ios/Foo.xcworkspace",
    "scheme": "Bar",
    "configuration": "Debug",
    "device": "iPhone 15",
},

So we need to have one config to build the app and another to run the tests.

主要言語
TypeScript
スター
694
フォーク
27
PR マージ指標
30日以内にマージされた PR はありません

環境構築

はじめの一歩

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

FormidableLabs/react-native-owl のほかの issue

FormidableLabs/react-native-owl の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

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

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