Ios Fastlane导出ipa失败

Ios Fastlane导出ipa失败,ios,xcodebuild,fastlane,Ios,Xcodebuild,Fastlane,我正在尝试使用Fastlane来执行生成iPA文件的CI作业。 已成功生成存档文件。但对于出口部分,我不能让它工作 错误如下: error: exportArchive: test1.framework does not support provisioning profiles. Error Domain=IDEProvisioningErrorDomain Code=10 "test1.framework does not sup

我正在尝试使用Fastlane来执行生成iPA文件的CI作业。 已成功生成存档文件。但对于出口部分,我不能让它工作

错误如下:

        error: exportArchive: test1.framework does not support provisioning profiles.
        
        Error Domain=IDEProvisioningErrorDomain Code=10 "test1.framework does 
not support provisioning profiles." UserInfo={IDEDistributionIssueSeverity=3, 
    NSLocalizedDescription= test1.framework does not support provisioning profiles.,
     NSLocalizedRecoverySuggestion= test1.framework does not 
support provisioning profiles, but provisioning profile PROFILE_TEST1 has been manually specified. 
Remove this item from the "provisioningProfiles" dictionary in your Export Options property list.}
我可以理解错误,框架不支持配置文件。问题是我怎么才能把它拿走

这是我的Fastfile

lane :beta do |options|

    name = get_provisioning_profile(
      force: false,
      app_identifier: "com.xxx.test1",
      filename: "PROFILE_test1.mobileprovision")
    

    update_app_identifier(
      xcodeproj: "MyProject.xcodeproj",
      plist_path: "./mainInfo.plist", 
      app_identifier: "com.xxx.test1"
    )


    //Is this update_project_provisioning issue? I thought this line 
    //only setup my com.xxx.test1 to profile PROFILE_TEST1, correct?

    update_project_provisioning(xcodeproj: "MyProject.xcodeproj")



    build_app(
      workspace: "MyProject.xcworkspace", 
      output_directory: "./OutputFile",
      xcconfig: xcconfigPath,
        export_method: "enterprise",
        scheme: "MyProject"
      )

  end
我已尝试将导出选项设置为空,但仍然存在相同的错误

build_app(
          workspace: "MyProject.xcworkspace", 
          output_directory: "./OutputFile",
          xcconfig: xcconfigPath,
            export_method: "enterprise",
            scheme: "MyProject",
          export_options: {
             provisioningProfiles: {
               "com.xxx.framework1" => "",
               "com.xxx.framework2" => "",
             }
          })
编辑

使用此设置:

build_app(
          workspace: "MyProject.xcworkspace", 
          output_directory: "./OutputFile",
          xcconfig: xcconfigPath,
            export_method: "enterprise",
            scheme: "MyProject"
          )
输出为:

: ▸ Archive Succeeded
[19:03:09]: Generated plist file with the following values:
[19:03:09]: ▸ -----------------------------------------
[19:03:09]: ▸ {
[19:03:09]: ▸   "provisioningProfiles": {
[19:03:09]: ▸     "com.xxx/test1": "PROFILE_TEST1"
[19:03:09]: ▸   },
[19:03:09]: ▸   "method": "enterprise",
[19:03:09]: ▸   "signingStyle": "manual"
[19:03:09]: ▸ }
[19:03:09]: ▸ -----------------------------------------
我的Fastfile设置中有任何部分出错吗

如何为框架目标设置配置文件None? 谢谢你的帮助

编辑

如果我从
build\u app
中删除
xcconfig
选项,它将正常工作。如果设置,则提示上述错误