• 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直接删除的操作,居然问题解决了。
     
     
     
     
     
    无论如何,问题是解决了,也算是一种方法,以后遇到类似的问题,也可以参照一下。
  • 相关阅读:
    Jvm年轻代复制到Survivor To区时,对象存放不下会发生什么?
    Jvm内存布局和Java对象内存布局
    ArrayList的removeIf和iterator.remove性能比较
    闲着没事做,用js做了一个冒泡排序的动画
    对象与this
    idea 简记
    线程按序交替
    大数阶乘
    序列化 与 反序列化
    人月神话
  • 原文地址:https://www.cnblogs.com/richard-youth/p/5478386.html
Copyright © 2020-2023  润新知