If you get “Assertion failed” build error when building the app
If you get this error “Assertion failed: (aliasSectionNum == sectionNum && “alias and its target must be located in the same section”), function assignAliasAtomOffsetInSection, file Layout.cpp, line 3324.”
try this solution: Please comment or delete these line for stripe plugin and then run and try again. ”@awesome-cordova-plugins/stripe”: “6.4.0”, “cordova-plugin-stripe”: “1.5.3”,
if that doesnt work, then remove this line
”@awesome-cordova-plugins/stripe”: “^6.4.0”,
from these 2 files in the root folder package.json package-lock.json
then run this command to check if there is any build error npx cap sync
if no error, build is successful