Permalink
Browse files

add -DOS_OBJECT_USE_OBJC=0 to all of the ReactiveCocoas

  • Loading branch information...
orta committed Dec 31, 2012
1 parent 453de68 commit 905cd8529e8d85af22b67e6784c012ac730e62fa
@@ -16,5 +16,6 @@ Pod::Spec.new do |s|
files = FileList['ReactiveCocoaFramework/ReactiveCocoa/*.{h,m}']
s.ios.source_files = files.dup.exclude(/NSButton/, /AppKit/)
s.osx.source_files = files.dup.exclude(/UIControl/, /UITextField/)
+ s.compiler_flags = '-DOS_OBJECT_USE_OBJC=0'
s.requires_arc = true
end
@@ -15,7 +15,8 @@ Pod::Spec.new do |s|
s.requires_arc = true
s.ios.deployment_target = '5.0'
-
+ s.compiler_flags = '-DOS_OBJECT_USE_OBJC=0'
+
s.subspec 'Core' do |sp|
files = FileList['ReactiveCocoaFramework/ReactiveCocoa/*.{h,m}']
sp.ios.source_files = files.dup.exclude(/NSButton/, /AppKit/)
@@ -15,7 +15,8 @@ Pod::Spec.new do |s|
s.requires_arc = true
s.ios.deployment_target = '5.0'
-
+ s.compiler_flags = '-DOS_OBJECT_USE_OBJC=0'
+
s.subspec 'Core' do |sp|
files = FileList['ReactiveCocoaFramework/ReactiveCocoa/*.{h,m}']
sp.ios.source_files = files.dup.exclude(/NSButton/, /AppKit/)
@@ -17,4 +17,5 @@ Pod::Spec.new do |s|
s.ios.source_files = files.dup.exclude(/NSButton/, /AppKit/)
s.osx.source_files = files.dup.exclude(/UIControl/, /UITextField/)
s.requires_arc = true
+ s.compiler_flags = '-DOS_OBJECT_USE_OBJC=0'
end
@@ -18,4 +18,5 @@ Pod::Spec.new do |s|
s.osx.source_files = files.dup.exclude(/UIControl/, /UIText/, /Event/, /DelegateProxy/)
s.requires_arc = true
s.dependency 'JRSwizzle', '~> 1.0'
+ s.compiler_flags = '-DOS_OBJECT_USE_OBJC=0'
end
@@ -14,6 +14,7 @@ Pod::Spec.new do |s|
"5. A lovely API on top of KVO."
s.requires_arc = true
+ s.compiler_flags = '-DOS_OBJECT_USE_OBJC=0'
s.subspec 'Core' do |sp|
files = FileList['ReactiveCocoaFramework/ReactiveCocoa/*.{h,m}']
@@ -15,6 +15,7 @@ Pod::Spec.new do |s|
s.requires_arc = true
s.ios.deployment_target = '5.0'
+ s.compiler_flags = '-DOS_OBJECT_USE_OBJC=0'
s.subspec 'Core' do |sp|
files = FileList['ReactiveCocoaFramework/ReactiveCocoa/*.{h,m}']

0 comments on commit 905cd85

Please sign in to comment.