Skip to content

x64ArchFiles unknown property #6952

@andirsun

Description

@andirsun
  • Electron-Builder Version:
    Last 23.2.0
  • Node Version:
    16
  • Electron Version:
    17
  • Electron Type (current, beta, nightly):
  • Target:
    Mac
> streamline@4.0.18 desktop:release
> electron-builder --publish never

  • electron-builder  version=23.2.0 os=21.5.0
  • loaded configuration  file=/Users/julianacaromoreno/projects/streamline-web/electron-builder.yml
  ⨯ Invalid configuration object. electron-builder 23.2.0 has been initialized using a configuration object that does not match the API schema.
 - configuration.mac has an unknown property 'x64ArchFiles'. These properties are valid:
   object { appId?, artifactName?, asar?, asarUnpack?, binaries?, bundleShortVersion?, bundleVersion?, category?, compression?, cscInstallerKeyPassword?, cscInstallerLink?, cscKeyPassword?, cscLink?, darkModeSupport?, defaultArch?, detectUpdateChannel?, electronLanguages?, electronUpdaterCompatibility?, entitlements?, entitlementsInherit?, entitlementsLoginHelper?, executableName?, extendInfo?, extraDistFiles?, extraFiles?, extraResources?, fileAssociations?, files?, forceCodeSigning?, gatekeeperAssess?, generateUpdatesFilesForAllChannels?, hardenedRuntime?, helperBundleId?, helperEHBundleId?, helperGPUBundleId?, helperNPBundleId?, helperPluginBundleId?, helperRendererBundleId?, icon?, identity?, mergeASARs?, minimumSystemVersion?, protocols?, provisioningProfile?, publish?, releaseInfo?, requirements?, signIgnore?, singleArchFiles?, strictVerify?, target?, timestamp?, type? }
     How to fix:
     1. Open https://www.electron.build/configuration/mac
     2. Search the option name on the page (or type in into Search to find across the docs).
       * Not found? The option was deprecated or not exists (check spelling).
       * Found? Check that the option in the appropriate place. e.g. "title" only in the "dmg", not in the root.
  failedTask=build stackTrace=ValidationError: Invalid configuration object. electron-builder 23.2.0 has been initialized using a configuration object that does not match the API schema.
 - configuration.mac has an unknown property 'x64ArchFiles'. These properties are valid:
   object { appId?, artifactName?, asar?, asarUnpack?, binaries?, bundleShortVersion?, bundleVersion?, category?, compression?, cscInstallerKeyPassword?, cscInstallerLink?, cscKeyPassword?, cscLink?, darkModeSupport?, defaultArch?, detectUpdateChannel?, electronLanguages?, electronUpdaterCompatibility?, entitlements?, entitlementsInherit?, entitlementsLoginHelper?, executableName?, extendInfo?, extraDistFiles?, extraFiles?, extraResources?, fileAssociations?, files?, forceCodeSigning?, gatekeeperAssess?, generateUpdatesFilesForAllChannels?, hardenedRuntime?, helperBundleId?, helperEHBundleId?, helperGPUBundleId?, helperNPBundleId?, helperPluginBundleId?, helperRendererBundleId?, icon?, identity?, mergeASARs?, minimumSystemVersion?, protocols?, provisioningProfile?, publish?, releaseInfo?, requirements?, signIgnore?, singleArchFiles?, strictVerify?, target?, timestamp?, type? }
     How to fix:
     1. Open https://www.electron.build/configuration/mac
     2. Search the option name on the page (or type in into Search to find across the docs).
       * Not found? The option was deprecated or not exists (check spelling).
       * Found? Check that the option in the appropriate place. e.g. "title" only in the "dmg", not in the root.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  at validate (/Users/julianacaromoreno/projects/streamline-web/node_modules/@develar/schema-utils/dist/validate.js:86:11)
    at Object.validateConfig (/Users/julianacaromoreno/projects/streamline-web/node_modules/app-builder-lib/src/util/config.ts:240:3)
    at Packager._build (/Users/julianacaromoreno/projects/streamline-web/node_modules/app-builder-lib/src/packager.ts:342:5)
    at Packager.build (/Users/julianacaromoreno/projects/streamline-web/node_modules/app-builder-lib/src/packager.ts:337:12)
    at Object.executeFinally (/Users/julianacaromoreno/projects/streamline-web/node_modules/builder-util/src/promise.ts:12:14)

I want to know if this propery will solve the bug #6919

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions