一周前,我把MyApp推到了我的私人cocoapods上,没有任何问题。在此期间,我没有用CocoaLumberjack更新任何内容。
我的podspec包含:
spec.subspec 'Core' do |cs|
cs.dependency 'libextobjc', '~> 0.4'
cs.dependency 'CocoaLumberjack', '2.0.0-rc2'
end下面是命令& error:
$ pod repo push my-private MyApp.podspec
Validating spec
-> MyApp (0.0.7)
- NOTE | [MyApp/Core] [xcodebuild] CocoaLumberjack/Classes/DDASLLogger.m:85:31: warning: implicit declaration of function 'geteuid' is invalid in C99 [-Wimplicit-function-declaration]
- ERROR | [MyApp/Core] [xcodebuild] CocoaLumberjack/Classes/DDASLLogger.m:85:31: error: conflicting types for 'geteuid'
- NOTE | [MyApp/Core] [xcodebuild] /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS8.1.sdk/usr/include/unistd.h:445:8: note: previous declaration is here
[!] The `MyApp.podspec` specification does not validate.该文件的第85行是:
uid_t const readUID = geteuid();它以前一直在起作用。我不知道是什么改变了它现在不起作用了。
发布于 2015-03-13 09:14:10
似乎在升级到Cocoapods版本0.36.0后修复了自己
https://stackoverflow.com/questions/28965501
复制相似问题