Skip to content

Commit 5b50aa3

Browse files
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.
1 parent 60101be commit 5b50aa3

3 files changed

Lines changed: 5 additions & 5 deletions

File tree

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ The [example app](/example/) demonstrates usage of the library. You need to run
2525

2626
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.
2727

28-
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`.
28+
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`.
2929

3030
To edit the Java or Kotlin files, open `example/android` in Android studio and find the source files at `react-native-ease` under `Android`.
3131

example/app.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
2-
"name": "Ease",
3-
"displayName": "Ease",
2+
"name": "EaseExample",
3+
"displayName": "Ease Example",
44
"expo": {
5-
"name": "Ease",
5+
"name": "Ease Example",
66
"slug": "ease-example",
77
"scheme": "ease-example",
88
"version": "1.0.0",

example/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"web": "expo start --web",
1111
"prebuild": "expo prebuild",
1212
"build:android": "expo prebuild --platform android --clean && cd android && ./gradlew assembleDebug --no-daemon --console=plain -PreactNativeArchitectures=arm64-v8a",
13-
"build:ios": "expo prebuild --platform ios --clean && xcodebuild -workspace ios/Ease.xcworkspace -scheme Ease -configuration Debug -sdk iphonesimulator -arch x86_64 build"
13+
"build:ios": "expo prebuild --platform ios --clean && xcodebuild -workspace ios/EaseExample.xcworkspace -scheme EaseExample -configuration Debug -sdk iphonesimulator -arch x86_64 build"
1414
},
1515
"dependencies": {
1616
"@expo/metro-runtime": "~55.0.6",

0 commit comments

Comments
 (0)