0
我正在嘗試爲WLXBluetoothDevice項目創建一個新的Podspec。我被困在pod spec lint中。我已經宣佈了其在podspec文件中的一個相關性:CocoaPods Podspec:聲明的依賴項,但在構建過程中未找到文件
s.dependency 'CocoaLumberjack'
(......奇怪的是,如果我包括該聲明的當前版本,皮棉失敗很快說,它不能滿足的依賴)
當我打電話莢規範皮棉,xcodebuild聯編被觸發,並且失敗:
** BUILD FAILED **
The following build commands failed:
CompileC /var/folders/yz/xbdghvnj1_7fhsrwl5v232b40000gn/T/CocoaPods/Lint/build/Pods.build/Release-iphonesimulator/WLXBluetoothDevice.build/Objects-normal/i386/WLXBluetoothDeviceLogger.o WLXBluetoothDevice/WLXBluetoothDevice/WLXBluetoothDeviceLogger.m normal i386 objective-c com.apple.compilers.llvm.clang.1_0.compiler
(1 failure)
-> WLXBluetoothDevice (0.6.1)
- ERROR | [iOS] xcodebuild: Returned an unsuccessful exit code.
- NOTE | xcodebuild: WLXBluetoothDevice/WLXBluetoothDevice/WLXBluetoothDeviceLogger.h:12:9: fatal error: 'CocoaLumberjack/CocoaLumberjack.h' file not found
Analyzed 1 podspec.
[!] The spec did not pass validation, due to 1 error.
我已經成功地使用吊艙安裝到另一個項目...所以它只是似乎是皮棉構建這不是高興這個。有什麼建議麼?