通过 Azuredevops 从应用程序中心在 iPhone 上安装应用程序时出现“应用程序开发人员需要更新它才能使用此版本的 iOS”错误

问题描述 投票:0回答:1

当我手动存档并创建 ipa 文件时,我可以将其安装在我的设备上。但是,当我运行管道来安装具有相同配置文件的相同应用程序时,我收到此错误。我在 podfile 中添加了以下代码以防止管道错误 65。 在 pod 文件中添加代码:

 installer.pods_project.build_configurations.each do |config|
      config.build_settings['PROVISIONING_PROFILE_SPECIFIER'] = ''
      config.build_settings['CODE_SIGNING_ALLOWED'] = 'NO'
      config.build_settings['CODE_SIGNING_REQUIRED'] = 'NO'
    end
    if target.respond_to?(:product_type) and target.product_type == "com.apple.product-type.bundle"
      target.build_configurations.each do |config|
          config.build_settings['PROVISIONING_PROFILE_SPECIFIER'] = ''
          config.build_settings['CODE_SIGNING_ALLOWED'] = 'NO'
          config.build_settings['CODE_SIGNING_REQUIRED'] = 'NO'
      end
    end
  end
ios react-native azure-pipelines
1个回答
0
投票

错误

The Developer of app needs to update it to work with this version of iOS
表示您的 DevOps 代理上的应用程序
NOT compatible
具有 iOS 版本。

因为它在您的本地计算机上运行,并且它有

iOS 17
。您可以使用
MacOS-13
代理,因为它有版本。
MacOS-12(MacOS-latest)
MacOS-11
没有 iOS17。

您可以在页面找到代理上的软件列表。

© www.soinside.com 2019 - 2024. All rights reserved.