1、Jenkins 打包失败
** BUILD FAILED **
The following build commands failed:
CompileC Build/Intermediates/CodeCoverage/Intermediates.noindex/Project.build/Release-iphoneos/Project.build/Objects-normal/armv7/TableViewCell.o Project/Business/Home/View/TableViewCell.m normal armv7 objective-c com.apple.compilers.llvm.clang.1_0.compiler
(1 failure)
Print: Entry, "CFBundleShortVersionString", Does Not Exist
Print: Entry, "CFBundleVersion", Does Not Exist
Print: Entry, "CFBundleDisplayName", Does Not Exist
File Doesn't Exist, Will Create: /Users/pmo/workspace/iOS484_8-0-0/Project/build/Release-iphoneos/Project.app/Info.plist__File Doesn't Exist, Will Create: /Users/pmo/workspace/484_8-0-0/Project/build/Release-iphoneos/Project.app/Info.plist_Workspace_File Doesn't Exist, Will Create: /Users/pmo-mini/workspace/484_8-0-0/Project/build/Release-iphoneos/Project.app/Info.plist_20180103
代码在Xcode中可以编译通过,但打包脚本编译失败。该Cell非常简单,最后锁定问题在头文件引用上:
import <SDWebImage/UIButton+WebCache.h>
修改为:
import "UIButton+WebCache.h"
即可
网友评论