iOS Build error: Could not find xcode project

Hi everyone,

When I try building for iOS on AppFlow, I keep getting the following error: Error setting value ‘/Users/ionic/builds/icbfprojects/meateatingquality/ios/App/App.xcodeproj’ for option ‘xcodeproj’ [08:46:38]: You passed invalid parameters to ‘modify_cap_ios_config’. [08:46:38]: Check out the error below and available options by running fastlane action modify_cap_ios_config

I also get ‘Could not find Xcode project’ at a later stage.

I have removed platforms from the .gitignore before committing but still no joy. Any ideas?


Ionic CLI : 6.10.1 (/usr/local/lib/node_modules/@ionic/cli)

Ionic Framework : @ionic/angular 4.11.10

@angular-devkit/build-angular : 0.803.26

@angular-devkit/schematics : 8.3.26

@angular/cli : 8.3.28

@ionic/angular-toolkit : 2.2.0


Capacitor CLI : 2.1.1

@capacitor/core : 2.1.1


Cordova CLI : 9.0.0 (cordova-lib@9.0.1)

Cordova Platforms : ios 5.1.1

Cordova Plugins : cordova-plugin-ionic-keyboard 2.2.0, cordova-plugin-ionic-webview 4.2.0, (and 12 other plugins)


cordova-res : 0.15.1

native-run (update available: 1.0.0) : 0.2.8


ios-deploy : 1.9.2

ios-sim : 8.0.2

NodeJS : v10.15.3 (/usr/local/bin/node)

npm : 6.11.2

OS : macOS Catalina

Xcode : Xcode 11.4 Build version 11E146

1 Like


Did you ever find a solution to this? I am experiencing the same.

Hi kareema_ismail,

This usually happens in capacitor projects when the ios/ dir isn’t included in the commit. Verify that your ios/ dir is staged and pushed, then try a new build.

If you are not sure, you can try the following steps:

Make sure your platform directory is not included in your .gitignore file
run npm run build
run npx cap sync ios
push a commit and try a build in appflow using that commit.

If you are facing any further issues, I would encourage you to contact the Appflow support for further assistance.