开发证书删除
~/Library/MobileDevice/Provisioning Profiles
删除里面的文件,重新导入XX.mobileprovision
Pod 集成错误
Use the$(inherited)
flag, or
Remove the build settings from the target.
[!] The xxx [Debug]
target overrides the HEADER_SEARCH_PATHS
build setting defined in Pods/Target Support Files/Pods-xxx/Pods-xxx.debug.xcconfig'. This can lead to problems with the CocoaPods installation - Use the
$(inherited)` flag, or
- Remove the build settings from the target.
[!] The xxx[Debug]
target overrides the LIBRARY_SEARCH_PATHS
build setting defined in Pods/Target Support Files/Pods-xxx/Pods-xxx.debug.xcconfig'. This can lead to problems with the CocoaPods installation - Use the
$(inherited)` flag, or
- Remove the build settings from the target.
[!] The xxx[Release]
target overrides the HEADER_SEARCH_PATHS
build setting defined in Pods/Target Support Files/Pods-xxx/Pods-xxx.release.xcconfig'. This can lead to problems with the CocoaPods installation - Use the
$(inherited)` flag, or
- Remove the build settings from the target.
[!] The xxx[Release]
target overrides the LIBRARY_SEARCH_PATHS
build setting defined in Pods/Target Support Files/Pods-xxx/Pods-xxx.release.xcconfig'. This can lead to problems with the CocoaPods installation - Use the
$(inherited)` flag, or
- Remove the build settings from the target.
解决方法
Build Setting --> HEADER_SEARCH_PATHS--> 添加$(inherited)
Build Setting --> LIBRARY_SEARCH_PATHS--> 添加$(inherited)
xib storyboard 警告
Xcode Storyboard warning: Constraint referencing items turned off in current configuration. Turn off this constraint in the current configuration
This warning can be annoying and happens as of Xcode 6.1.1. The main problem is that you can not easily find the referenced constraint by clicking on the warning. I guess this is a bug and will get fixed sooner or later.
However, in the meantime you can use this little workaround:
Step 1: Detect annoying warning 😱
Step 2: Right/Ctrl-Click on warning, select Reveal in Log
😨
Step 3: Admire the beauty of the following log snippet:
... snip...
/Devel/MyCrippledAppNG/MyCrippledApp/Main_iPad.storyboard:Dlb-cb-nWC: warning: Constraint referencing items turned off in current configuration. Turn off this constraint in the current configuration.
/Devel/MyCrippledAppNG/MyCrippledApp/Main_iPad.storyboard:6Ze-mO-v5N: warning: Constraint referencing items turned off in current configuration. Turn off this constraint in the current configuration.
/Devel/MyCrippledAppNG/MyCrippledApp/Main_iPad.storyboard:9av-xw-u1o: warning: Constraint referencing items turned off in current configuration. Turn off this constraint in the current configuration.
/Devel/MyCrippledAppNG/MyCrippledApp/Main_iPad.storyboard:RPt-Uf-vaZ: warning: Constraint referencing items turned off in current configuration. Turn off this constraint in the current configuration.
/Devel/MyCrippledAppNG/MyCrippledApp/Main_iPad.storyboard:Rnc-4M-7jV: warning: Constraint referencing items turned off in current configuration. Turn off this constraint in the current configuration.
/Devel/MyCrippledAppNG/MyCrippledApp/Main_iPad.storyboard:epJ-D9-KEF: warning: Constraint referencing items turned off in current configuration. Turn off this constraint in the current configuration.
/Devel/MyCrippledAppNG/MyCrippledApp/Main_iPad.storyboard:4HC-Gu-01w: warning: Constraint referencing items turned off in current configuration. Turn off this constraint in the current configuration.... snip ...
Hmmm... What's this...?
Step 4: Let's toss that into the project search bar... 😐
😮 Yep, you guessed right. Click it.
Step 5: 😁 OMG! Enjoy a few extra minutes of productivity until Apple fixes this annoying bug. 😎
For 2016...
If you can't get it with 'Reveal in Log', show the Report Navigator. (That is the rightmost tab on the leftmost column.) Delve into the build results there. That will show the build log, including the constraint ID. courtesy buildsucceeded
鼠标速度调整
可以用终端命令来调整:
步骤: 1,打开终端 2,输入命令查看:defaults read -g com.apple.mouse.scaling 就可以看到当前的鼠标速度 3,输入命令修改:defaults write -g com.apple.mouse.scaling 7.5 就可以修改鼠标速度为 7.5 (数值你可以调 7---9,自己感觉速度,10 以上太快了,不建议) 4,重启电脑 OK 享受MM完美速度
插件工具
1.ESJsonFormat-Xcode json转模型文件 oc版本
2.VVDocumenter-Xcode 快速注释
3.JSPatchX xcode补齐jspach用
4.RTImageAssets 图片切割
5.FuzzyAutocompletePlugin代码提示
6.ClangFormat-的Xcode代码对齐
7.FastCoding-Xcode-Plugin快速定义
8.AutoHighlightSymbol
高亮选中