Compile Sources主要存放.m文件 Copy Bundle Resources 主要存放xib plist bundle js 文件…
处理方法: The INFOPLIST_FILE build setting specifies the name of the Info.plist associated with your target. When building a target, Xcode reads this build setting and copies the referencedInfo.plist into your application bundle. Because Xcode automatica…
WARNING: The Copy Bundle Resources build phase contains this target's Info.plist file 'Info.plist'. Q:  Why am I getting "WARNING: The Copy Bundle Resources build phase contains this target's Info.plist file 'Info.plist'"? And how do I fix it? A…
在编译程序时,遇到了这样的Waring:   Warning: The Copy Bundle Resources build phase contains this target's Info.plist file 'ChatDemo/ChatDemo-Info.plist'. 分析原因:出现这个警告是可能添加了你的Info.plist文件到你的Build Phase 的 Copy Bundle Resource中了. 因为:INFOPLIST_FILE 编译设置指定Info.plist这个名…
出现场景   项目中移除info.plist ,后来又重新拖拽回来,同时勾选了Copy items if needed 解决办法 1.删除(删除时选择Remove Reference) 2.重新添加info.plist, 记得不要勾选AddToTargets (只要去掉Add to targets就可以,解决方法不唯一)…
问题:使用xcode10打包报错,提示 error:Multiple commands produce ‘xxxx/xxx.app’ 1)Target ‘xx’ has create directory command with output ‘xxxxxxx' 2)That command depends on command in Target ‘xxx’:scrpit phase"[CP] Copy Pods Resources"   解决方法:将pod升级到1.4.0以上 原因…
一.问题来源 一直没有搞清楚NSString.NSArray.NSDictionary--属性描述关键字copy和strong的区别,看别人的项目中属性定义有的用copy,有的用strong.自己在开发中也是没有认真的去研究,至于使用copy还是用strong完全是根据心情随性而为,也一直没有出什么问题.可苹果竟然分了两个关键字,就肯定有其用意,为了提高自己还是要仔细的搞清楚其中之差别!好了,废话说完进入正题. 二.对象属性描述copy与strong的区别 直接上代码: ``` @propert…
http://blog.knowsky.com/194238.htm tomcat部署不成功 Deployment failure on Tomcat 6.x. Could not copy all resources to 2011-1-6 0:08:00来源:Java   解决办法: tomcat服务并没有启动.上网搜索之后发现和大家犯的是一个毛病,原来工程中我引了一个包,后来这个包被我给删除了,但是因为已经发布过这个工程了,所以classpath中就有这个包名了,这样发布的时候也会去找这个…
strong,weak,retain,assign,copy nomatic 等的区别 copy与retain:1.copy其实是建立了一个相同的对象,而retain不是:2.copy是内容拷贝,retain是指针拷贝:  3.copy是内容的拷贝 ,对于像NSString,的确是这样,但是如果copy的是一个NSArray呢?这时只是copy了指向array中相对应元素的指针.这便是所谓的"浅复制".4.copy的情况:NSString *newPt = [pt copy];此时会在…
[plain] <span style="font-size:18px;">Deployment failure on Tomcat  6.x. Could not copy all resources to D:\Program Files\apache-tomcat-6.0.16\webapps\fuNan_conv. If a file is locked, you can wait until the lock times out to redeploy, or s…