diff --git a/cli/src/config.ts b/cli/src/config.ts index b6cd8118a..40c46dbe5 100644 --- a/cli/src/config.ts +++ b/cli/src/config.ts @@ -356,13 +356,7 @@ async function determineIOSWebDirAbs( const m = pbxproj.match(re); - if (m === null) { - fatal(`Unrecognized structure in ${c.strong(pbxprojPath)}`); - } - - const [, sourceTree] = m; - - if (sourceTree === 'SOURCE_ROOT') { + if (m && m[1] === 'SOURCE_ROOT') { logger.warn( `Using the iOS project root for the ${c.strong( 'public',