java - 如何解决 App Store libicucore.A.dylib sumission 问题

标签 java mac-app-store

我在尝试将应用程序更新到 App Store 时遇到此错误:

2.5

The use of non-public APIs can lead to a poor user experience should these APIs change in the future, and is therefore not permitted. The following non-public APIs are included in your application:

Framework:

'/usr/lib/libicucore.A.dylib'

Non-public APIS:

: ubrk_getRuleStatus : ubrk_setUText : ucnv_getCanonicalName : ucnv_reset : ucol_strcollIter

If you have defined methods in your source code with the same names as the above-mentioned APIs, we suggest altering your method names so that they no longer collide with Apple's private APIs to avoid your application being flagged in future submissions.

Additionally, one or more of the above-mentioned APIs may reside in a library included with your application. If you do not have access to the library's source, you may be able to search the compiled binary using "strings" or "otool" command line tools. The "strings" tool can output a list of the methods that the library calls and "otool -ov" will output the Objective-C class structures and their defined methods. These techniques can help you narrow down where the problematic code resides.

最佳答案

问题源于应用程序是使用jdk1.8.0_65构建的。内嵌jdk。更确切地说,问题来自正在导入 libicucore.A.dylib 库的 libjfxwebkit.dylib 库。通过删除 libjfxwebkit.dylib 解决了该问题。详情 here .

关于java - 如何解决 App Store libicucore.A.dylib sumission 问题,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/34785942/

相关文章:

java - springdoc-openapi 通用 Controller 类型参数支持

java - 如何以编程方式打开新的浏览器窗口

java - ConcurrentHashMap 的 ConcurrentModificationException

java - 从hibernate拦截器获取实体字段注释

macos - Mac App Store产品构建

MAS 的 Electron(Mac 应用商店)

java - 匹配字符序列的正则表达式

xcode - OSX Mac 应用商店 : how to install a daemon shell script

macos - Electron/类星体-在签名和沙箱之后如何运行Mac应用程序?

xcode - “Mac Developer”和 “3rd Party Mac Developer Application”之间的区别