Xcode编译错误纪录
2016-06-13 本文已影响225人
陈胜华
1.错误1
1.this application's application-identifier entitlement does not match that of th installed application these values must match for an upgrade to be allowed
//解决方法:
1. Open Xcode - > Window -> Devices
2. Click on your device and remove the app you are trying to install from the installed apps list.
3. Try running now.
2. 错误2
"${SRCROOT}/Pods/Target Support Files/Pods-HKVideo/Pods-HKVideo-frameworks.sh"
/Xcode/DerivedData/HKVideo-eijxioaprbpmnjfcdiinuxoyxlka/Build/Intermediates/HKVideo.build/Debug-iphonesimulator/HKVideo.build/Script-EE263C6DE25A308BC83A5AEC.sh:
line 2: /HKVideo2/Pods/Target Support Files/Pods-HKVideo/Pods-HKVideo-frameworks.sh: No such file or directory
//解决方法:
1.Target-->Build Phases --> Embed Pods Frameworks
2.选中 Run script only when instilling(此步骤只能编译时,使用,当Archive时还是会报错)
//补充
3.取消第二步勾选,将Shell下的路径修改为:
"${SRCROOT}/Pods/Target Support Files/Pods/Pods-frameworks.sh"
/**
//网友回答:
Question:'My problem is that " blablabla Pods-XXXX-frameworks.sh: No such file or directory" '
Answer:
Firstly, I fix it by using command line "pod install"
, it has nothing affection.
The finally solution :
Touch "Build Phases" -> "Embed Pods Frameworks" ;
you can see the path :XXXXX.sh" ;
Be sure that the XXX.sh is the same as your project's.
if not, change the path.
Then clean and build. It's done.
*/
问题前
有问题截图.png
问题后
解决问题截图.png