gpt4 book ai didi

xcode - 非公开 API 使用 Flutter.framework/Flutter : _kCTFontOpticalSizeAttribute error on upload of flutter app

转载 作者:行者123 更新时间:2023-12-03 03:12:21 25 4
gpt4 key购买 nike

在过去的两天里,我一直在尝试将我的应用程序提交到 App Store。我收到以下消息:

ITMS-90338: Non-public API usage - The app references non-public symbols in Frameworks/Flutter.framework/Flutter: _kCTFontOpticalSizeAttribute. If method names in your source code match the private Apple APIs listed above, altering your method names will help prevent this app from being flagged in future submissions. In addition, note that one or more of the above APIs may be located in a static library that was included with your app. If so, they must be removed. For further information, visit the Technical Support Information at http://developer.apple.com/support/technical/

这是我到目前为止所做的:

a)我已经搜索了我的代码以获取对字体大小的任何引用 - 我有一些是常量 - 我将常量名称更改为:
 k_fontSizeMyName

b) 我尝试下载最新的flutter sdk版本
c) 我重建了我的整个钥匙串(keychain)。

我现在好绝望。我累了。
我该怎么办?

互联网上没有提到这个错误。

最佳答案

几分钟前,我从 App Store 团队多次收到相同的消息。

我认为问题出在 Flutter SDK 版本上……!

一开始我用的是最新版本(Flutter SDK version 1.12.3-pre.26),后来把Flutter SDK版本改成'v1.9.1+hotfix.3',问题就解决了!!!

我通过以下说明解决了这个问题:

  1. Switching Flutter SDK version to 'v1.9.1+hotfix.3' with the command:

    flutter version v1.9.1+hotfix.3

  2. Archive and upload again ...

  3. Problem Solved!!!!!! 🤩

关于xcode - 非公开 API 使用 Flutter.framework/Flutter : _kCTFontOpticalSizeAttribute error on upload of flutter app,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/58894987/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com