zoukankan      html  css  js  c++  java
  • Info.plist与Prefix.pch修改文件位置遇到的问题及解决方法

    Info.plist与Prefix.pch修改文件位置遇到的问题及解决方法     
     
      如果要更改Info.plist与Prefix.pch文件实际路径,也就是实际文件的位置(不是在工程中的组织路径),需要到Build Settings中修改对应的配置,不然工程就找不到对应的Info.plist与Prefix.pch文件。  

    报错情况:

    1、Info.plist文件路径错误

    error: could not read data from '/Users/sf_gxd/Desktop/Gasake/Gasake/Gasake-Info.plist': The file “Gasake-Info.plist” couldn’t be opened because there is no such file.  
    2、prefix.pch文件路径错误  
    clang: error: no such file or directory: '/Users/sf_gxd/Desktop/Gasake/Gasake/Gasake-Prefix.pch'  
    clang: error: no input files  

    解决方案:

    将路径  按照自己工程 修改正确,Clean一下,然后运行即可。  
     

    修改如下所示

     
    1.在Build Settings中搜索pch 修改如下两个路径,报错原因是三者路径不一样
     
     
     
     
    2.
     
     
     
    错误原因:
     
     
     
     
     
  • 相关阅读:
    转载-MongoDB 分片集群技术
    EXT4参数优化及测试---转载
    9.16周记
    PHP优化思路
    2018.09.10-拾遗
    周记8
    落地成盒-发快递
    周记7
    GTX log 6
    Gitlab Jenkins WebHook 持续集成配置踩坑记
  • 原文地址:https://www.cnblogs.com/geek6/p/4038361.html
Copyright © 2011-2022 走看看