diff --git a/packages/react-native/scripts/ios-prebuild/swiftpackage.js b/packages/react-native/scripts/ios-prebuild/swiftpackage.js index dd4d168314d..9b09db000f4 100644 --- a/packages/react-native/scripts/ios-prebuild/swiftpackage.js +++ b/packages/react-native/scripts/ios-prebuild/swiftpackage.js @@ -26,7 +26,7 @@ function buildSwiftPackage( const buildCommand = `xcodebuild -scheme React -destination "generic/platform=${platform}" -derivedDataPath "${outputFolder}" ` + `-configuration "${buildType}" SKIP_INSTALL=NO BUILD_LIBRARY_FOR_DISTRIBUTION=YES OTHER_SWIFT_FLAGS="-no-verify-emitted-module-interface"`; - buildLog('Building Swift package for ' + 'debug'); + buildLog(`Building Swift package for ${buildType}`); buildLog(buildCommand); execSync(buildCommand, {