Previously good projects now crash after a splash screen. It doesn’t seem to be a JS problem, so I created a new project and tried it on the iOS simulator, which caused a similar crash.
I tried using the following procedure.
-
expo init testApp
-
Select ‘tabs’ to create a project
-
Add “bundleIdentifier” to app.json
-
expo build: ios -t simulator
-
tar -xvzf .tar.gz
-
xcrun simctl install booted .app
-
xcrun simctl launch booted
setting information and error log
bundleIdentifier is hiding
▼app.json
{
"expo": {
"name": "Tab Navigation Template",
"slug": "testApp",
"privacy": "public",
"sdkVersion": "36.0.0",
"platforms": [
"ios",
"android",
"web"
],
"version": "1.0.0",
"orientation": "portrait",
"icon": "./assets/images/icon.png",
"scheme": "myapp",
"splash": {
"image": "./assets/images/splash.png",
"resizeMode": "contain",
"backgroundColor": "#ffffff"
},
"updates": {
"fallbackToCacheTimeout": 0
},
"assetBundlePatterns": [
"**/*"
],
"ios": {
"supportsTablet": true,
"bundleIdentifier": "***.*****.*****"
}
}
}
▼package.json
{
"main": "node_modules/expo/AppEntry.js",
"scripts": {
"start": "expo start",
"android": "expo start --android",
"ios": "expo start --ios",
"web": "expo start --web",
"eject": "expo eject",
"test": "jest --watchAll"
},
"jest": {
"preset": "jest-expo"
},
"dependencies": {
"@expo/vector-icons": "~10.0.0",
"@react-native-community/masked-view": "0.1.5",
"@react-navigation/bottom-tabs": "^5.0.0",
"@react-navigation/native": "^5.0.0",
"@react-navigation/stack": "^5.0.0",
"@react-navigation/web": "~1.0.0-alpha.9",
"expo": "~36.0.0",
"expo-asset": "~8.0.0",
"expo-constants": "~8.0.0",
"expo-font": "~8.0.0",
"expo-web-browser": "~8.0.0",
"react": "~16.9.0",
"react-dom": "~16.9.0",
"react-native": "https://github.com/expo/react-native/archive/sdk-36.0.0.tar.gz",
"react-native-gesture-handler": "~1.5.0",
"react-native-safe-area-context": "0.6.0",
"react-native-screens": "2.0.0-alpha.12",
"react-native-web": "~0.11.7"
},
"devDependencies": {
"@babel/core": "^7.0.0",
"babel-preset-expo": "~8.0.0",
"jest-expo": "~36.0.1"
},
"private": true
}
▼iOS Simulator Debug->Open System Log
Feb 19 13:11:19 USER-MacBook-Pro com.apple.CoreSimulator.SimDevice.D52D48F4-1CDA-4E75-A879-5DCD1C0A2157[3724] (UIKitApplication:***.*****.*****[9d25][rb-legacy][4446]): Could not find and/or execute program specified by service: 2: No such file or directory: /Users/USER/Library/Developer/CoreSimulator/Devices/D52D48F4-1CDA-4E75-A879-5DCD1C0A2157/data/Containers/Bundle/Application/945084E6-B0F0-4CA2-AB47-98EF02E3FA69/testApp.app/ComWebbiboMonocal
Feb 19 13:11:19 USER-MacBook-Pro syslogd[3726]: ASL Sender Statistics
Feb 19 13:11:19 USER-MacBook-Pro com.apple.CoreSimulator.SimDevice.D52D48F4-1CDA-4E75-A879-5DCD1C0A2157[3724] (UIKitApplication:***.*****.*****[9d25][rb-legacy][4446]): Service setup event to handle failure and will not launch until it fires.
Feb 19 13:11:19 USER-MacBook-Pro com.apple.CoreSimulator.SimDevice.D52D48F4-1CDA-4E75-A879-5DCD1C0A2157[3724] (UIKitApplication:***.*****.*****[9d25][rb-legacy][4446]): Service exited with abnormal code: 78
▼/library/logs/diagnosticreports
Process: ComWebbiboMonocal [3912]
Path: /Users/USER/Library/Developer/CoreSimulator/Devices/D52D48F4-1CDA-4E75-A879-5DCD1C0A2157/data/Containers/Bundle/Application/945084E6-B0F0-4CA2-AB47-98EF02E3FA69/testApp.app/ComWebbiboMonocal
Identifier: ComWebbiboMonocal
Version: ???
Code Type: X86-64 (Native)
Parent Process: launchd_sim [3724]
Responsible: SimulatorTrampoline [3598]
User ID: 501
Date/Time: 2020-02-19 12:06:55.152 +0900
OS Version: Mac OS X 10.15.2 (19C57)
Report Version: 12
Anonymous UUID: 4F0A0487-38D4-11AC-87A1-4F3DC1345134
Time Awake Since Boot: 3100 seconds
System Integrity Protection: enabled
Crashed Thread: Unknown
Exception Type: EXC_CRASH (SIGKILL)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Exception Note: EXC_CORPSE_NOTIFY
Termination Reason: Namespace SPRINGBOARD, Code 0x8badf00d
Backtrace not available
Unknown thread crashed with X86 Thread State (64-bit):
rax: 0x0000000000000000 rbx: 0x0000000000000000 rcx: 0x0000000000000000 rdx: 0x0000000000000000
rdi: 0x0000000000000000 rsi: 0x0000000000000000 rbp: 0x0000000000000000 rsp: 0x00007ffedfe3c500
r8: 0x0000000000000000 r9: 0x0000000000000000 r10: 0x0000000000000000 r11: 0x0000000000000000
r12: 0x0000000000000000 r13: 0x0000000000000000 r14: 0x0000000000000000 r15: 0x0000000000000000
rip: 0x000000011d810000 rfl: 0x0000000000000200 cr2: 0x0000000000000000
Logical CPU: 0
Error Code: 0x00000000
Trap Number: 0
Binary images description not available
External Modification Summary:
Calls made by other processes targeting this process:
task_for_pid: 0
thread_create: 0
thread_set_state: 0
Calls made by this process:
task_for_pid: 0
thread_create: 0
thread_set_state: 0
Calls made by all processes on this machine:
task_for_pid: 2408
thread_create: 0
thread_set_state: 0
Can you tell me how I can solve it