Description
When operating the challenge on a bodily gadget, particularly an iPhone 12 with iOS model 17.4.1, the appliance launches efficiently. Nevertheless, the recent reload characteristic and growth instruments deactivate, stopping me from successfully debugging the appliance.
Anticipated Conduct:
The appliance ought to run on the bodily gadget with energetic scorching reload and growth instruments, permitting for environment friendly debugging and growth.
Precise Conduct:
Upon operating the appliance on the desired gadget, the recent reload and growth instruments are disabled, hindering the debugging course of.
It is essential to say that solely occurs when the app runs on a bodily gadget, on the simulator works completely wonderful.
Extra Data:
-
This problem persists constantly throughout a number of makes an attempt.
-
No error messages or warnings are displayed through the course of.
-
The issue doesn’t happen when operating the appliance on a simulator
For extra data right here is the podfile
# Resolve react_native_pods.rb with node to permit for hoisting
require Pod::Executable.execute_command('node', ['-p',
'require.resolve(
"react-native/scripts/react_native_pods.rb",
{paths: [process.argv[1]]},
)', __dir__]).strip
platform :ios, min_ios_version_supported
prepare_react_native_project!
linkage = ENV['USE_FRAMEWORKS']
if linkage != nil
Pod::UI.places "Configuring Pod with #{linkage}ally linked Frameworks".inexperienced
use_frameworks! :linkage => linkage.to_sym
finish
goal 'KtdraApp' do
config = use_native_modules!
# Flags change relying on the env values.
flags = get_default_flags()
use_react_native!(
:path => config[:reactNativePath],
# Hermes is now enabled by default. Disable by setting this flag to false.
:hermes_enabled => flags[:hermes_enabled],
:fabric_enabled => flags[:fabric_enabled],
# An absolute path to your software root.
:app_path => "#{Pod::Config.occasion.installation_root}/.."
)
goal 'KtdraAppTests' do
inherit! :full
# Pods for testing
finish
post_install do |installer|
# https://github.com/fb/react-native/blob/major/packages/react-native/scripts/react_native_pods.rb#L197-L202
react_native_post_install(
installer,
config[:reactNativePath],
:mac_catalyst_enabled => false
)
__apply_Xcode_12_5_M1_post_install_workaround(installer)
finish
finish
React Native Model
0.72.6
Output of npx-react-native information
System:
OS: macOS 14.4.1
CPU: (8) arm64 Apple M2
Reminiscence: 68.47 MB / 16.00 GB
Shell:
model: "5.9"
path: /bin/zsh
Binaries:
Node:
model: 18.18.2
path: ~/.nvm/variations/node/v18.18.2/bin/node
Yarn:
model: 1.22.19
path: ~/.nvm/variations/node/v18.18.2/bin/yarn
npm:
model: 9.8.1
path: ~/.nvm/variations/node/v18.18.2/bin/npm
Watchman:
model: 2024.04.01.00
path: /decide/homebrew/bin/watchman
Managers:
CocoaPods:
model: 1.15.2
path: /decide/homebrew/bin/pod
SDKs:
iOS SDK:
Platforms:
- DriverKit 23.4
- iOS 17.4
- macOS 14.4
- tvOS 17.4
- visionOS 1.1
- watchOS 10.4
Android SDK: Not Discovered
IDEs:
Android Studio: 2022.3 AI-223.8836.35.2231.10811636
Xcode:
model: 15.3/15E204a
path: /usr/bin/xcodebuild
Languages:
Java:
model: 11.0.22
path: /usr/bin/javac
Ruby:
model: 2.6.10
path: /usr/bin/ruby
npmPackages:
"@react-native-community/cli": Not Discovered
react:
put in: 18.2.0
needed: 18.2.0
react-native:
put in: 0.72.6
needed: 0.72.6
react-native-macos: Not Discovered
npmGlobalPackages:
"*react-native*": Not Discovered
Android:
hermesEnabled: true
newArchEnabled: false
iOS:
hermesEnabled: true
newArchEnabled: false
Stacktrace or Logs
information Constructing (utilizing "xcodebuild -workspace KtdraApp.xcworkspace -configuration Debug -scheme KtdraApp -destination id=00008101-001608AA0A2B001E")
success Efficiently constructed the app
information Putting in and launching your app on iPhone
success Put in the app on the gadget.
warn No apps related. Sending "devMenu" to all React Native apps failed. Ensure that your app is operating within the simulator or on a telephone related by way of USB.
Ive tried:
-
Modify the xcode scheme
-
Use one other template for the challenge
-
Improve the react-native model
-
Use an iPad or one other bodily gadget