如何在 iOS 中使用 bzip2 格式?Apple 告诉我 bzBuffToBuffDecompress 是私有 API [英] How to use bzip2 format in iOS? Apple tell me bzBuffToBuffDecompress is private APIs

查看:50
本文介绍了如何在 iOS 中使用 bzip2 格式?Apple 告诉我 bzBuffToBuffDecompress 是私有 API的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

今天我将我的 iOS 应用提交到了应用商店,但很快我收到了一封来自苹果的邮件,它说,

Today I submit my iOS App to app store, but soon I got a mail from apple, it said that,

无法发布到 App Store因为它正在使用私有或未记录的 API:

cannot be posted to the App Store because it is using private or undocumented APIs:

Private Symbol References

BZ2_bzBuffToBuffDecompress

如您所知,如 iPhone 中所述开发者计划许可协议第 3.3.1 节,非公开的使用不允许使用 API.在你之前应用程序可以审查申请审核小组,请解决此问题并将新的二进制文件上传到 iTunes连接.

As you know, as outlined in the iPhone Developer Program License Agreement section 3.3.1, the use of non-public APIs is not permitted. Before your application can be reviewed by the App Review Team, please resolve this issue and upload a new binary to iTunes Connect.

我该怎么办?我的应用确实需要 bzip2 格式支持.

What should I do? I realy need bzip2 format support in my app.

推荐答案

由于 bzip2 的许可是兼容的(请阅读),您可以静态链接 bzip2 而不是动态链接.稍微搜索一下就可以找到 iOS-libarchive 来帮助您做到这一点.

Since the license of bzip2 is compatible (read it, please) you can statically link against bzip2 instead of dynamically. A bit of searching lead to iOS-libarchive that will help you do that.

这篇关于如何在 iOS 中使用 bzip2 格式?Apple 告诉我 bzBuffToBuffDecompress 是私有 API的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆