diff --git a/packages/app-builder-lib/src/targets/pkg.ts b/packages/app-builder-lib/src/targets/pkg.ts index ffe65e70e4f..913faec8235 100644 --- a/packages/app-builder-lib/src/targets/pkg.ts +++ b/packages/app-builder-lib/src/targets/pkg.ts @@ -124,7 +124,7 @@ export class PkgTarget extends Target { ]) // process the template plist - const plistInfo = (await executeAppBuilderAsJson>(["decode-plist", "-f", propertyListOutputFile]))[0] + const plistInfo = (await executeAppBuilderAsJson>(["decode-plist", "-f", propertyListOutputFile]))[0].filter((it: any) => it.RootRelativeBundlePath !== "Electron.dSYM") if (plistInfo.length > 0) { const packageInfo = plistInfo[0] @@ -155,7 +155,6 @@ export class PkgTarget extends Target { // now build the package const args = [ "--root", rootPath, - "--identifier", this.packager.appInfo.id, "--component-plist", propertyListOutputFile, ]