• Coding编译连接过程中遇到的问题及解决方法(iOS)


    Github源码下载地址:https://github.com/Coding/Coding-iOS
     
    Coding 上下载地址: https://coding.net/u/coding/p/Coding-iPad/git
    Github源码下载地址:https://github.com/Coding/Coding-iPad
     
     
    第一个问题:
    diff: /../Podfile.lock: No such file or directory
    diff: /Manifest.lock: No such file or directory
    error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.
     
     
    解决方法:pod install

    [!] CocoaPods did not set the base configuration of your project because your project already has a custom config set. In order for CocoaPods integration to work at all, please either set the base configurations of the target `Coding_iOS` to `Pods/Target Support Files/Pods-Coding_iOS/Pods-Coding_iOS.debug.xcconfig` or include the `Pods/Target Support Files/Pods-Coding_iOS/Pods-Coding_iOS.debug.xcconfig` in your build configuration.

    [!] CocoaPods did not set the base configuration of your project because your project already has a custom config set. In order for CocoaPods integration to work at all, please either set the base configurations of the target `Coding_iOS` to `Pods/Target Support Files/Pods-Coding_iOS/Pods-Coding_iOS.release.xcconfig` or include the `Pods/Target Support Files/Pods-Coding_iOS/Pods-Coding_iOS.release.xcconfig` in your build configuration.
     
    cocoapods方面遇到的警告解决方法:
    然后再: pod install
     
    2. ld: library not found for -lPods
    clang: error: linker command failed with exit code 1 (use -v to see invocation)
     
     
    解决方法:几年了,由于第一次遇到这个问题,以前顶多也就是说ld: library not found for -lxxx  等缺失第三方库,这次的问题是缺失pods,网上说的方法也都基本上用过了,但是没有用。偶然看到stackoverflow上面有一段关于解决该问题的描述,虽然不是很匹配我的问题,但是我找到了我的项目对应的位置,并做了将libPods.a直接删除的操作,居然问题解决了。
     
     
     
     
     
    无论如何,问题是解决了,也算是一种方法,以后遇到类似的问题,也可以参照一下。
  • 相关阅读:
    linux上的工具或软件
    百度分享插件怎么取消鼠标放在图片上出现的分享条
    常用的Lambda表达式
    IDEA安装使用Lombok插件
    Spring cloud Eureka错误锦集(二)
    Spring cloud Eureka错误锦集(一)
    Navicat破解
    手动添加jar包到本地仓库
    Markdown常用语法
    Java中的位运算符
  • 原文地址:https://www.cnblogs.com/richard-youth/p/5478386.html
Copyright © 2020-2023  润新知