我曾经习惯使用pod spec lint .
,但没有成功。
error: Multiple commands produce '/Users/liangjunmei/Library/Developer/Xcode/DerivedData/App-ctaemkwjxnmelrdjcqoagdredbyq/Build/Products/Release-iphonesimulator/OLOADSDK/OLOADSDK.framework/Headers/OLOLogger.h':
1) Target 'OLOADSDK' (project 'Pods') has copy command from '/var/folders/d8/g4lpjdfx7l19r8x_hf6qm3hr0000gn/T/CocoaPods-Lint-20190418-3716-dtrtj0-OLOADSDK/Pods/OLOADSDK/OLOADSDK/OLOADSDK/Classes/Util/OLOLogger.h' to '/Users/liangjunmei/Library/Developer/Xcode/DerivedData/App-ctaemkwjxnmelrdjcqoagdredbyq/Build/Products/Release-iphonesimulator/OLOADSDK/OLOADSDK.framework/Headers/OLOLogger.h'
2) Target 'OLOADSDK' (project 'Pods') has copy command from '/var/folders/d8/g4lpjdfx7l19r8x_hf6qm3hr0000gn/T/CocoaPods-Lint-20190418-3716-dtrtj0-OLOADSDK/Pods/OLOADSDK/OLOADSDK/OLOADSDK/Classes/Util/Vendors/OLOLogger.h' to '/Users/liangjunmei/Library/Developer/Xcode/DerivedData/App-ctaemkwjxnmelrdjcqoagdredbyq/Build/Products/Release-iphonesimulator/OLOADSDK/OLOADSDK.framework/Headers/OLOLogger.h'
答案 0 :(得分:0)
尝试从那里进入Target -> Build Phases -> Copy Bundle Resources -> Remove info.plist
。
如果这不起作用,则可以更改构建系统:
转到File->Project/Workspace settings
。
将构建系统更改为旧版构建系统。