`
zani
  • 浏览: 356517 次
  • 性别: Icon_minigender_1
  • 来自: 福州
社区版块
存档分类
最新评论

使cocopods管理开源库编译出现Library not found for -lPods问题的解决方法

 
阅读更多
  1. If Xcode complains when linking, e.g. Library not found for -lPods, it doesn't detect the implicit dependencies:

    • Go to Product > Edit Scheme
    • Click on Build
    • Add the Pods static library, and make sure it's at the top of the list
    • Clean and build again
    • If that doesn't work, verify that the source for the spec you are trying to include has been pulled from github. Do this by looking in <Project Dir>/Pods/<Name of spec you are trying to include>. If it is empty (it should not be), verify that the ~/.cocoapods/master/<spec>/<spec>.podspec has the correct git hub url in it.
    • If still doesn't work, check your XCode build locations settings. Go to Preferences -> Locations -> Derived Data -> Advanced and set build location to "Relative to Workspace".

       
  • 大小: 62.5 KB
分享到:
评论

相关推荐

    解决Xcode10以上编译报错 library not found for "-lstdc++.6"

    根据调试方式不同,真机和模拟器文件放置路径不同,分别复制对应的Lib文件到以下路径即可解决。 建议拷贝地址Shift + command + G前往 真机 /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS....

    编译时报 Looking for pthread_create - not found 的解决办法

    编译时报 Looking for pthread_create - not found 的解决办法 linux gcc 编译时报Looking for pthread_create - not found 其解决办法是...

    Xcode9的库

    这会导致使用旧版库的项目在编译时遇到“library not found libstdc++”这样的错误。 **解决方案** 为了解决"library not found libstdc++"的错误,开发者可以采取以下策略: 1. **升级库**:查找并更新依赖于`...

    解决android 模拟器 BMapApiEngine_xxx library not found! 错误

    在Android开发过程中,有时我们可能会遇到“BMapApiEngine_xxx library not found!”这样的错误,这通常是由于在使用百度地图SDK时,相应的动态库没有被正确加载导致的。本文将详细解析这个问题的原因,并提供解决...

    Linphone编译错误及解决方法

    Linphone编译错误及解决方法 Linphone是一款开源的VoIP电话软件,但是在编译过程中经常会遇到各种错误。这些错误可能是由于缺少依赖项、头文件、库文件等原因引起的。在这里,我们将列举一些常见的Linphone编译...

    File Not found 'DesignIntf.dcu'解决方法

    标题 "File Not found 'DesignIntf.dcu'解决方法" 描述了用户在使用Delphi D7(一种集成开发环境)时遇到的一个常见问题。在编程过程中,如果编译器无法找到'DesignIntf.dcu'这个文件,就会抛出错误提示。'...

    PCL for Android 编译过程遇到的问题及办法

    3. **编译FLANN**:FLANN(Fast Library for Approximate Nearest Neighbors)是一个用于近似最近邻搜索的库。在编译FLANN时可能会遇到一些问题,如文档中提到的`CMakeList.txt`中的错误。通过注释掉部分代码可以...

    Framework not found IOSurface for architecture arm64 解决方案

    /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks目录下的IOSurface.framework、FileProvider.framework拷到Xcode8中相应目录下...

    Framework not found IOSurface for architecture arm64(不能设为免费?)

    在iOS应用开发中,"Framework not found IOSurface for architecture arm64" 是一个常见的构建错误,这通常发生在尝试编译或运行项目时,系统无法找到指定的架构(arm64)所需的IOSurface框架。该问题可能由多种原因...

    ubuntu-version `GLIBC-2.25` not found.pdf

    GLIBC(GNU C Library)是Linux系统中的C库实现之一,负责提供核心API服务,包括内存管理、进程管理等。当系统运行依赖于特定GLIBC版本的应用程序时,若该版本未安装,则会导致程序无法正常启动。 #### 二、检测...

    environments was not found on the java.library.path 问题的解决方法

    标题中的问题 "The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path" 指的是在启动Apache Tomcat时遇到的一个错误,...

    编译qte4.6.3出现的问题解决方法

    如果出现提示 "You have not explicitly asked to use pkg-config and are cross-compiling.pkg-config will not be used to automatically query cflag/lib parameters for Dependencies...",这意味着在跨平台编译...

    launch failed binary not found(图文)手把手教你解决

    ### 解决“launch failed binary not found”的方法 在软件开发过程中,尤其是对于初学者而言,经常会遇到各种编译和运行时的问题。其中一个常见的错误就是“launch failed binary not found”。这篇文章将详细地...

    编译QT, version 'GLIBCXX_3.4.9' not found 的解决

    在32位linux操作系统上编译QT, /usr/lib/libstdc++.so.6报如上问题时,请提取32bit文件夹下的libstdc++.so.6.0.10文件。 后执行: os.system("rm /usr/lib/libstdc++.so.6") os.system("cp ./libstdc++.so.6.0.10 ...

    alsa-lib alsa-utils android环境编译

    warning: shared library text segment is not shareable error: treating warnings as errors 编译器的选项要加上 --no-fatal-warnings 可无论怎么加, 加到那儿都变成了g++的选项,可g++不认得它。郁闷 了一会 ...

    pthread-win32静态库的编译和使用方法

    pthread官方发布的有windows版本的预编译库,但那是动态库,不习惯,编译好一个文件,还要复制一大堆东西进去程序...内有详细的编译方法,调用该库的示例源代码和预先编译好的pthread-win32静态库,大家可以直接使用。

    编译ffmpeg for wince

    - 另一种方法是安装包含这些DLL文件的Cygwin软件包,这通常能更彻底地解决问题。 **2.2 缺失pkg-config工具** - **问题描述**:编译过程中可能会出现`WARNING: arm-mingw32ce-pkg-config not found`的警告,这...

    解决linux下出现/lib64/libstdc++.so.6: version `CXXABI_1.3.8' not found问题

    在Linux系统中,遇到“/lib64/libstdc++.so.6: version `CXXABI_1.3.8' not found”的错误提示通常意味着系统中的`libstdc++.so.6`库版本过低,无法满足某些应用程序运行所需的C++ ABI(Application Binary ...

    runtime error R6002 -floating point support not loaded解决办法

    runtime error R6002 -floating point support not loaded 将未出现过该错误的电脑中Keil的\ARM\ARMCC\bin\armlink.exe复制,覆盖掉报错电脑中的Keil安装目录下\ARM\ARMCC\bin\armlink.exe即可。每天出现该报错,...

    iOS12.1 libstdc++.6.0.9.tdb等3个lib文件

    总之,解决"library not found for -lstdc++.6.0.9"的问题通常需要理解库的版本需求,正确配置Xcode项目,以及适时更新或迁移代码。通过以上步骤,大多数情况下可以成功地让项目在iOS 12.1环境中运行。

Global site tag (gtag.js) - Google Analytics