'React Native project doesn't run on ios without any messages
I developed my app for Android on Windows, and to test it for IOS, I set up my development environment on macOS. I installed everything without any problems. But when I run npx react-native run-ios, the process freezes on Building the app.... There are no error messages.
(The ^c comes from me when I stopped the process. If I wouldn't it just loads of in to infinity)
How can I debug this? Or does anyone have an idea what the problem might be?
I already checked out all questions related to similar problems on StackOverflow but couldn't find anything to fix this problem. Dependencies:
"dependencies": {
"@babel/preset-env": "^7.15.8",
"@react-native-community/async-storage": "^1.12.1",
"@react-native-community/datetimepicker": "^3.5.2",
"@react-native-community/masked-view": "0.1.10",
"@react-native-firebase/app": "^13.0.1",
"@react-native-firebase/auth": "^13.0.1",
"@react-native-firebase/firestore": "^13.0.1",
"date-fns": "^2.25.0",
"firebase": "^8.10.0",
"react": "16.13.1",
"react-dom": "16.13.1",
"react-native": "^0.64.0",
"react-native-gesture-handler": "~1.10.2",
"react-native-linear-gradient": "^2.5.6",
"react-native-purchases": "^4.4.1",
"react-native-reanimated": "^1.13.1",
"react-native-safe-area-context": "^3.2.0",
"react-native-screens": "^3.8.0",
"react-native-svg": "12.1.1",
"react-native-unimodules": "0.14.10",
"react-native-vector-icons": "^8.1.0",
"react-native-web": "~0.13.12",
"react-navigation": "^4.4.4",
"react-navigation-drawer": "^2.7.1",
"react-navigation-stack": "^2.10.4",
"uuid": "^3.4.0",
"victory-native": "^35.5.5"
},
Podfile:
require_relative '../node_modules/react-native/scripts/react_native_pods'
require_relative '../node_modules/@react-native-community/cli-platform-ios/native_modules'
platform :ios, '11.0'
target 'theta' do
config = use_native_modules!
use_react_native!(
:path => config[:reactNativePath],
# to enable hermes on iOS, change `false` to `true` and then install pods
:hermes_enabled => false
)
target 'thetaTests' do
inherit! :complete
# Pods for testing
end
# Enables Flipper.
#
# Note that if you have use_frameworks! enabled, Flipper will not work and
# you should disable the next line.
use_flipper!()
post_install do |installer|
react_native_post_install(installer)
__apply_Xcode_12_5_M1_post_install_workaround(installer)
end
end
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
