Comments (7)
Hey @sandeepsuthar , could you please try to use your specific react-native start
or react-native run
command to launch your app, and use attach request to attach debugger? BTW, which version of rn are you using? Is rn 0.74.0-rc?
from vscode-react-native.
Hey @sandeepsuthar , could you please try to use your specific
react-native start
orreact-native run
command to launch your app, and use attach request to attach debugger? BTW, which version of rn are you using? Is rn 0.74.0-rc?
React Native - 0.73.6
When i am trying to run iOS to debug javascript code for custom configuration like Debug-QAT, it's causing issue.
from vscode-react-native.
Hey @sandeepsuthar , could you please try to use your specific
react-native start
orreact-native run
command to launch your app, and use attach request to attach debugger? BTW, which version of rn are you using? Is rn 0.74.0-rc?React Native - 0.73.6
When i am trying to run iOS for debug for custom configuration like Debug-QAT, it's causing issue.
Using react-native run-ios --configuration=Debug-QAT
still have this issue?
from vscode-react-native.
@EzioLi01 It showing below error:
error: unknown option '--configuration=Debug-QAT'
I have added custom configuration in Podfile and commented flipper due to using use_framework. Now below error coming:-
An error occurred while launching the application. Error while executing command '/usr/libexec/PlistBuddy -c 'Print:CFBundleIdentifier' '/Users/sandeep/Library/Developer/Xcode/DerivedData/RNDemo-dqioiohnqapxowgklepgivcozpqx/Build/Products/Debug-iphonesimulator/RNDemo.app/Info.plist'': Command failed: /usr/libexec/PlistBuddy -c 'Print:CFBundleIdentifier' '/Users/sandeep/Library/Developer/Xcode/DerivedData/RNDemo-dqioiohnqapxowgklepgivcozpqx/Build/Products/Debug-iphonesimulator/RNDemo.app/Info.plist' Print: Entry, ":CFBundleIdentifier", Does Not Exist (error code 303)
from vscode-react-native.
@EzioLi01 It showing below error: error: unknown option '--configuration=Debug-QAT'
I have added custom configuration in Podfile and commented flipper due to using use_framework. Now below error coming:-
An error occurred while launching the application. Error while executing command '/usr/libexec/PlistBuddy -c 'Print:CFBundleIdentifier' '/Users/sandeep/Library/Developer/Xcode/DerivedData/RNDemo-dqioiohnqapxowgklepgivcozpqx/Build/Products/Debug-iphonesimulator/RNDemo.app/Info.plist'': Command failed: /usr/libexec/PlistBuddy -c 'Print:CFBundleIdentifier' '/Users/sandeep/Library/Developer/Xcode/DerivedData/RNDemo-dqioiohnqapxowgklepgivcozpqx/Build/Products/Debug-iphonesimulator/RNDemo.app/Info.plist' Print: Entry, ":CFBundleIdentifier", Does Not Exist (error code 303)
If you have issue on using 'npx react-native run-ios --runArguments'
directly in terminal, I think it should be react-native issue, not extension related, you should create an issue on correct repo.
from vscode-react-native.
Close this issue, if you have any updates, please reopen it. Any issue with react-native native command, please create issue in rn repo.
from vscode-react-native.
@EzioLi01 It's working from terminal with below command:-
react-native run-ios --scheme \"QAT\"
but while running from launch.json, it's showing below error:-
An error occurred while launching the application. Error while executing command '/usr/libexec/PlistBuddy -c 'Print:CFBundleIdentifier' '/Users/sandeep/Library/Developer/Xcode/DerivedData/RNDemo-dqioiohnqapxowgklepgivcozpqx/Build/Products/Debug-iphonesimulator/RNDemo.app/Info.plist'': Command failed: /usr/libexec/PlistBuddy -c 'Print:CFBundleIdentifier' '/Users/sandeep/Library/Developer/Xcode/DerivedData/RNDemo-dqioiohnqapxowgklepgivcozpqx/Build/Products/Debug-iphonesimulator/RNDemo.app/Info.plist' Print: Entry, ":CFBundleIdentifier", Does Not Exist (error code 303)
Please follow below steps to reproduce issue:
- Create new RN project
- Add new scheme (QAT) and custom configuration in Xcode (Debug-QAT)
- Try to run this scheme and configuration from launch.json file for iOS in debug mode.
from vscode-react-native.
Related Issues (20)
- [Bug] Reload and Show dev menu commands not working on Expo project HOT 1
- Skip extra commas for getting workspace settings HOT 9
- Is it possible to specify arguments to expo start command when debugging? HOT 3
- Fix security vulnerabilities - Bump JSON5 packages
- [Feature] Support react-native and expo doctor in command palette
- [Bug] Breakpoints Aren't Stopping for Expo Dev Client Development Builds in VS Code HOT 4
- Local Variable values not displaying when debugging React Native Windows app in VS Code HOT 7
- Port conflict when debugging with Expo-go HOT 3
- Prepare for 1.13.0
- [Feature] Add command for expo prebuild directories clean up
- [Feature] Integrate expo prebuild to generate react-native app for android and ios platform
- [Bug] LogCat not Detecting adb correctly on MAC HOT 1
- [Feature] Verify system typescript version for react-native when start RN packager
- [Feature] Add command to reopen QR code in webview for expo application
- [Bug] Cannot find module @react-native-community/cli-platform-ios/build/config/findXcodeProject in react-native 0.74.0 while debugging iOS HOT 1
- [Bug] An error occurred while launching the application. Not all success pattern were matched while launching iOS for react-native 0.74.0 HOT 1
- [Bug] The packager status indicator shows inconsistent state HOT 5
- [Feature] Provide project parameter in RN Packager Start/Stop Commands HOT 2
- [Feature] Improve rn packager user experience for multi-root workspace
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vscode-react-native.