Can't run expo app after installing react-native-executorch #203
-
DescriptionExpo run phase fails for same errors after multiple remove node_modules, pod install. Behaviour is the same when target is simulator or real device. After i removed the package and re-ran everything went back to normal. alexstathis@MacBook-Pro memory-journal-app % expo run:ios ❌ error: Multiple commands produce '/Users/alexstathis/Library/Developer/Xcode/DerivedData/memoryjournal-djbjhkzjjwngtmczjcshvxssjejl/Build/Products/Debug-iphonesimulator/react-native-executorch/react_native_executorch.framework/Headers/Constants.h'
❌ error: Multiple commands produce '/Users/alexstathis/Library/Developer/Xcode/DerivedData/me
moryjournal-djbjhkzjjwngtmczjcshvxssjejl/Build/Products/Debug-iphonesimulator/react-native-executorch/react_native_executorch.framework/Headers/ETModel.h'
❌ error: Multiple commands produce '/Users/alexstathis/Library/Developer/Xcode/DerivedData/memoryjournal-djbjhkzjjwngtmczjcshvxssjejl/Build/Products/Debug-iphonesimulator/react-native-executorch/react_native_executorch.framework/Headers/LLaMARunner.h' package.json {
"name": "memory-journal",
"main": "expo-router/entry",
"version": "1.0.0",
"scripts": {
"start": "expo start",
"android": "expo run:android",
"ios": "expo run:ios",
"web": "expo start --web",
"test": "jest --watchAll",
"lint": "expo lint",
"pack-code": "repomix --include \"context/,app/,services/\"",
"generate-themes": "tamagui generate-themes ./theme.ts ./theme-output.ts"
},
"jest": {
"preset": "jest-expo"
},
"dependencies": {
"@expo/vector-icons": "^14.0.2",
"@react-native-async-storage/async-storage": "1.23.1",
"@react-native-community/datetimepicker": "8.2.0",
"@react-native-firebase/app": "^21.6.1",
"@react-native-firebase/auth": "^21.6.1",
"@react-navigation/bottom-tabs": "^7.0.0",
"@react-navigation/native": "^7.0.0",
"@shopify/flash-list": "^1.7.2",
"@tamagui/babel-plugin": "^1.120.1",
"@tamagui/config": "^1.120.1",
"@tamagui/core": "^1.120.1",
"@tamagui/font-inter": "^1.120.1",
"@tamagui/lucide-icons": "^1.120.1",
"@tamagui/react-native-media-driver": "^1.120.1",
"@tanstack/query-async-storage-persister": "^5.62.8",
"@tanstack/react-query": "^5.62.7",
"@tanstack/react-query-persist-client": "^5.62.8",
"axios": "^1.7.9",
"babel-plugin-transform-inline-environment-variables": "^0.4.4",
"dayjs": "^1.11.13",
"expo": "~52.0.18",
"expo-asset": "^11.0.1",
"expo-blur": "~14.0.1",
"expo-build-properties": "^0.13.1",
"expo-constants": "~17.0.3",
"expo-dev-client": "^5.0.6",
"expo-font": "~13.0.1",
"expo-haptics": "~14.0.0",
"expo-linking": "~7.0.3",
"expo-router": "4.0.11",
"expo-splash-screen": "~0.29.18",
"expo-sqlite": "^15.0.3",
"expo-status-bar": "~2.0.0",
"expo-symbols": "~0.2.0",
"expo-system-ui": "~4.0.6",
"expo-updates": "~0.26.10",
"expo-web-browser": "~14.0.1",
"lucide-react-native": "^0.468.0",
"react": "18.3.1",
"react-dom": "18.3.1",
**"react-native": "0.76.5",**
**"react-native-executorch": "^0.2.0",**
"react-native-gesture-handler": "~2.20.2",
"react-native-reanimated": "~3.16.1",
"react-native-safe-area-context": "4.12.0",
"react-native-screens": "~4.1.0",
"react-native-svg": "15.8.0",
"react-native-ui-datepicker": "^2.0.4",
"react-native-web": "~0.19.13",
"react-native-webview": "13.12.5",
"tamagui": "^1.120.1"
},
"devDependencies": {
"@babel/core": "^7.25.2",
"@types/jest": "^29.5.12",
"@types/react": "~18.3.12",
"@types/react-test-renderer": "^18.3.0",
"jest": "^29.2.1",
"jest-expo": "~52.0.2",
"react-test-renderer": "18.3.1",
"typescript": "^5.3.3"
},
"private": true
}
Steps to reproduceThis is the full output of my installation process alexstathis@MacBook-Pro memory-journal-app % npm i react-native-executorch
added 1 package, and audited 1540 packages in 3s
130 packages are looking for funding
run `npm fund` for details
5 low severity vulnerabilities
To address all issues (including breaking changes), run:
npm audit fix --force
Run `npm audit` for details.
alexstathis@MacBook-Pro memory-journal-app % cd ios
alexstathis@MacBook-Pro ios % pod install
Ignoring ffi-1.15.5 because its extensions are not built. Try: gem pristine ffi --version 1.15.5
Using Expo modules
[Expo] Enabling modular headers for pod ExpoModulesCore
[Expo] Enabling modular headers for pod React-Core
[Expo] Enabling modular headers for pod React-RCTAppDelegate
[Expo] Enabling modular headers for pod expo-dev-menu-interface
[Expo] Enabling modular headers for pod EXManifests
[Expo] Enabling modular headers for pod EXUpdatesInterface
[Expo] Enabling modular headers for pod expo-dev-menu
[Expo] Enabling modular headers for pod React-jsinspector
[Expo] Enabling modular headers for pod RCT-Folly
[Expo] Enabling modular headers for pod glog
[Expo] Enabling modular headers for pod React-RCTFabric
[Expo] Enabling modular headers for pod ReactCodegen
[Expo] Enabling modular headers for pod RCTRequired
[Expo] Enabling modular headers for pod RCTTypeSafety
[Expo] Enabling modular headers for pod ReactCommon
[Expo] Enabling modular headers for pod React-NativeModulesApple
[Expo] Enabling modular headers for pod Yoga
[Expo] Enabling modular headers for pod React-Fabric
[Expo] Enabling modular headers for pod React-graphics
[Expo] Enabling modular headers for pod React-utils
[Expo] Enabling modular headers for pod React-featureflags
[Expo] Enabling modular headers for pod React-debug
[Expo] Enabling modular headers for pod React-ImageManager
[Expo] Enabling modular headers for pod React-rendererdebug
[Expo] Enabling modular headers for pod DoubleConversion
[Expo] Enabling modular headers for pod hermes-engine
[Expo] Enabling modular headers for pod expo-dev-launcher
[Expo] Enabling modular headers for pod EXStructuredHeaders
[Expo] Enabling modular headers for pod EASClient
[Expo] Enabling modular headers for pod ReachabilitySwift
Found 13 modules for target `memoryjournal`
link_native_modules! {:ios_packages=>[{:configurations=>[], :name=>"@react-native-async-storage/async-storage", :root=>"/Users/alexstathis/dev/memory-journal-app/node_modules/@react-native-async-storage/async-storage", :path=>"../node_modules/@react-native-async-storage/async-storage", :podspec_path=>"/Users/alexstathis/dev/memory-journal-app/node_modules/@react-native-async-storage/async-storage/RNCAsyncStorage.podspec", :script_phases=>[]}, {:configurations=>[], :name=>"@react-native-community/datetimepicker", :root=>"/Users/alexstathis/dev/memory-journal-app/node_modules/@react-native-community/datetimepicker", :path=>"../node_modules/@react-native-community/datetimepicker", :podspec_path=>"/Users/alexstathis/dev/memory-journal-app/node_modules/@react-native-community/datetimepicker/RNDateTimePicker.podspec", :script_phases=>[]}, {:configurations=>[], :name=>"@react-native-firebase/app", :root=>"/Users/alexstathis/dev/memory-journal-app/node_modules/@react-native-firebase/app", :path=>"../node_modules/@react-native-firebase/app", :podspec_path=>"/Users/alexstathis/dev/memory-journal-app/node_modules/@react-native-firebase/app/RNFBApp.podspec", :script_phases=>[{"name"=>"[RNFB] Core Configuration", "path"=>"./ios_config.sh", "execution_position"=>"after_compile", "input_files"=>["$(BUILT_PRODUCTS_DIR)/$(INFOPLIST_PATH)"]}]}, {:configurations=>[], :name=>"@react-native-firebase/auth", :root=>"/Users/alexstathis/dev/memory-journal-app/node_modules/@react-native-firebase/auth", :path=>"../node_modules/@react-native-firebase/auth", :podspec_path=>"/Users/alexstathis/dev/memory-journal-app/node_modules/@react-native-firebase/auth/RNFBAuth.podspec", :script_phases=>[]}, {:configurations=>[], :name=>"@shopify/flash-list", :root=>"/Users/alexstathis/dev/memory-journal-app/node_modules/@shopify/flash-list", :path=>"../node_modules/@shopify/flash-list", :podspec_path=>"/Users/alexstathis/dev/memory-journal-app/node_modules/@shopify/flash-list/RNFlashList.podspec", :script_phases=>[]}, {:configurations=>[], :name=>"expo", :root=>"/Users/alexstathis/dev/memory-journal-app/node_modules/expo", :path=>"../node_modules/expo", :podspec_path=>"/Users/alexstathis/dev/memory-journal-app/node_modules/expo/Expo.podspec", :script_phases=>[]}, {:configurations=>[], :name=>"react-native-executorch", :root=>"/Users/alexstathis/dev/memory-journal-app/node_modules/react-native-executorch", :path=>"../node_modules/react-native-executorch", :podspec_path=>"/Users/alexstathis/dev/memory-journal-app/node_modules/react-native-executorch/react-native-executorch.podspec", :script_phases=>[]}, {:configurations=>[], :name=>"react-native-gesture-handler", :root=>"/Users/alexstathis/dev/memory-journal-app/node_modules/react-native-gesture-handler", :path=>"../node_modules/react-native-gesture-handler", :podspec_path=>"/Users/alexstathis/dev/memory-journal-app/node_modules/react-native-gesture-handler/RNGestureHandler.podspec", :script_phases=>[]}, {:configurations=>[], :name=>"react-native-reanimated", :root=>"/Users/alexstathis/dev/memory-journal-app/node_modules/react-native-reanimated", :path=>"../node_modules/react-native-reanimated", :podspec_path=>"/Users/alexstathis/dev/memory-journal-app/node_modules/react-native-reanimated/RNReanimated.podspec", :script_phases=>[]}, {:configurations=>[], :name=>"react-native-safe-area-context", :root=>"/Users/alexstathis/dev/memory-journal-app/node_modules/react-native-safe-area-context", :path=>"../node_modules/react-native-safe-area-context", :podspec_path=>"/Users/alexstathis/dev/memory-journal-app/node_modules/react-native-safe-area-context/react-native-safe-area-context.podspec", :script_phases=>[]}, {:configurations=>[], :name=>"react-native-screens", :root=>"/Users/alexstathis/dev/memory-journal-app/node_modules/react-native-screens", :path=>"../node_modules/react-native-screens", :podspec_path=>"/Users/alexstathis/dev/memory-journal-app/node_modules/react-native-screens/RNScreens.podspec", :script_phases=>[]}, {:configurations=>[], :name=>"react-native-svg", :root=>"/Users/alexstathis/dev/memory-journal-app/node_modules/react-native-svg", :path=>"../node_modules/react-native-svg", :podspec_path=>"/Users/alexstathis/dev/memory-journal-app/node_modules/react-native-svg/RNSVG.podspec", :script_phases=>[]}, {:configurations=>[], :name=>"react-native-webview", :root=>"/Users/alexstathis/dev/memory-journal-app/node_modules/react-native-webview", :path=>"../node_modules/react-native-webview", :podspec_path=>"/Users/alexstathis/dev/memory-journal-app/node_modules/react-native-webview/react-native-webview.podspec", :script_phases=>[]}], :ios_project_root_path=>"/Users/alexstathis/dev/memory-journal-app/ios", :react_native_path=>"../node_modules/react-native"}
Adding a custom script phase for Pod RNFBApp: [RNFB] Core Configuration
Auto-linking React Native modules for target `memoryjournal`: RNCAsyncStorage, RNDateTimePicker, RNFBApp, RNFBAuth, RNFlashList, RNGestureHandler, RNReanimated, RNSVG, RNScreens, react-native-executorch, react-native-safe-area-context, and react-native-webview
Framework build type is static framework
[Codegen] Adding script_phases to ReactCodegen.
[Codegen] Generating ./build/generated/ios/ReactCodegen.podspec.json
[Codegen] Analyzing /Users/alexstathis/dev/memory-journal-app/package.json
[Codegen] Searching for codegen-enabled libraries in the app.
[Codegen] The "codegenConfig" field is not defined in package.json. Assuming there is nothing to generate at the app level.
[Codegen] Searching for codegen-enabled libraries in the project dependencies.
[Codegen] Found @react-native-async-storage/async-storage
[Codegen] Found @react-native-community/datetimepicker
[Codegen] Found @shopify/flash-list
[Codegen] Found react-native
[Codegen] Found react-native-executorch
[Codegen] Found react-native-gesture-handler
[Codegen] Found react-native-reanimated
[Codegen] Found react-native-safe-area-context
[Codegen] Found react-native-screens
[Codegen] Found react-native-svg
[Codegen] Found react-native-webview
[Codegen] >>>>> Searching for codegen-enabled libraries in react-native.config.js
[Codegen] Processing rnasyncstorage
[Codegen] Searching for podspec in the project dependencies.
[Codegen] Supported Apple platforms: ios, macos, tvos, visionos for rnasyncstorage
[Codegen] Processing RNDateTimePickerCGen
[Codegen] Searching for podspec in the project dependencies.
[Codegen] Supported Apple platforms: ios, visionos for RNDateTimePickerCGen
[Codegen] Processing rnflashlist
[Codegen] Searching for podspec in the project dependencies.
[Codegen] Supported Apple platforms: ios, tvos for rnflashlist
[Codegen] Processing FBReactNativeSpec
[Codegen] Searching for podspec in the project dependencies.
[Codegen] Processing rncore
[Codegen] Searching for podspec in the project dependencies.
[Codegen] Processing RnExecutorchSpec
[Codegen] Searching for podspec in the project dependencies.
[Codegen] Supported Apple platforms: ios for RnExecutorchSpec
[Codegen] Processing rngesturehandler_codegen
[Codegen] Searching for podspec in the project dependencies.
[Codegen] Supported Apple platforms: ios, macos, tvos, visionos for rngesturehandler_codegen
[Codegen] Processing rnreanimated
[Codegen] Searching for podspec in the project dependencies.
[Codegen] Supported Apple platforms: ios, macos, tvos, visionos for rnreanimated
[Codegen] Processing safeareacontext
[Codegen] Searching for podspec in the project dependencies.
[Codegen] Supported Apple platforms: ios, tvos, visionos for safeareacontext
[Codegen] Processing rnscreens
[Codegen] Searching for podspec in the project dependencies.
[Codegen] Supported Apple platforms: ios, tvos, visionos for rnscreens
[Codegen] Processing rnsvg
[Codegen] Searching for podspec in the project dependencies.
[Codegen] Supported Apple platforms: ios, macos, tvos, visionos for rnsvg
[Codegen] Processing RNCWebViewSpec
[Codegen] Searching for podspec in the project dependencies.
[Codegen] Supported Apple platforms: ios, macos, visionos for RNCWebViewSpec
[Codegen] Generating Native Code for rnasyncstorage - ios
[Codegen] Generated artifacts: /Users/alexstathis/dev/memory-journal-app/ios/build/generated/ios
[Codegen] Generating Native Code for RNDateTimePickerCGen - ios
[Codegen] Generated artifacts: /Users/alexstathis/dev/memory-journal-app/ios/build/generated/ios
[Codegen] Generating Native Code for rnflashlist - ios
[Codegen] Generated artifacts: /Users/alexstathis/dev/memory-journal-app/ios/build/generated/ios
[Codegen] Generating Native Code for FBReactNativeSpec - ios
[Codegen] Generated artifacts: /Users/alexstathis/dev/memory-journal-app/ios/build/generated/ios
[Codegen - rncore] Skipping iOS code generation for rncore as it has been generated already.
[Codegen] Generating Native Code for RnExecutorchSpec - ios
[Codegen] Generated artifacts: /Users/alexstathis/dev/memory-journal-app/ios/build/generated/ios
[Codegen] Generating Native Code for rngesturehandler_codegen - ios
[Codegen] Generated artifacts: /Users/alexstathis/dev/memory-journal-app/ios/build/generated/ios
[Codegen] Generating Native Code for rnreanimated - ios
[Codegen] Generated artifacts: /Users/alexstathis/dev/memory-journal-app/ios/build/generated/ios
[Codegen] Generating Native Code for safeareacontext - ios
[Codegen] Generated artifacts: /Users/alexstathis/dev/memory-journal-app/ios/build/generated/ios
[Codegen] Generating Native Code for rnscreens - ios
[Codegen] Generated artifacts: /Users/alexstathis/dev/memory-journal-app/ios/build/generated/ios
[Codegen] Generating Native Code for rnsvg - ios
[Codegen] Generated artifacts: /Users/alexstathis/dev/memory-journal-app/ios/build/generated/ios
[Codegen] Generating Native Code for RNCWebViewSpec - ios
[Codegen] Generated artifacts: /Users/alexstathis/dev/memory-journal-app/ios/build/generated/ios
[Codegen] Creating component provider.
[Codegen] Generated provider in: /Users/alexstathis/dev/memory-journal-app/node_modules/react-native/React/Fabric
[Codegen] Done.
Analyzing dependencies
Downloading dependencies
Installing opencv-rne (0.1.0)
Installing react-native-executorch (0.2.0)
Generating Pods project
Setting USE_HERMES build settings
Setting REACT_NATIVE_PATH build settings
Setting SWIFT_ACTIVE_COMPILATION_CONDITIONS build settings
[Ccache]: Removing Ccache from CC, LD, CXX & LDPLUSPLUS build settings
[SPM] Cleaning old SPM dependencies from Pods project
[SPM] Adding SPM dependencies to Pods project
[Privacy Manifest Aggregation] Appending aggregated reasons to existing PrivacyInfo.xcprivacy file.
[Privacy Manifest Aggregation] Reading .xcprivacy files to aggregate all used Required Reason APIs.
Setting CLANG_CXX_LANGUAGE_STANDARD to c++20 on /Users/alexstathis/dev/memory-journal-app/ios/memoryjournal.xcodeproj
Pod install took 12 [s] to run
Integrating client project
Pod installation complete! There are 103 dependencies from the Podfile and 114 total pods installed.
[!] [Codegen] warn: using experimental new codegen integration
[!] Can't merge pod_target_xcconfig for pod targets: ["expo-dev-menu", "Main", "ReactNativeCompatibles", "SafeAreaView", "Vendored"]. Singular build setting DEFINES_MODULE has different values.
[!] Can't merge pod_target_xcconfig for pod targets: ["expo-dev-menu", "Main", "ReactNativeCompatibles", "SafeAreaView", "Vendored"]. Singular build setting DEFINES_MODULE has different values.
alexstathis@MacBook-Pro ios % cd ..
alexstathis@MacBook-Pro memory-journal-app % expo run:ios
env: load .env
env: export EXPO_PUBLIC_API_URL
✔ Installed CocoaPods
› Skipping dev server
› Planning build
❌ error: Multiple commands produce '/Users/alexstathis/Library/Developer/Xcode/DerivedData/memoryjournal-djbjhkzjjwngtmczjcshvxssjejl/Build/Products/Debug-iphonesimulator/react-native-executorch/react_native_executorch.framework/Headers/Constants.h'
❌ error: Multiple commands produce '/Users/alexstathis/Library/Developer/Xcode/DerivedData/me
moryjournal-djbjhkzjjwngtmczjcshvxssjejl/Build/Products/Debug-iphonesimulator/react-native-executorch/react_native_executorch.framework/Headers/ETModel.h'
❌ error: Multiple commands produce '/Users/alexstathis/Library/Developer/Xcode/DerivedData/memoryjournal-djbjhkzjjwngtmczjcshvxssjejl/Build/Products/Debug-iphonesimulator/react-native-executorch/react_native_executorch.framework/Headers/LLaMARunner.h'
Run script build phase 'Create Symlinks to Header Folders' will be run during every build because it does not specify any outputs. To address this issue, either add output dependencies to the script phase, or configure it to run in every build by unchecking "Based on dependency analysis" in the script phase. (in target 'React-graphics' from project 'Pods')
Run script build phase 'Create Symlinks to Header Folders' will be run during every build because it does not specify any outputs. To address this issue, either add output dependencies to the script phase, or configure it to run in every build by unchecking "Based on dependency analysis" in the script phase. (in target 'React-ImageManager' from project 'Pods')
Run script build phase 'Create Symlinks to Header Folders' will be run during every build because it does not specify any outputs. To address this issue, either add output dependencies to the script phase, or configure it to run in every build by unchecking "Based on dependency analysis" in the script phase. (in target 'React-featureflagsnativemodule' from project 'Pods')
Run script build phase 'Create Symlinks to Header Folders' will be run during every build because it does not specify any outputs. To address this issue, either add output dependencies to the script phase, or configure it to run in every build by unchecking "Based on dependency analysis" in the script phase. (in target 'React-runtimescheduler' from project 'Pods')
Run script build phase '[CP-User] [Hermes] Replace Hermes for the right configuration, if needed' will be run during every build because it does not specify any outputs. To address this issue, either add output dependencies to the script phase, or configure it to run in every build by unchecking "Based on dependency analysis" in the script phase. (in target 'hermes-engine' from project 'Pods')
Run script build phase '[CP-User] Generate app.config for prebuilt Constants.manifest' will be run during every build because it does not specify any outputs. To address this issue, either add output dependencies to the script phase, or configure it to run in every build by unchecking "Based on dependency analysis" in the script phase. (in target 'EXConstants' from project 'Pods')
Run script build phase '[CP-User] [RN]Check rncore' will be run during every build because it does not specify any outputs. To address this issue, either add output dependencies to the script phase, or configure it to run in every build by unchecking "Based on dependency analysis" in the script phase. (in target 'React-Fabric' from project 'Pods')
Run script build phase 'Create Symlinks to Header Folders' will be run during every build because it does not specify any outputs. To address this issue, either add output dependencies to the script phase, or configure it to run in every build by unchecking "Based on dependency analysis" in the script phase. (in target 'React-Fabric' from project 'Pods')
Run script build phase 'Create Symlinks to Header Folders' will be run during every build because it does not specify any outputs. To address this issue, either add output dependencies to the script phase, or configure it to run in every build by unchecking "Based on dependency analysis" in the script phase. (in target 'React-nativeconfig' from project 'Pods')
Run script build phase 'Create Symlinks to Header Folders' will be run during every build because it does not specify any outputs. To address this issue, either add output dependencies to the script phase, or configure it to run in every build by unchecking "Based on dependency analysis" in the script phase. (in target 'fmt' from project 'Pods')
Run script build phase 'Create Symlinks to Header Folders' will be run during every build because it does not specify any outputs. To address this issue, either add output dependencies to the script phase, or configure it to run in every build by unchecking "Based on dependency analysis" in the script phase. (in target 'React-RuntimeHermes' from project 'Pods')
Run script build phase 'Create Symlinks to Header Folders' will be run during every build because it does not specify any outputs. To address this issue, either add output dependencies to the script phase, or configure it to run in every build by unchecking "Based on dependency analysis" in the script phase. (in target 'React-FabricImage' from project 'Pods')
Run script build phase 'Create Symlinks to Header Folders' will be run during every build because it does not specify any outputs. To address this issue, either add output dependencies to the script phase, or configure it to run in every build by unchecking "Based on dependency analysis" in the script phase. (in target 'React-performancetimeline' from project 'Pods')
Run script build phase '[CP-User] [RNFB] Core Configuration' will be run during every build because it does not specify any outputs. To address this issue, either add output dependencies to the script phase, or configure it to run in every build by unchecking "Based on dependency analysis" in the script phase. (in target 'memoryjournal' from project 'memoryjournal')
Run script build phase '[CP-User] Generate updates resources for expo-updates' will be run during every build because it does not specify any outputs. To address this issue, either add output dependencies to the script phase, or configure it to run in every build by unchecking "Based on dependency analysis" in the script phase. (in target 'EXUpdates' from project 'Pods')
Run script build phase 'Create Symlinks to Header Folders' will be run during every build because it does not specify any outputs. To address this issue, either add output dependencies to the script phase, or configure it to run in every build by unchecking "Based on dependency analysis" in the script phase. (in target 'ReactCodegen' from project 'Pods')
Run script build phase 'Create Symlinks to Header Folders' will be run during every build because it does not specify any outputs. To address this issue, either add output dependencies to the script phase, or configure it to run in every build by unchecking "Based on dependency analysis" in the script phase. (in target 'React-debug' from project 'Pods')
duplicate output file '/Users/alexstathis/Library/Developer/Xcode/DerivedData/memoryjournal-djbjhkzjjwngtmczjcshvxssjejl/Build/Products/Debug-iphonesimulator/react-native-executorch/react_native_executorch.framework/Headers/Constants.h' on task: CpHeader /Users/alexstathis/Library/Developer/Xcode/DerivedData/memoryjournal-djbjhkzjjwngtmczjcshvxssjejl/Build/Products/Debug-iphonesimulator/react-native-executorch/react_native_executorch.framework/Headers/Constants.h /Users/alexstathis/dev/memory-journal-app/node_modules/react-native-executorch/ios/RnExecutorch/utils/Constants.h (in target 'react-native-executorch' from project 'Pods')
duplicate output file '/Users/alexstathis/Library/Developer/Xcode/DerivedData/memoryjournal-djbjhkzjjwngtmczjcshvxssjejl/Build/Products/Debug-iphonesimulator/react-native-executorch/react_native_executorch.framework/Headers/Constants.h' on task: CpHeader /Users/alexstathis/Library/Developer/Xcode/DerivedData/memoryjournal-djbjhkzjjwngtmczjcshvxssjejl/Build/Products/Debug-iphonesimulator/react-native-executorch/react_native_executorch.framework/Headers/Constants.h /Users/alexstathis/dev/memory-journal-app/node_modules/react-native-executorch/ios/RnExecutorch/utils/llms/Constants.h (in target 'react-native-executorch' from project 'Pods')
duplicate output file '/Users/alexstathis/Library/Developer/Xcode/DerivedData/memoryjournal-djbjhkzjjwngtmczjcshvxssjejl/Build/Products/Debug-iphonesimulator/react-native-executorch/react_native_executorch.framework/Headers/ETModel.h' on task: CpHeader /Users/alexstathis/Library/Developer/Xcode/DerivedData/memoryjournal-djbjhkzjjwngtmczjcshvxssjejl/Build/Products/Debug-iphonesimulator/react-native-executorch/react_native_executorch.framework/Headers/ETModel.h /Users/alexstathis/dev/memory-journal-app/node_modules/react-native-executorch/ios/ExecutorchLib.xcframework/ios-arm64/ExecutorchLib.framework/Headers/ETModel.h (in target 'react-native-executorch' from project 'Pods')
duplicate output file '/Users/alexstathis/Library/Developer/Xcode/DerivedData/memoryjournal-djbjhkzjjwngtmczjcshvxssjejl/Build/Products/Debug-iphonesimulator/react-native-executorch/react_native_executorch.framework/Headers/LLaMARunner.h' on task: CpHeader /Users/alexstathis/Library/Developer/Xcode/DerivedData/memoryjournal-djbjhkzjjwngtmczjcshvxssjejl/Build/Products/Debug-iphonesimulator/react-native-executorch/react_native_executorch.framework/Headers/LLaMARunner.h /Users/alexstathis/dev/memory-journal-app/node_modules/react-native-executorch/ios/ExecutorchLib.xcframework/ios-arm64/ExecutorchLib.framework/Headers/LLaMARunner.h (in target 'react-native-executorch' from project 'Pods')
Run script build phase 'Create Symlinks to Header Folders' will be run during every build because it does not specify any outputs. To address this issue, either add output dependencies to the script phase, or configure it to run in every build by unchecking "Based on dependency analysis" in the script phase. (in target 'React-RuntimeCore' from project 'Pods')
Run script build phase 'Create Symlinks to Header Folders' will be run during every build because it does not specify any outputs. To address this issue, either add output dependencies to the script phase, or configure it to run in every build by unchecking "Based on dependency analysis" in the script phase. (in target 'React-utils' from project 'Pods')
Run script build phase 'Create Symlinks to Header Folders' will be run during every build because it does not specify any outputs. To address this issue, either add output dependencies to the script phase, or configure it to run in every build by unchecking "Based on dependency analysis" in the script phase. (in target 'Yoga' from project 'Pods')
Run script build phase 'Create Symlinks to Header Folders' will be run during every build because it does not specify any outputs. To address this issue, either add output dependencies to the script phase, or configure it to run in every build by unchecking "Based on dependency analysis" in the script phase. (in target 'React-Mapbuffer' from project 'Pods')
Run script build phase 'Create Symlinks to Header Folders' will be run during every build because it does not specify any outputs. To address this issue, either add output dependencies to the script phase, or configure it to run in every build by unchecking "Based on dependency analysis" in the script phase. (in target 'RCT-Folly' from project 'Pods')
Run script build phase 'Create Symlinks to Header Folders' will be run during every build because it does not specify any outputs. To address this issue, either add output dependencies to the script phase, or configure it to run in every build by unchecking "Based on dependency analysis" in the script phase. (in target 'React-NativeModulesApple' from project 'Pods')
Run script build phase 'Create Symlinks to Header Folders' will be run during every build because it does not specify any outputs. To address this issue, either add output dependencies to the script phase, or configure it to run in every build by unchecking "Based on dependency analysis" in the script phase. (in target 'React-rendererdebug' from project 'Pods')
Run script build phase 'Create Symlinks to Header Folders' will be run during every build because it does not specify any outputs. To address this issue, either add output dependencies to the script phase, or configure it to run in every build by unchecking "Based on dependency analysis" in the script phase. (in target 'React-domnativemodule' from project 'Pods')
Run script build phase 'Create Symlinks to Header Folders' will be run during every build because it does not specify any outputs. To address this issue, either add output dependencies to the script phase, or configure it to run in every build by unchecking "Based on dependency analysis" in the script phase. (in target 'React-defaultsnativemodule' from project 'Pods')
Run script build phase 'Create Symlinks to Header Folders' will be run during every build because it does not specify any outputs. To address this issue, either add output dependencies to the script phase, or configure it to run in every build by unchecking "Based on dependency analysis" in the script phase. (in target 'React-microtasksnativemodule' from project 'Pods')
Run script build phase 'Create Symlinks to Header Folders' will be run during every build because it does not specify any outputs. To address this issue, either add output dependencies to the script phase, or configure it to run in every build by unchecking "Based on dependency analysis" in the script phase. (in target 'React-idlecallbacksnativemodule' from project 'Pods')
Run script build phase 'Create Symlinks to Header Folders' will be run during every build because it does not specify any outputs. To address this issue, either add output dependencies to the script phase, or configure it to run in every build by unchecking "Based on dependency analysis" in the script phase. (in target 'React-rendererconsistency' from project 'Pods')
Run script build phase 'Create Symlinks to Header Folders' will be run during every build because it does not specify any outputs. To address this issue, either add output dependencies to the script phase, or configure it to run in every build by unchecking "Based on dependency analysis" in the script phase. (in target 'React-jserrorhandler' from project 'Pods')
Run script build phase '[CP-User] [RN]Check rncore' will be run during every build because it does not specify any outputs. To address this issue, either add output dependencies to the script phase, or configure it to run in every build by unchecking "Based on dependency analysis" in the script phase. (in target 'React-FabricComponents' from project 'Pods')
Run script build phase 'Create Symlinks to Header Folders' will be run during every build because it does not specify any outputs. To address this issue, either add output dependencies to the script phase, or configure it to run in every build by unchecking "Based on dependency analysis" in the script phase. (in target 'React-FabricComponents' from project 'Pods')
Run script build phase 'Create Symlinks to Header Folders' will be run during every build because it does not specify any outputs. To address this issue, either add output dependencies to the script phase, or configure it to run in every build by unchecking "Based on dependency analysis" in the script phase. (in target 'RNReanimated' from project 'Pods')
Run script build phase 'Create Symlinks to Header Folders' will be run during every build because it does not specify any outputs. To address this issue, either add output dependencies to the script phase, or configure it to run in every build by unchecking "Based on dependency analysis" in the script phase. (in target 'React-featureflags' from project 'Pods')
Run script build phase 'Create Symlinks to Header Folders' will be run during every build because it does not specify any outputs. To address this issue, either add output dependencies to the script phase, or configure it to run in every build by unchecking "Based on dependency analysis" in the script phase. (in target 'ReactCommon' from project 'Pods')
Run script build phase 'Create Symlinks to Header Folders' will be run during every build because it does not specify any outputs. To address this issue, either add output dependencies to the script phase, or configure it to run in every build by unchecking "Based on dependency analysis" in the script phase. (in target 'React-RuntimeApple' from project 'Pods')
› 3 error(s), and 40 warning(s)
CommandError: Failed to build iOS project. "xcodebuild" exited with error code 65. Snack or a link to a repositoryReact Native Executorch version0.2.0 React Native version0.76.5 PlatformsiOS JavaScript runtimeNone WorkflowNone ArchitectureNone Build typeNone DeviceNone Device modelNo response AI modelNo response Performance logsNo response AcknowledgementsYes |
Beta Was this translation helpful? Give feedback.
Replies: 9 comments 1 reply
-
Hello, is your app running on new architecture? If yes, you can try to open .xcworkspace of your app in xcode and try to clean build folder(Product -> Clean Build Folder). Also running app from xcode can provide more understandable errors. |
Beta Was this translation helpful? Give feedback.
-
hi @NorbertKlockiewicz Yes it's new arch, i just tried cleaning build folder and running from xcode with no different result unfortunately, also i tried the example project and that worked so i know it's not my machine but most likely my project. ![]() |
Beta Was this translation helpful? Give feedback.
-
I've investigated this issue and as you are using firebase you have for sure set |
Beta Was this translation helpful? Give feedback.
-
Thanks so much for looking into it and i'll be sure to keep an eye on future releases! |
Beta Was this translation helpful? Give feedback.
-
I'm also facing this issue @NorbertKlockiewicz - the issue is that upcoming releases are lock to the new architecture. |
Beta Was this translation helpful? Give feedback.
-
@al3xstathis add a pre_install block into your Podfile if you're using
|
Beta Was this translation helpful? Give feedback.
-
This is a major blocker for me. I tried this fix however it results in the packaged unlocking whenever I am running a development build with expo. |
Beta Was this translation helpful? Give feedback.
-
@ereid7 could You expand on your problem? I am not sure I understand the part about 'it results in the packaged unlocking' |
Beta Was this translation helpful? Give feedback.
-
Also seeing this.
IMHO this will greatly hinder the adoption of the framework if it needs customization or extra steps to make it work with expo projects. Is it possible to "fix" it and make it work out of the box with expo? |
Beta Was this translation helpful? Give feedback.
@al3xstathis add a pre_install block into your Podfile if you're using
use_frameworks! :linkage => :static
: