- android - RelativeLayout 背景可绘制重叠内容
- android - 如何链接 cpufeatures lib 以获取 native android 库?
- java - OnItemClickListener 不起作用,但 OnLongItemClickListener 在自定义 ListView 中起作用
- java - Android 文件转字符串
我遇到如下链接错误:
+[WeChatApiUtil DecodeBase64:] in libWeChatSDK.a(WeChatApiUtil.o)
"_deflate", referenced from:
+[MTAWXOHelper GZip:Out:] in libWeChatSDK.a(MTAWXOHelper.o)
"_deflateEnd", referenced from:
+[MTAWXOHelper GZip:Out:] in libWeChatSDK.a(MTAWXOHelper.o)
"_deflateInit2_", referenced from:
但我已经将这些库添加到我的目标中。但目前所有这些库都有不同的扩展名 .tbd。
有什么想法吗?谢谢。
最佳答案
链接待定文件时,XCode 7 中存在一个已知问题。这是苹果开发者论坛关于如何在 XCode 7 中链接待定文件的答案的链接 - https://forums.developer.apple.com/message/8609#8609
[下面提供了链接中的片段]
This is a known issue in the Xcode 7 beta.
To work around this issue for now, please:
- Delete all references to .tbd files from either your linked libraries phase, or from the copied bundle resources phase (where they sometimes will be added).
- Add the library you want to link manually to the "Other Linker Flags" build settings, by adding the argument: -l for each library you want to link (for example, add "-lsqlite3" (without quotes)).
For those who are curious, the .tbd files are new "text-based stub libraries", that provide a much more compact version of the stub libraries for use in the SDK, and help to significantly reduce its download size.
关于ios - 如何链接到 xcode 7 beta 中的 libz 和 libsqlite?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/30859416/
我在评论中提出了这个问题,但这似乎是一个值得单独提问的问题。 我有一个项目在三个不同的 XCode 安装和两个不同的 iOS SDK 安装之间共享。目前,统一所涉及的开发人员不是一种选择。 当我安装
我正在关注 this tutorial 教程说明要添加 libz.1.2.3.dylib. 库,但是因为我下载了新的或旧的库(我不知道我的库是新的还是旧的教程中的库,但 99% 是较新的)。所以,当我
我刚刚遇到了 libz 的一个非常奇怪的行为。如果我只是使用 compress 功能一切正常,但如果我尝试,例如。将压缩数据保存到文件,我收到 Z_BUF_ERROR。我做错了什么? #include
从 linux-mint 版本 18.2 上的源构建 Mesos 1.3.0 我收到以下消息: configure: error: cannot find libz 当我尝试搜索以 libz* 开头的
我之前用的是 NDK 13.1,但是更新到 16.1(好像是最新的)之后,我的 Android 项目不能 libz 了。 ``` Error:(693) Android NDK: Module png
我正在创建一个 unizp 文件的应用程序,谷歌搜索后我发现我们可以使用 Cocoa touch 中已经可用的 libz.dylib。令我感到奇怪的是,我找不到 libs.dylib 的任何文档。谁能
在我的项目中,我有几个链接错误,每个错误都指向缺少 libz。这是示例: Undefined symbols for architecture arm64: "_inflateReset2",
基本上,当我解压缩存储在 OSX Lion 上的文件时,我会得到 zip 文件名作为文件夹,其中包含文件...... 因此,解压缩 zipfile.zip 会得到文件夹“zipfile”,其中包含 3
我正在尝试手动将 Google Analytics Service SDK 安装到 Xcode 项目。 谷歌文档说我需要将 libz.dylib 添加到链接库中。当我在目标的常规选项卡中点击链接框架和
我刚刚从源代码编译的 python 3.3 版本: $ ldd ./python linux-gate.so.1 => (0xb776c000) libpthread.so.0 =>
我正在尝试编译我使用 zlib 编写的程序的 32 位版本 (MinGW)。到目前为止,我从来没有为 32 位编译过,所以我从源代码 (libz.a) 编译的 zlib 版本是 64 位的。我试图在
将项目移动到 Xcode 4.2 时,在 Xcode 4.0.3 中编译和链接正常的项目上,我收到许多 Mach-O 链接器 Unresolved 错误,例如 _crc32、_expf 和 _Unwi
当构建 haskell-stack 时,我得到以下错误: store-0.3: download store-0.3: configure store-0.3: build -- While bui
我的项目中的详细信息: 使用 swift 1 需要支持 iOS 7 使用 ZipArchive 不使用 cocoapods 或其他东西 在我的项目中,我需要解压缩一些东西。所以我正在使用 ZipArc
精简版 将我的可执行文件链接到几个库,包括 libgio-2.0.so.0.4800.1 (libgio-2.0.so) 和 libz.so.1.2.8 (libz.so),我得到两个未解析的符号 -
我在我的新 Swift 2.0 项目中使用了一些来自谷歌的外部代码,这些代码在早期版本中需要“libz.dylib”。更新到新的 Xcode/新的 SDK 之后。 Xcode 现在无法导入 libz.
我在 ubuntu 12.04 上遇到了一个问题: /usr/lib/ndk/android-ndk-r8c/toolchains/arm-linux-androideabi-4.6/prebuilt
错误: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool:
当我尝试在 Julia 中使用 Requests 时,输出了以下错误: julia> using Requests INFO: Precompiling module Requests... ERRO
我按照这个步骤 从本地 Frameworks 文件夹中删除 libz.1.2.3。 在项目导航器的顶部选择您的项目。 选择您的应用目标。 打开“将二进制文件与库链接”。 点击“+”只可用libz.1.
我是一名优秀的程序员,十分优秀!