本文转载自  IOS开发xcode报错之has been modified since the precompiled header was built 其实我是升级xcode到4.6.3的时候遇到的一个也是has been modified since the precompiled header was built的问题,看一下 是clean一下就好了 今天做百度地图的时候第一次发现下面错误: 问题:Apple LLVM compiler 3.0 error file "BMKPointAn…
今天使用xcode编译工程发现一个问题,这里记录一下防止忘记 xcode报错: Command /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang failed with exit code 1 解决方案: 主工程的taget中BuildPhase中第二条中重新添加对应的文件即可…
转载的文章  很实用 IOS开发xcode报错之has been modified since the precompiled header was built 今天做百度地图的时候第一次发现下面错误: 问题:Apple LLVM compiler 3.0 error file "BMKPointAnnotation.h" has been modified since the precompiled header was built (原因:预编译头的时候文件被修改): 解决方法:1…
昨天把键盘拿起来拍一下清清灰,然后就发现Xcode报错了,Xcode报错Expected selector for Objective-C and Expected method body,也不知道什么原因,可能是按到什么键了.在网上搜索了一下报错,说是把这个文件删除了重新把代码写一遍.但发现还是报错. 有一篇文章提到,说报错在一个文件,而出错在另一个文件,于是找了一下打开的另一个类文件,仔细看了一下,确实是多了个  +  号在文件最开始的地方,删了就解决了.…
nginx 启动报错“var/run/nginx/nginx.pid" no such file or directory 今天刚搭建的nginx服务器启动时,报错“var/run/nginx/nginx.pid" no such file or directory,按照他的意思我在var/run/新建了一个文件夹nginx,重新启动,启动成功. 但是当我虚拟机重启后依然报错“var/run/nginx/nginx.pid" no such file or directory…
问题: Xcode项目发送网络请求时,报错:“App Transport Security has blocked a cleartext HTTP (http://) resource load since it is insecure. Temporary exceptions can be configured via your app’s Info.plist file”. 原因: 新特性要求App内访问网络请求,要采用 HTTPS 协议. 解决方法: 在Info.plist中,添加Di…
1,Xcode8  duplicate symbols 在Build Setting里面 NO Common Blocks 设置为NO,就解决问题了. 2,昨晚升级iOS9.2之后.今天一来真机调试就报错: Could not find Developer Disk Image 解决方法: 下载   DeveloperDiskImage_ios9.2   镜像 解压后将其放到下面目录下就可以了:/Applications/Xcode7.0.app/Contents/Developer/Platf…
问题: 重启虚拟机后,再次重启nginx会报错: open() "/var/run/nginx/nginx.pid" failed (2: No such file or directory) 解决方法: (1)进入 cd /usr/local/nginx/conf/ 目录,编辑配置文件nginx.conf : (2)在配置文件中有个注释的地方: #pid        logs/nginx.pid; (3)将注释放开,并修改为:pid    /usr/local/nginx/logs…
1, arc机制中调用非arc文件. Xcode——>Project->Build Phases,将需要非arc文件更改为:"-fno-objc-arc"   ,该参数可以启用手工管理引用计数的模式. http://www.cocoachina.com/bbs/read.php?tid=153926 二,限制只能竖屏展示 修改info.plist ,找到"Supported interface orientations" 设置item项为Portrait…
问题描述:执行 nginx -t 是OK的,然而在执行 nginx -s reload 的时候报错 nginx: [error] invalid PID number “” in “/run/nginx.pid” 解决办法 需要先执行 nginx -c /etc/nginx/nginx.conf nginx.conf文件的路径可以从nginx -t的返回中找到. nginx -s reload…