Skip to content

Commit ff74eb1

Browse files
committed
Make pod spec OS X compatible once again.
1 parent 585e4c3 commit ff74eb1

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

CocoaAsyncSocket.podspec

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,5 +18,9 @@ Pod::Spec.new do |s|
1818
s.source_files = '{GCD,RunLoop}/*.{h,m}'
1919
s.clean_paths = 'Vendor', 'GCD/Xcode', 'RunLoop/Xcode'
2020
s.requires_arc = true
21-
s.frameworks = ['CFNetwork', 'Security']
21+
if config.ios?
22+
s.frameworks = ['CFNetwork', 'Security']
23+
else
24+
s.frameworks = ['CoreServices', 'Security']
25+
end
2226
end

0 commit comments

Comments
 (0)