DEV Community

Gag Labs
Gag Labs

Posted on

Scheme Bug

Ive been struggling with this problem for a few days and its mind boggling. I started a fresh project with the basics. All i have is a simple App.js file and thats it. Cleaning and Building in xcode works fine. The issue is when i run npx react-native run-ios it tells me:
"Could not find scheme TestApp. Please make sure the schema you want to run exists. Available schemas are: TestApp'. It says it has this ' at the end of the name. But when i search Xcode Schemes, it says there is no TestApp' anywhere, Only TestApp. and when i run

xcodebuild -list -workspace ios/TestApp.xcworkspace
Enter fullscreen mode Exit fullscreen mode

It shows that there is indeed only Test App:

Command line invocation:
    /Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild -list -project ios/TestApp.xcodeproj

User defaults from command line:
    IDEPackageSupportUseBuiltinSCM = YES

Information about project "TestApp":
    Targets:
        TestApp

    Build Configurations:
        Debug
        Release

    If no build configuration is specified and -scheme is not passed then "Release" is used.

    Schemes:
        TestApp

Enter fullscreen mode Exit fullscreen mode

So im a bit lost as to why this is telling me theres some misspelling or something going on where there indeed isnt??

Top comments (0)