-
Notifications
You must be signed in to change notification settings - Fork 217
/
Podfile
37 lines (28 loc) · 952 Bytes
/
Podfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
target "OAuth2Client.framework" do
end
target "OAuth2Client" do
platform :ios, "4.3" #that shit cray!
end
target "OAuth2ClientTests" do
platform :ios, "5.0"
pod 'Specta', '~> 0.2'
pod 'Expecta', '~> 0.3'
pod 'OCMock', '~> 3.1'
pod 'OHHTTPStubs', '~> 3.1'
post_install do |installer|
# fixing Specta for Xcode 6
# http://stackoverflow.com/a/25078857/25724
puts "Fixing Specta pod for Xcode 6"
target = installer.project.targets.find { |t| t.to_s == "Pods-OAuth2ClientTests-Specta" }
if (target)
target.build_configurations.each do |config|
s = config.build_settings['FRAMEWORK_SEARCH_PATHS']
s = [ '$(inherited)' ] if s == nil;
s.push('$(PLATFORM_DIR)/Developer/Library/Frameworks')
config.build_settings['FRAMEWORK_SEARCH_PATHS'] = s
end
else
puts "WARNING: Pods-OAuth2ClientTests-Specta target not found"
end
end
end