uni-app SDK version issue

uni-app SDK version issue

开发环境 版本号 项目创建方式
Mac 13.4.1 HBuilderX

操作步骤:

  • 打包后上传提示警告

预期结果:

  • 正常交付

实际结果:

  • 警告交付

bug描述:

云打包后使用transporter上传后提示以下警告
SDK version issue. This app was built with the iOS 16.4 SDK. Starting April 29, 2024, all iOS and iPadOS apps must be built with the iOS 17 SDK or later, included in Xcode 15 or later, in order to be uploaded to App Store Connect or submitted for distribution. (90725)


更多关于uni-app SDK version issue的实战教程也可以访问 https://www.itying.com/category-93-b0.html

2 回复

警告而已不会影响审核,打包机会再规定时间内更新的

更多关于uni-app SDK version issue的实战教程也可以访问 https://www.itying.com/category-93-b0.html


When working with uni-app, you might encounter issues related to the SDK version. Here are some common scenarios and solutions:


1. SDK Version Mismatch

  • Issue: Your project might require a specific version of the uni-app SDK, but the installed version is incompatible.
  • Solution:
    • Check the package.json file for the required uni-app SDK version.
    • Update the SDK version using the following command:
      npm install uni-app@<version>
      
    • Alternatively, use npm install to install the correct version based on your package.json.

2. Outdated SDK

  • Issue: Your project might be using an outdated version of the uni-app SDK, leading to missing features or bugs.
  • Solution:
    • Update the SDK to the latest version:
      npm install uni-app@latest
      
    • After updating, rebuild your project:
      npm run build
      

3. Unsupported SDK Version

  • Issue: The version of the uni-app SDK you’re using might not support certain platforms (e.g., H5, WeChat Mini Program, etc.).
  • Solution:
    • Check the uni-app official documentation for platform-specific SDK requirements.
    • Downgrade or upgrade the SDK to a version that supports your target platform.

4. Conflicting Dependencies

  • Issue: Other dependencies in your project might conflict with the uni-app SDK version.
  • Solution:
    • Use npm ls to check for dependency conflicts.
    • Resolve conflicts by updating or downgrading conflicting packages.
    • Use npm dedupe to remove duplicate dependencies.

5. Custom SDK Version

  • Issue: You might need to use a custom or forked version of the uni-app SDK.
  • Solution:
    • Install the custom SDK from a Git repository or local path:
      npm install <git-repo-url>
回到顶部