汇总Xcode使用中几个小问题
2013-05-07 16:48
351 查看
一、[WARN]Warning: Multiple build commands for output file /xxx
xcode中 有时候会报一个警告:[WARN]Warning: Multiple build commands for output file /xxx
要解决这个问题很简单:
1.选择你的工程
2.选择target
3.点击 Build Phases
4.展开Copy Bundle Resources
5.删除里面的刚才提示警告的文件,一般为红色的名字的文件
二、No value was provided for the parameter ‘appIdName’ when provisioning
Xcode 自动提交certificate
requests的时候,需要寻找一个“Wildcard” 的app Id,如果你丢了这个(一般是自动创建的),那么xcode的自动请求就会失败。解决起来也很简单。
1) “Revoke” any existing certificates you might have from within the developer portal(把所有的certificates都Revoke一下)
2) Create a new “App Id”; title it “Wildcard”; and enter only ” * ” (without any spaces or quotes) as the suffix.(创建一个名为Wildcard的app id,suffix敲入*。关键步骤)
3) Try the automated certificate request from within Xcode again, and it should now work(在xcode上再来一次)。
三、如何关闭Xcode批量替换时的snapshot?
File->Project Settings, and then click on the ‘Snapshots’ tab: you want to uncheck the “Create snapshot of project before mass-editing operations” box.
四、inhouse账号和adhoc账号签名重名会非常麻烦。
如果遇到这个问题建议inhouse包和adhoc的包在不同的机器上打。
五、warning:No previous prototype for function “xxx”。
1.方法上加修饰符static
2.或者Project-Info -> TARGETS ->Build Settings -> LLVM GCC4.2 – Warnings组 -> Missing Function Prototypes Yes->No
六、Declaration of ‘struct sockaddr_in’ will not be visible outside of this function
Reachability.h中最前面添加头文件:#import <netinet/in.h> .
相关文章推荐
- 汇总Xcode使用中几个小问题
- 汇总Xcode使用中几个小问题
- 几个Office使用中的小问题解决方法汇总
- 【汇总】iOS开发及Xcode使用中遇到的一些报错问题汇总
- 【汇总】iOS开发及Xcode使用中遇到的一些报错问题汇总
- 使用 linux的几个需要注意的问题(之二)
- 使用Spring Data Redis时,遇到的几个问题
- BugFree 安装和使用常见问题汇总
- Eclipse初次java开发问题总结-4-Maven使用问题汇总
- cognos使用问题汇总
- Git使用常见问题解决方法汇总
- Xcode中git的使用方法介绍与"Please tell me who you are"问题的解决方案
- 使用GDI+时需要注意的几个问题
- 常量,字段,构造方法 调试 ms 源代码 一个C#二维码图片识别的Demo 近期ASP.NET问题汇总及对应的解决办法 c# chart控件柱状图,改变柱子宽度 使用C#创建Windows服务 C#服务端判断客户端socket是否已断开的方法 线程 线程池 Task .NET 单元测试的利剑——模拟框架Moq
- 关于phpstudy中使用composer的几个问题
- 使用WebDriver遇到的一些问题汇总
- 使用Xcode6.1.1打包出现Your account already has a valid iOS Distribution certificate问题
- ios,android使用HTML5开发问题汇总
- Xcode使用心得01:断点中断问题和调整编译目标
- 使用freertos V9.0.0需要注意的几个问题