vscode debug react-native IOS 报错



  • 错误信息:

    Could not debug. Could not found executable in /Volumes/File/Project/reactNative/jrtt/ios/build/Build/Products/Debug-iphonesimulator (error code 403)
    

    最后看到ios下的目录为

    ios/build/jrtt/Build/
    

    而不是

    ios/build/Build/
    

    项目是react-native创建的

    $: react-native init jrtt