-
Couldn't load subscription status.
- Fork 59
Add Feature Flags support to React Native SDK #331
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Changes from all commits
c9e1231
8626278
3797aa8
dfcdf1c
b7c4612
5e97ff6
edea4c3
ff4f5b9
ee2118d
7592848
473122b
75553c3
a6327e1
f831462
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -88,6 +88,29 @@ jobs: | |||||||||||||||||
| - name: Setup iOS | ||||||||||||||||||
| working-directory: ./Samples/SimpleMixpanel/ios | ||||||||||||||||||
| run: pod install --repo-update | ||||||||||||||||||
| - name: List available simulators | ||||||||||||||||||
| run: xcrun simctl list devices available | ||||||||||||||||||
| - name: Boot iOS Simulator | ||||||||||||||||||
| run: | | ||||||||||||||||||
| # Get list of available iPhone simulators | ||||||||||||||||||
| # Note: jq is pre-installed on macOS GitHub Actions runners | ||||||||||||||||||
| SIMULATOR_ID=$(xcrun simctl list devices available -j | jq -r '.devices | to_entries[] | .value[] | select(.name | contains("iPhone")) | .udid' | head -n 1) | ||||||||||||||||||
| if [ -z "$SIMULATOR_ID" ]; then | ||||||||||||||||||
| echo "Error: No iPhone simulator found" | ||||||||||||||||||
|
Comment on lines
+96
to
+99
|
||||||||||||||||||
| # Note: jq is pre-installed on macOS GitHub Actions runners | |
| SIMULATOR_ID=$(xcrun simctl list devices available -j | jq -r '.devices | to_entries[] | .value[] | select(.name | contains("iPhone")) | .udid' | head -n 1) | |
| if [ -z "$SIMULATOR_ID" ]; then | |
| echo "Error: No iPhone simulator found" | |
| # Note: jq is pre-installed on macOS GitHub Actions runners, but check to be sure | |
| command -v jq >/dev/null 2>&1 || { echo >&2 "jq is required but not installed. Aborting."; exit 1; } | |
| SIMULATOR_ID=$(xcrun simctl list devices available -j | jq -r '.devices | to_entries[] | .value[] | select(.name | contains("iPhone")) | .udid' | head -n 1) | |
| if [ -z "$SIMULATOR_ID" ]; then |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[nitpick] While jq is commonly available on macOS GitHub Actions runners, it's better to explicitly verify or install it to avoid potential failures if the runner configuration changes.