Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

macOS使用appstore publisher时,报provision profile无效的错误 #126

Open
yohom opened this issue May 9, 2023 · 1 comment
Open

Comments

@yohom
Copy link

yohom commented May 9, 2023

直接使用flutter build macos然后在xcode中archive可以上传到appstoreconnect,但是用flutter_distributor不行。
配置脚本:

  # macOS appstore
  - name: macstore
    jobs:
      - name: release-prod-macos
        package:
          platform: macos
          target: zip
          build_args:
            verbose:
            release: true
            dart-define:
              APP_ENV: prod
              SANDBOX: true
        publish_to: appstore

错误信息:

NSUnderlyingError = "Error Domain=IrisAPI Code=-19241 \"Asset validation failed\" UserInfo={status=409, detail=Invalid Provisioning Profile. The provisioning profile included in the bundle *** is invalid. [Invalid 'com.apple.developer.aps-environment' entitlement value.] For more information, visit the macOS Developer Portal., id=58a2ee5a-fcc3-4d5f-94f6-d482f09a8c9d, code=STATE_ERROR.VALIDATION_ERROR.90283, title=Asset validation failed, NSLocalizedFailureReason=Invalid Provisioning Profile. The provisioning profile included in the bundle *** is invalid. [Invalid 'com.apple.developer.aps-environment' entitlement value.] For more information, visit the macOS Developer Portal., NSLocalizedDescription=Asset validation failed}";
    "iris-code" = "STATE_ERROR.VALIDATION_ERROR.90283";
}
@lijy91
Copy link
Member

lijy91 commented May 9, 2023

appstore publisher 似乎不支持 macos。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants