问题标签 [libtool-xcode]

For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.

0 投票
1 回答
75 浏览

ios - 将目标添加到已添加子库的库中

我首先将我的项目创建为静态库(A)并向其中添加了库(B 和 C)。经过一些构建设置修复后,我能够成功构建 Lib A。即它首先为 B 和 C 生成库。现在我为 Lib A 创建了一个新目标,并在 Link Binary With Libraries 中添加了 libA.a。但是现在如果构建我的新目标,它会直接尝试为 A 生成库,并且由于库 B、C 尚未创建,我收到错误 libB.a 未找到。

有人可以告诉我可能缺少什么或我需要添加一些构建设置,以便在 libA 之前生成 libB、C。

0 投票
0 回答
285 浏览

xcode - 构建 Xcode 项目需要 10 分钟。似乎卡在 libtool 上?

我正在查看我的构建消息,它似乎在这里停留了很长时间。这只是最近才发生的,而且非常突然。我试图恢复到以前的版本无济于事。

在此处输入图像描述

Libtool /Users/vu1/Library/Developer/Xcode/DerivedData/ThatInbox-astseeahhgcuwhgerbsnyfttztht/Build/Products/Debug-iphonesimulator/libPods.a normal i386

它有时会在干净的构建下卡在上面的线大约 8-10 分钟。5 分钟左右,之前成功构建。

我尝试清理、删除派生数据、修剪所有 cocoapods 库,但均未成功。我还尝试删除包文件夹中的 xcode 项目并允许它重新索引。即使是在成功构建的情况下,构建也需要大约 5-10 分钟。在过去,最多可能只需要 10-15 秒。

关于我应该从哪里开始寻找的任何想法?

0 投票
1 回答
720 浏览

ios - 链接错误:-Xlinker 中的未知选项字符“X”

以下链接器命令会导致以下错误。这是为 XCode for iOS 中的模拟器目标构建的。目前还不清楚是什么通过 XCode 提供了 Xlinker 参数。关于我如何在这里寻求解决方案的任何想法?

/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool -static -arch_only i386 -syslibroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/ iPhoneSimulator7.1.sdk -Xlinker -sectcreate -Xlinker __TEXT -Xlinker __entitlements -o libxxx.a

错误:/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool:未知选项字符“X”在:-Xlinker

(注意:这个错误似乎突然发生。同一个项目文件几天前正在构建中)。

0 投票
0 回答
466 浏览

c++ - 为什么 libtool 在这里失败了?

我正在使用 clang 安装 HEALPix(c++ 版本),当涉及到 libtool 命令时,进程崩溃:

我已经搜索了这个问题的含义和解决方案,但没有针对我正在使用的文件的解决方案。我想知道是否有人可以帮助解决这个问题?

我正在使用 Xcode 版本 6.1 (6A1052d) 并且我有最新的命令行工具 - 我尝试使用 libtool 使用 2 个目标文件制作一个非常简单的存档,并且出现了相同的错误。我应该提到我的 gcc 和 g++ 不工作并且可能是错误的来源 - 有没有办法强制 libtool 使用 clang(作为临时解决方法)?

我的 libtool 版本是:

也许有更新的版本?

0 投票
0 回答
376 浏览

ios - iOS libtool:未知选项字符“W”在:-Wl、-U、_JSContextGetGlobalObject

我最近在 Yosemite 上更新了 Xcode 6.1,并按照这些步骤修复了可可豆荚问题。我已经开始出现以下错误。

对问题的进一步调查,我发现 Pod 更新后在 Pods xconfig 文件中新生成了以下行。

我不知道为什么需要这样做,但从 Pods 配置中删除这一行解决了这个问题。当我再次更新 pod 时,它又回来了。有谁知道这是什么以及为什么会导致问题?

0 投票
2 回答
9046 浏览

android - Couldn't find libtoolize, even though I have installed libtool in OSX Yosimite

I want to use Make install command and I have installed all requirements like yasm, nasm, curl, ant, rsync and the autotools: autoconf, automake, aclocal, pkgconfig, libtool. (Exactly, I want to compile Linphone Android NDK from Here : https://github.com/BelledonneCommunications/linphone-android. I have follow all steps from there)

I have try to install libtoolize using this command:

But terminal always show :

Error: No available formula for libtoolize

If i try to make install, terminal will show :

Could not find libtoolize. Please install libtool.

Anybody can help ?

0 投票
1 回答
381 浏览

xcode - OpenTrack 构建时出现 Xcode libtool 错误

我使用 CMake 3.3.0-rc4 为 OpenTrack 生成了一个 Xcode 项目。但是,当我尝试在 Xcode 6.4 中构建 ALL_BUILD 目标时,我立即收到以下错误。

该项目的构建设置具有以下用于链接/其他图书馆员标志的设置:

从上面的 libtool 使用声明来看,在我看来,这组选项是为完全不同的 libtool 版本生成的。我可以做什么(如果有的话)让这个项目使用当前版本的 Xcode 构建?

0 投票
1 回答
742 浏览

xcode - xcode 7 中的 libtool 去了哪里?

我用于创建嵌入式框架的外部构建脚本依赖于 libtool,它位于 /Applications/Xcode 6.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin

为了使框架正确构建,我必须手动将 libtool 复制到 /Applications/Xcode 7.app/Contents/Developer/Platforms/iPhoneOS.platform/usr

使这种永久化的最佳方法是什么?使用 Travis CI 时怎么样?我觉得编辑 xcode 并不理想。

0 投票
0 回答
635 浏览

compilation - 适用于 iOS 的 MobileVLCKit 无法构建

我正在为我的项目克隆MobileVLCKit.framework。我必须对源代码进行一些小的调整,我不能使用现成的构建。

我正在遵循以下步骤: http ://thelazycoder.com/uncategorized/libmobilevlc

但是,我收到错误

0 投票
2 回答
3475 浏览

xcode - XCode 7 usr/bin/libtool: No such file or directory

Compiling a framework gives the following (slightly reformatted) error:

I used to fix this error by copying libtool from

but inside XCode 7 iPhoneOS.paltform, libtool is not anymore present:

iPhoneOS

I can get libtool from older versions of XCode, but I cannot be sure whether it is the same version of the binary. What is the correct approach to solve this?