I can’t finish the build on ionic app flow. However the build itself succeeds, but generating ipa is failing.
[15:23:30]: — Step: modify_cap_ios_config —
[15:23:30]: -----------------------------------
[15:23:30]: Error setting value ‘/Users/ionic/builds/project-0/ios/App/App.xcodeproj’ for option ‘xcodeproj’
[15:23:30]: You passed invalid parameters to ‘modify_cap_ios_config’.
[15:23:30]: Check out the error below and available options by running fastlane action modify_cap_ios_config
Also at the end of log I am getting:
[!] Could not find Xcode project
Make sure your platform directory is not included in your .gitignore
run npm run build
run npx cap sync ios
push a commit and try a build from that commit
I am using capacitor and to make it work I had to run “npx cap sync ios”, like @development-wezeo said, and add ios generated folder to commit (even though the documentation says not to).
After that it worked.