Code Monkey home page Code Monkey logo

Comments (7)

EzioLi01 avatar EzioLi01 commented on June 10, 2024

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.

sandeepsuthar avatar sandeepsuthar commented on June 10, 2024

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?

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.

EzioLi01 avatar EzioLi01 commented on June 10, 2024

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?

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.

sandeepsuthar avatar sandeepsuthar commented on June 10, 2024

@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 avatar EzioLi01 commented on June 10, 2024

@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.

EzioLi01 avatar EzioLi01 commented on June 10, 2024

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.

sandeepsuthar avatar sandeepsuthar commented on June 10, 2024

@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:

  1. Create new RN project
  2. Add new scheme (QAT) and custom configuration in Xcode (Debug-QAT)
  3. Try to run this scheme and configuration from launch.json file for iOS in debug mode.

from vscode-react-native.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.