From 5b50aa3d74ee2e399f8f5ebe3a99b01a667a3ce2 Mon Sep 17 00:00:00 2001 From: Janic Duplessis Date: Wed, 1 Jul 2026 18:44:03 -0400 Subject: [PATCH 1/2] chore(example): rename iOS project to EaseExample to avoid pod scheme collision The app project generated by expo prebuild was named Ease, the same as the development pod. CocoaPods recreates a user scheme for the pod on every pod install, and xcodebuild resolved -scheme Ease to the pod's scheme, so expo run:ios built only the static library and then failed to find the app binary. Naming the app EaseExample keeps the two schemes distinct. --- CONTRIBUTING.md | 2 +- example/app.json | 6 +++--- example/package.json | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 52f1c7f..20213d7 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -25,7 +25,7 @@ The [example app](/example/) demonstrates usage of the library. You need to run It is configured to use the local version of the library, so any changes you make to the library's source code will be reflected in the example app. Changes to the library's JavaScript code will be reflected in the example app without a rebuild, but native code changes will require a rebuild of the example app. -If you want to use Android Studio or Xcode to edit the native code, you can open the `example/android` or `example/ios` directories respectively in those editors. To edit the Objective-C or Swift files, open `example/ios/Ease.xcworkspace` in Xcode and find the source files at `Pods > Development Pods > react-native-ease`. +If you want to use Android Studio or Xcode to edit the native code, you can open the `example/android` or `example/ios` directories respectively in those editors. To edit the Objective-C or Swift files, open `example/ios/EaseExample.xcworkspace` in Xcode and find the source files at `Pods > Development Pods > react-native-ease`. To edit the Java or Kotlin files, open `example/android` in Android studio and find the source files at `react-native-ease` under `Android`. diff --git a/example/app.json b/example/app.json index 0596f32..ff96e5e 100644 --- a/example/app.json +++ b/example/app.json @@ -1,8 +1,8 @@ { - "name": "Ease", - "displayName": "Ease", + "name": "EaseExample", + "displayName": "Ease Example", "expo": { - "name": "Ease", + "name": "Ease Example", "slug": "ease-example", "scheme": "ease-example", "version": "1.0.0", diff --git a/example/package.json b/example/package.json index 7d05adc..8257280 100644 --- a/example/package.json +++ b/example/package.json @@ -10,7 +10,7 @@ "web": "expo start --web", "prebuild": "expo prebuild", "build:android": "expo prebuild --platform android --clean && cd android && ./gradlew assembleDebug --no-daemon --console=plain -PreactNativeArchitectures=arm64-v8a", - "build:ios": "expo prebuild --platform ios --clean && xcodebuild -workspace ios/Ease.xcworkspace -scheme Ease -configuration Debug -sdk iphonesimulator -arch x86_64 build" + "build:ios": "expo prebuild --platform ios --clean && xcodebuild -workspace ios/EaseExample.xcworkspace -scheme EaseExample -configuration Debug -sdk iphonesimulator -arch x86_64 build" }, "dependencies": { "@expo/metro-runtime": "~55.0.6", From 957ff987f125826c3ec81c084a6a2c87e62ba3ec Mon Sep 17 00:00:00 2001 From: Janic Duplessis Date: Wed, 1 Jul 2026 18:45:27 -0400 Subject: [PATCH 2/2] chore: run unit tests on CI --- .github/workflows/ci.yml | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9deb377..65c2e59 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -31,6 +31,19 @@ jobs: - name: Check lint run: yarn lint + test: + runs-on: ubuntu-latest + + steps: + - name: Checkout + uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0 + + - name: Setup + uses: ./.github/actions/setup + + - name: Run unit tests + run: yarn test + build-library: runs-on: ubuntu-latest