xcode - iOS: xcodebuild: error: The workspace '' does not contain a scheme named '' -


i'm trying release simulator build facebook review of app.

when run command see scheme called "roomify":

xcodebuild -list 
information project "roomify":     targets:         roomify         roomifytests      build configurations:         debug         release      if no build configuration specified , -scheme not passed "release" used.      schemes:         roomify         roomapp 

however, when try build fails telling me scheme doesn't exist, why so?

    >xcodebuild -arch i386 -sdk iphonesimulator8.3 -workspace roomify.xcworkspace/ -scheme roomify 
    build settings command line:         archs = i386         sdkroot = iphonesimulator8.3      xcodebuild: error: workspace 'roomify' not contain scheme named 'roomify'. 

turns out used wrong command list schemes in workspace.

instead of:

xcodebuild -list

do:

xcodebuild -workspace roomify.xcworkspace -list


Comments

Popular posts from this blog

javascript - Karma not able to start PhantomJS on Windows - Error: spawn UNKNOWN -

Nuget pack csproj using nuspec -

c# - Display ASPX Popup control in RowDeleteing Event (ASPX Gridview) -