Skip to content

Commit 8f4606d

Browse files
committed
Try to remove the cocoapods error
1 parent e5cc979 commit 8f4606d

2 files changed

Lines changed: 2 additions & 21 deletions

File tree

AAChartKit.podspec

Lines changed: 1 addition & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -16,30 +16,11 @@ Pod::Spec.new do |s|
1616
s.license = { :type => "MIT", :file => 'LICENSE' }
1717
s.authors = {'An An' => '18256973864@163.com'}
1818
s.platform = :ios, '7.0'
19-
# s.prefix_header_contents = '#import "AAGlobalMacro.h"'
2019
s.source = {:git => 'https://github.com/AAChartModel/AAChartKit.git', :tag => s.version}
2120
s.social_media_url = 'https://github.com/AAChartModel'
2221
s.source_files = 'AAChartKitLib/**/*.{h,m}'
23-
24-
pch_AF = <<-EOS
25-
#define AAObject(objectName) [[objectName alloc]init]
26-
27-
28-
#define AAPropStatementAndFuncStatement(propertyModifyWord,className, propertyPointerType, propertyName) \
29-
@property(nonatomic,propertyModifyWord)propertyPointerType propertyName; \
30-
- (className * (^) (propertyPointerType propertyName)) propertyName##Set;
31-
32-
#define AAPropSetFuncImplementation(className, propertyPointerType, propertyName) \
33-
- (className * (^) (propertyPointerType propertyName))propertyName##Set{ \
34-
return ^(propertyPointerType propertyName) { \
35-
self.propertyName = propertyName; \
36-
return self; \
37-
}; \
38-
}
39-
EOS
40-
s.prefix_header_contents = pch_AF
41-
4222
s.resource_bundles = { 'AAChartKitLib' => 'AAChartKitLib/AAJSFiles/**' }
23+
s.prefix_header_contents = '#import "AAGlobalMacro.h"'
4324
s.requires_arc = true
4425
s.ios.frameworks = 'UIKit'
4526
s.ios.deployment_target = '7.0'

AAChartKitLib/AAChartConfiger/AAOptionsConstructor.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
#import "AAXAxis.h"
3636
#import "AAYAxis.h"
3737
#import "AALabels.h"
38-
#import "AAToolTip.h"
38+
#import "AATooltip.h"
3939
#import "AAPlotOptions.h"
4040
#import "AAColumn.h"
4141
#import "AABar.h"

0 commit comments

Comments
 (0)