Skip to content

Commit

Permalink
[bugfix] fix pod lib lint error
Browse files Browse the repository at this point in the history
  • Loading branch information
euanchan committed Apr 17, 2019
1 parent ed57361 commit a14c11d
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 9 deletions.
6 changes: 4 additions & 2 deletions MTAppenderFile.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,15 @@ Pod::Spec.new do |s|

s.platform = :ios, "8.0"

s.source = { :git => "git@github.com:meitu/MTAppenderFile.git", :tag => "#{s.version}" }
s.source = { :git => "https://github.com/meitu/MTAppenderFile.git", :tag => "#{s.version}" }

s.public_header_files = "loglib/MTAppenderFile.h", "loglib/mtaf_appender.h"
s.public_header_files = "loglib/MTAppenderFile.h", "loglib/mtaf_base.h" "loglib/mtaf_appender.h"
s.source_files = "loglib/**/*{h,hpp,m,mm,cpp,cc,c}", "comm/**/*.{h,hpp,m,mm,cpp,cc,c}"
s.exclude_files = "MTAppenderFile/Exclude"

s.requires_arc = false

s.libraries = "z", "c++"

s.xcconfig = { 'OTHER_LDFLAGS' => '-lc++' }

Expand Down
8 changes: 4 additions & 4 deletions MTAppenderFileDemo/Podfile.lock
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
PODS:
- MTAppenderFile (0.3.5)
- MTAppenderFile (0.4.0)

DEPENDENCIES:
- MTAppenderFile (from `../`)
Expand All @@ -9,8 +9,8 @@ EXTERNAL SOURCES:
:path: "../"

SPEC CHECKSUMS:
MTAppenderFile: e1f51ce2606ff7dc22721abecb8737214231658b
MTAppenderFile: f137f3423fe020e1b8380509a3a55c66dd185fa6

PODFILE CHECKSUM: 30678d4964577f2dd5e48aef132d7687bbf69b8c
PODFILE CHECKSUM: 3b1d41fd5c4fbf8fdffd123fce85fa19917bc300

COCOAPODS: 1.6.0
COCOAPODS: 1.6.1
3 changes: 0 additions & 3 deletions MTAppenderFileDemo/podfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,6 @@ target 'MTAppenderFileDemo' do
target 'MTAppenderFileDemoTests' do
end

target 'MTAppenderFileDemoUITests' do
end

# 开启所有 pod 引入库的 ccache,加快重复编译速度
post_install do |installer_representation|
installer_representation.pods_project.targets.each do |target|
Expand Down

0 comments on commit a14c11d

Please sign in to comment.