[Bug]: cap run ios with renamed scheme does not work #7869
Labels
needs reply
needs reply from the user
needs reproduction
needs reproducible example to illustrate the issue
Capacitor Version
Other API Details
Platforms Affected
Current Behavior
npx cap run ios --scheme "App" --target 1BAA0137-1C11-4360-A94E-3E2A42207A1D
creates an App.app inios/DerivedData/1BAA0137-1C11-4360-A94E-3E2A42207A1D/Build/Products/Debug-iphonesimulator/App.app
, but I renamed the Application Scheme to "NEW_NAME" and it generatesios/DerivedData/1BAA0137-1C11-4360-A94E-3E2A42207A1D/Build/Products/Debug-iphonesimulator/NEW_NAME.app
. The logic is looking forApp.app
instead of the new nameNEW_NAME
. So this results into this error:After copying around the generated file
ios/DerivedData/1BAA0137-1C11-4360-A94E-3E2A42207A1D/Build/Products/Debug-iphonesimulator/NEW_NAME.app
toios/DerivedData/1BAA0137-1C11-4360-A94E-3E2A42207A1D/Build/Products/Debug-iphonesimulator/App.app
it is working.This is my
capacitor.config.json
Expected Behavior
The run command should consider the scheme name for looking up the proper app directory
Project Reproduction
Additional Information
No response
The text was updated successfully, but these errors were encountered: