Test Command does not work properly if Scheme name is different from the name of the app
まだ誰も着手していません。
評価
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 42/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 停滞
- 技術スタック
- ios, react-native, typescript
- 領域
- build-system, mobile, testing-qa
調査の方向性
まず、yarn owl test で使用される iOS のパスを追跡し、成功する yarn owl build --platform ios のフローと比較します。設定の workspace、scheme、configuration、device の値が xcrun simctl install コマンドをどのように生成するかを調査します。1 つの設定から異なる scheme と app name でビルドおよびテストを実行できれば完了です。
索引モデルが issue の本文から書いたものです。
説明
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 はありません
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
FormidableLabs/react-native-owl のほかの issue
-
難易度 1/5 1時間未満 初心者へのやさしさ 5/100
FormidableLabs/react-native-owl#194 · コメント 3 件 · リアクション 1 件 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 30/100
FormidableLabs/react-native-owl#190 · コメント 1 件 · リアクション 1 件 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 25/100
FormidableLabs/react-native-owl#188 · コメント 1 件 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 30/100
FormidableLabs/react-native-owl#186 · コメント 1 件 · リアクション 1 件 ·
-
難易度 5/5 1週間以上 初心者へのやさしさ 20/100
FormidableLabs/react-native-owl の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
paperclipai/paperclip#16785 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
code-yeongyu/senpi#3661 ·
メンテナーはふだん 1 日以内に返信
-
community first-timers-only good first issue hacktoberfest help wanted low hanging fruit up-for-grabs
難易度 1/5 1時間未満 初心者へのやさしさ 78/100
lingdojo/kana-dojo#32731 · コメント 1 件 · リアクション 5 件 ·
メンテナーはふだん 1 日以内に返信
-
bug status: needs triage
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
mastra-ai/mastra#27538 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
Yeachan-Heo/oh-my-codex#3822 ·
メンテナーはふだん 1 日以内に返信