最近两天,我一直在尝试将我的应用提交到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)我试图下载最新的fld sdk版本 c)我重建了整个钥匙串。
我现在如此绝望。我累了。 我该怎么办?
互联网上没有提及此错误。
答案 0 :(得分:2)
几分钟前,我曾多次从App Store团队收到相同的消息。
我认为问题是Flutter SDK版本...!
我以前通常使用最新版本(Flutter SDK版本1.12.3-pre.26),但将Flutter SDK版本更改为“ v1.9.1 + hotfix.3”,问题已解决!!!
我通过以下说明解决了这个问题:
使用以下命令将Flutter SDK版本切换为“ v1.9.1 + hotfix.3”:
flutter版本v1.9.1 + hotfix.3
存档并再次上传...
- 问题已解决!!!!! ?
答案 1 :(得分:2)
这可能是recently-introduced Skia regression。
该代码已包含在Flutter v1.12.3中,因此dev channel上的v1.12.2应该可以工作。
在有此问题的修复程序后,Flutter的Bad Build wiki page将得到更新。
更新:Flutter v1.12.5中已解决此问题。
答案 2 :(得分:0)
由于最近出现了很多颤振问题(当我尝试另一个答案中提到的修复程序时,我遇到了另一个错误),尽管我应该包含此https://github.com/flutter/flutter/releases
只需输入flutter version [version code]