Please provide the following:
SDK Version: 49
Platforms(Android/iOS/web/all): IOS
Add the appropriate “Tag” based on what Expo library you have a question on.
Hi guys,
I have a react-native app that has been wrapped with expo 49. During development, since I have used expo go, it worked flawlessly and I nearly finished the app. When I want to deploy the app, I build the project with expo and create an ipa file. But somehow the app crashes immediately when I want to open it. During this runtime, the only thing that may mean somehing is below:
I am having the same error
FrontBoard 18:24:03.164308+0200 Scene FBSceneManager/sceneID:app.aaa.www-default update failed: <NSError: 0x28505c120; domain: FBSceneErrorDomain; code: 1 (operation-failed); reason: "Scene update failed."> {
NSUnderlyingError = <NSError: 0x280e9c7b0; domain: BSServiceConnectionErrorDomain; code: 3 (OperationFailed); reason: "XPC error received on message reply handler">;
} 32
FrontBoard 18:24:03.164525+0200 Scene FBSceneManager/sceneID:app.aaa.www-default update failed: <NSError: 0x281195740; domain: FBSceneErrorDomain; code: 1 (operation-failed); reason: "Scene update failed."> {
NSUnderlyingError = <NSError: 0x280e9c6f0; domain: BSServiceConnectionErrorDomain; code: 3 (OperationFailed); reason: "XPC error received on message reply handler">;
} 32
FrontBoard 18:24:03.164994+0200 Scene FBSceneManager/sceneID:app.aaa.www-default update failed: <NSError: 0x28505c8d0; domain: FBSceneErrorDomain; code: 1 (operation-failed); reason: "Scene update failed."> {
NSUnderlyingError = <NSError: 0x280e9d440; domain: BSServiceConnectionErrorDomain; code: 3 (OperationFailed); reason: "XPC error received on message reply handler">;
} 32
Also my app includes dependencies below:
"@expo-google-fonts/inter": "^0.2.3",
"@expo/rudder-sdk-node": "^1.1.1",
"@expo/spawn-async": "^1.7.2",
"@expo/vector-icons": "^13.0.0",
"@expo/xcpretty": "^4.2.2",
"@miblanchard/react-native-slider": "^2.3.1",
"@react-native-masked-view/masked-view": "^0.2.9",
"@react-navigation/native": "^6.1.7",
"@react-navigation/stack": "^6.3.17",
"@reduxjs/toolkit": "^1.9.5",
"expo": "^49.0.6",
"expo-app-loading": "^2.1.1",
"expo-blur": "~12.4.1",
"expo-font": "~11.4.0",
"expo-status-bar": "~1.6.0",
"expo-updates": "~0.18.11",
"install": "^0.13.0",
"lottie-react-native": "5.1.6",
"react": "18.2.0",
"react-native": "0.72.3",
"react-native-dropdown-picker": "^5.4.6",
"react-native-dropdown-select-list": "^2.0.4",
"react-native-elements": "^3.4.3",
"react-native-gesture-handler": "~2.12.0",
"react-native-maps": "1.7.1",
"react-native-pager-view": "6.2.0",
"react-native-reanimated": "~3.3.0",
"react-native-safe-area-context": "4.6.3",
"react-native-screens": "~3.22.0",
"react-native-snap-carousel": "^4.0.0-beta.6",
"react-native-tab-view": "^3.5.1",
"react-native-webview": "13.2.2",
"react-redux": "^8.1.1"
There is this answer:
opened 09:56PM - 18 Jul 23 UTC
closed 12:15AM - 22 Jul 23 UTC
needs review
### Minimal reproducible example
https://github.com/cantide5ga/ExpoUpdateIssueR… epro
### Summary
For some time now, I've been experiencing immediate ios crashes in both local dev in a simulator and an EAS build after installing and configuring expo-updates. I've had to abandon it several times due to all the time put in to troubleshooting, but have decided to revisit again in hopes someone can point out something obvious. This is for an existing bare app where in the latest attempt I followed these instructions: https://docs.expo.dev/bare/installing-updates/?redirected
Minimal repro project setup using ONLY https://reactnative.dev/docs/environment-setup and installing expo-updates per link above:
1. clone https://github.com/cantide5ga/ExpoUpdateIssueRepro
2. cd into project and `npm install` and `pod install` from ios/ directory
3. `npm start` and `npm run ios` to start the app locally
Captured device errors/faults console output for the crash upon launching the app:
```
error 15:32:24.634809-0600 runningboardd memorystatus_control error: MEMORYSTATUS_CMD_CONVERT_MEMLIMIT_MB(-1) returned -1 1 (Operation not permitted)
error 15:32:24.634821-0600 runningboardd memorystatus_control error: MEMORYSTATUS_CMD_CONVERT_MEMLIMIT_MB(0) returned -1 1 (Operation not permitted)
error 15:32:24.634979-0600 runningboardd [application<org.reactjs.native.example.ExpoUpdateIssueRepro>:7808] Memorystatus failed with unexpected error: Operation not permitted (1)
error 15:32:24.634988-0600 runningboardd [application<org.reactjs.native.example.ExpoUpdateIssueRepro>:7808] Memorystatus failed with unexpected error: Operation not permitted (1)
error 15:32:25.271831-0600 cfprefsd Couldn't open parent path due to [2: No such file or directory]
error 15:32:25.271944-0600 cfprefsd Couldn't open parent path due to [2: No such file or directory]
error 15:32:25.272134-0600 cfprefsd Couldn't open parent path due to [2: No such file or directory]
error 15:32:25.272521-0600 cfprefsd Couldn't open parent path due to [2: No such file or directory]
error 15:32:25.272579-0600 cfprefsd Couldn't open parent path due to [2: No such file or directory]
error 15:32:25.277232-0600 cfprefsd Couldn't open parent path due to [2: No such file or directory]
error 15:32:25.277292-0600 cfprefsd Couldn't open parent path due to [2: No such file or directory]
error 15:32:25.277514-0600 cfprefsd Couldn't open parent path due to [2: No such file or directory]
error 15:32:25.295192-0600 cfprefsd Couldn't open parent path due to [2: No such file or directory]
error 15:32:25.295267-0600 cfprefsd Couldn't open parent path due to [2: No such file or directory]
error 15:32:25.295378-0600 cfprefsd Couldn't open parent path due to [2: No such file or directory]
error 15:32:25.298665-0600 ExpoUpdateIssueRepro Info.plist contained no UIScene configuration dictionary (looking for configuration named "(no name)")
error 15:32:25.507034-0600 cfprefsd Couldn't open parent path due to [2: No such file or directory]
error 15:32:25.657672-0600 SpringBoard Didn't find grabberView for <SBAppLayout: 0x6000008cae00; primary: org.reactjs.native.example.ExpoUpdateIssueRepro:default; environment: main> {
configuration = full;
itemsToLayoutAttributes = {
sceneID:org.reactjs.native.example.ExpoUpdateIssueRepro-default = <SBDisplayItemLayoutAttributes: 0x600001414ea0; contentOrientation: "portrait (1)"; lastInteractionTime: 9; sizingPolicy: maximized; size: unspecified; center: unspecified; occlusionState: unknown; userConfiguredSizeBeforeOverlapping: unspecified; referenceBounds: unspecified; unoccludedPeekingCenter: unspecified>;
}
environment = main;
centerConfiguration = undefined;
preferredDisplayOrdinal = 0;
continuousExposeIdentifier = org.reactjs.native.example.ExpoUpdateIssueRepro;
layoutItems = {
primary = <SBDisplayItem: 0x600002885c80; type: App; bundleIdentifier: org.reactjs.native.example.ExpoUpdateIssueRepro; uniqueIdentifier: sceneID:org.reactjs.native.example.ExpoUpdateIssueRepro-default>;
}
}
error 15:32:25.657815-0600 SpringBoard Didn't find grabberView for <SBAppLayout: 0x6000008cae00; primary: org.reactjs.native.example.ExpoUpdateIssueRepro:default; environment: main> {
configuration = full;
itemsToLayoutAttributes = {
sceneID:org.reactjs.native.example.ExpoUpdateIssueRepro-default = <SBDisplayItemLayoutAttributes: 0x600001414ea0; contentOrientation: "portrait (1)"; lastInteractionTime: 9; sizingPolicy: maximized; size: unspecified; center: unspecified; occlusionState: unknown; userConfiguredSizeBeforeOverlapping: unspecified; referenceBounds: unspecified; unoccludedPeekingCenter: unspecified>;
}
environment = main;
centerConfiguration = undefined;
preferredDisplayOrdinal = 0;
continuousExposeIdentifier = org.reactjs.native.example.ExpoUpdateIssueRepro;
layoutItems = {
primary = <SBDisplayItem: 0x600002885c80; type: App; bundleIdentifier: org.reactjs.native.example.ExpoUpdateIssueRepro; uniqueIdentifier: sceneID:org.reactjs.native.example.ExpoUpdateIssueRepro-default>;
}
}
error 15:32:25.658576-0600 SpringBoard Advisor: No handle found for currently focused PID: 0; sceneIdentity: (null)
error 15:32:25.667049-0600 backboardd ignoring non-routable key commands for pid:7808 ((code: 29))
error 15:32:25.667117-0600 SpringBoard CGAffineTransformInvert: singular matrix.
error 15:32:25.667184-0600 SpringBoard CGAffineTransformInvert: singular matrix.
error 15:32:25.745299-0600 SpringBoard Scene FBSceneManager/sceneID:org.reactjs.native.example.ExpoUpdateIssueRepro-default update failed: <NSError: 0x60000295d800; domain: FBSceneErrorDomain; code: 1 (operation-failed); reason: "Scene update failed."> {
NSUnderlyingError = <NSError: 0x600002958fc0; domain: BSServiceConnectionErrorDomain; code: 3 (OperationFailed); reason: "XPC error received on message reply handler">;
}
error 15:32:25.745460-0600 SpringBoard Scene FBSceneManager/sceneID:org.reactjs.native.example.ExpoUpdateIssueRepro-default update failed: <NSError: 0x600002800ba0; domain: FBSceneErrorDomain; code: 1 (operation-failed); reason: "Scene update failed."> {
NSUnderlyingError = <NSError: 0x600002958ae0; domain: BSServiceConnectionErrorDomain; code: 3 (OperationFailed); reason: "XPC error received on message reply handler">;
}
error 15:32:25.745521-0600 SpringBoard Scene FBSceneManager/sceneID:org.reactjs.native.example.ExpoUpdateIssueRepro-default update failed: <NSError: 0x600002801050; domain: FBSceneErrorDomain; code: 1 (operation-failed); reason: "Scene update failed."> {
NSUnderlyingError = <NSError: 0x600002958de0; domain: BSServiceConnectionErrorDomain; code: 3 (OperationFailed); reason: "XPC error received on message reply handler">;
}
error 15:32:25.745609-0600 SpringBoard Scene FBSceneManager/sceneID:org.reactjs.native.example.ExpoUpdateIssueRepro-default update failed: <NSError: 0x60000295d800; domain: FBSceneErrorDomain; code: 1 (operation-failed); reason: "Scene update failed."> {
NSUnderlyingError = <NSError: 0x600002958990; domain: BSServiceConnectionErrorDomain; code: 3 (OperationFailed); reason: "XPC error received on message reply handler">;
}
error 15:32:25.746234-0600 SpringBoard Advisor: No handle found for currently focused PID: 7808; sceneIdentity: com.apple.frontboard.systemappservices::FBSceneManager:sceneID<decode: mismatch for [%3A] got [SCALAR public sz:4]>org.reactjs.native.example.ExpoUpdateIssueRepro-default
error 15:32:25.747315-0600 backboardd Unable to get short BSD proc info for 7808: No such process
error 15:32:25.747426-0600 backboardd Unable to get proc info for 7808: Undefined error: 0
error 15:32:25.747520-0600 backboardd Unable to get short BSD proc info for 7808: No such process
error 15:32:25.747627-0600 backboardd Unable to get proc info for 7808: Undefined error: 0
error 15:32:25.747761-0600 backboardd Unable to get short BSD proc info for 7808: No such process
error 15:32:25.747838-0600 backboardd Unable to get proc info for 7808: Undefined error: 0
error 15:32:25.747911-0600 backboardd Unable to get short BSD proc info for 7808: No such process
error 15:32:25.747946-0600 backboardd Unable to get proc info for 7808: Undefined error: 0
error 15:32:25.747993-0600 backboardd Unable to get short BSD proc info for 7808: No such process
error 15:32:25.748440-0600 backboardd Unable to get proc info for 7808: Undefined error: 0
error 15:32:25.748558-0600 backboardd Unable to get short BSD proc info for 7808: No such process
error 15:32:25.748682-0600 backboardd Unable to get proc info for 7808: Undefined error: 0
error 15:32:25.760940-0600 SpringBoard Error acquiring assertion: <Error Domain=RBSAssertionErrorDomain Code=2 "Specified target process does not exist" UserInfo={NSLocalizedFailureReason=Specified target process does not exist}>
error 15:32:25.766829-0600 SpringBoard Scene FBSceneManager/sceneID:org.reactjs.native.example.ExpoUpdateIssueRepro-default update failed: <NSError: 0x6000028c9590; domain: FBSceneErrorDomain; code: 1 (operation-failed); reason: "Scene update failed."> {
NSUnderlyingError = <NSError: 0x600002959020; domain: BSServiceConnectionErrorDomain; code: 3 (OperationFailed); reason: "XPC error received on message reply handler">;
}
error 15:32:25.767380-0600 backboardd Unable to get short BSD proc info for 7808: No such process
error 15:32:25.767471-0600 backboardd Unable to get proc info for 7808: Undefined error: 0
error 15:32:25.767501-0600 backboardd Unable to get short BSD proc info for 7808: No such process
error 15:32:25.767519-0600 backboardd Unable to get proc info for 7808: Undefined error: 0
error 15:32:25.767538-0600 backboardd Unable to get short BSD proc info for 7808: No such process
error 15:32:25.767554-0600 backboardd Unable to get proc info for 7808: Undefined error: 0
error 15:32:25.767565-0600 backboardd Unable to get short BSD proc info for 7808: No such process
error 15:32:25.767577-0600 backboardd Unable to get proc info for 7808: Undefined error: 0
error 15:32:25.767699-0600 backboardd Unable to get short BSD proc info for 7808: No such process
error 15:32:25.767769-0600 backboardd Unable to get proc info for 7808: Undefined error: 0
error 15:32:25.767852-0600 backboardd Unable to get short BSD proc info for 7808: No such process
error 15:32:25.767905-0600 backboardd Unable to get proc info for 7808: Undefined error: 0
error 15:32:25.768341-0600 SpringBoard Ignoring update for invalidated scene: sceneID:org.reactjs.native.example.ExpoUpdateIssueRepro-default
error 15:32:25.769025-0600 backboardd Unable to get short BSD proc info for 7808: No such process
error 15:32:25.769046-0600 backboardd Unable to get proc info for 7808: Undefined error: 0
error 15:32:25.769069-0600 backboardd Unable to get short BSD proc info for 7808: No such process
error 15:32:25.769082-0600 backboardd Unable to get proc info for 7808: Undefined error: 0
error 15:32:25.768843-0600 runningboardd RBSStateCapture remove item called for untracked item 827-824-466 (target:[application<org.reactjs.native.example.ExpoUpdateIssueRepro>:7808](UIScene:com.apple.frontboard.systemappservices::FBSceneManager:sceneID<decode: mismatch for [%3A] got [OBJECT public sz:219]>org.reactjs.native.example.ExpoUpdateIssueRepro-default))
error 15:32:25.769099-0600 backboardd Unable to get short BSD proc info for 7808: No such process
error 15:32:25.769112-0600 backboardd Unable to get proc info for 7808: Undefined error: 0
error 15:32:25.769140-0600 backboardd Unable to get short BSD proc info for 7808: No such process
error 15:32:25.769164-0600 backboardd Unable to get proc info for 7808: Undefined error: 0
error 15:32:25.769234-0600 backboardd Unable to get short BSD proc info for 7808: No such process
error 15:32:25.769301-0600 backboardd Unable to get proc info for 7808: Undefined error: 0
error 15:32:25.769414-0600 backboardd Unable to get short BSD proc info for 7808: No such process
error 15:32:25.769474-0600 backboardd Unable to get proc info for 7808: Undefined error: 0
error 15:32:25.803378-0600 SpringBoard Scene FBSceneManager/sceneID:org.reactjs.native.example.ExpoUpdateIssueRepro-default update failed: <NSError: 0x60000295ffc0; domain: FBSceneErrorDomain; code: 1 (operation-failed); reason: "Scene update failed."> {
NSUnderlyingError = <NSError: 0x6000028e28b0; domain: FBWorkspace; code: 1; reason: "Scene client is invalid.">;
}
error 15:32:25.804238-0600 SpringBoard CGAffineTransformInvert: singular matrix.
error 15:32:25.804295-0600 SpringBoard CGAffineTransformInvert: singular matrix.
error 15:32:25.806531-0600 SpringBoard Ignoring update for invalidated scene: sceneID:org.reactjs.native.example.ExpoUpdateIssueRepro-default
error 15:32:25.806626-0600 SpringBoard Error creating the CFMessagePort needed to communicate with PPT.
error 15:32:25.806746-0600 backboardd Unable to get short BSD proc info for 7808: No such process
error 15:32:25.806770-0600 backboardd Unable to get proc info for 7808: Undefined error: 0
error 15:32:25.806838-0600 backboardd Unable to get short BSD proc info for 7808: No such process
error 15:32:25.806914-0600 backboardd Unable to get proc info for 7808: Undefined error: 0
error 15:32:25.806951-0600 backboardd Unable to get short BSD proc info for 7808: No such process
error 15:32:25.806969-0600 backboardd Unable to get proc info for 7808: Undefined error: 0
error 15:32:25.808012-0600 SpringBoard CGAffineTransformInvert: singular matrix.
error 15:32:25.808065-0600 SpringBoard CGAffineTransformInvert: singular matrix.
error 15:32:26.292566-0600 cfprefsd Couldn't open parent path due to [2: No such file or directory]
error 15:32:26.292644-0600 cfprefsd Couldn't open parent path due to [2: No such file or directory]
error 15:32:26.292855-0600 cfprefsd Couldn't open parent path due to [2: No such file or directory]
error 15:32:26.293109-0600 cfprefsd Couldn't open parent path due to [2: No such file or directory]
error 15:32:26.293173-0600 cfprefsd Couldn't open parent path due to [2: No such file or directory]
error 15:32:26.295726-0600 proactiveeventtrackerd User passwd entry or home directory is not found
error 15:32:26.295774-0600 proactiveeventtrackerd Failed to initialize PETEventTracker2.
fault 15:32:26.295823-0600 proactiveeventtrackerd Failed to initialize the tracker
error 15:32:26.295842-0600 proactiveeventtrackerd Failed to initialize PET service. Exiting...
```
### Environment
```
expo-env-info 1.0.5 environment info:
System:
OS: macOS 13.4.1
Shell: 5.9 - /bin/zsh
Binaries:
Node: 19.7.0 - /opt/homebrew/bin/node
Yarn: 1.22.19 - /opt/homebrew/bin/yarn
npm: 9.5.0 - /opt/homebrew/bin/npm
Watchman: 2023.02.20.00 - /opt/homebrew/bin/watchman
Managers:
CocoaPods: 1.12.1 - /Users/cantide5ga/.rbenv/shims/pod
SDKs:
iOS SDK:
Platforms: DriverKit 22.2, iOS 16.2, macOS 13.1, tvOS 16.1, watchOS 9.1
IDEs:
Xcode: 14.2/14C18 - /usr/bin/xcodebuild
npmPackages:
expo: ^49.0.0 => 49.0.3
react: 18.2.0 => 18.2.0
react-native: 0.72.3 => 0.72.3
npmGlobalPackages:
eas-cli: 3.15.1
Expo Workflow: bare
```
But I really did not understand and idk if it actually is my problem.
Any ideas? I would appreciate a lot guys.
Thx for the help
BR