forked from rileytestut/Delta
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Podfile
44 lines (37 loc) · 1.44 KB
/
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
37
38
39
40
41
42
43
44
platform :ios, '14.0'
inhibit_all_warnings!
target 'Delta' do
use_modular_headers!
pod 'SQLite.swift', '~> 0.12.0'
pod 'SDWebImage', '~> 3.8'
pod 'SMCalloutView', '~> 2.1.0'
pod 'DeltaCore', :path => 'Cores/DeltaCore'
pod 'NESDeltaCore', :path => 'Cores/NESDeltaCore'
pod 'SNESDeltaCore', :path => 'Cores/SNESDeltaCore'
pod 'N64DeltaCore', :path => 'Cores/N64DeltaCore'
pod 'GBCDeltaCore', :path => 'Cores/GBCDeltaCore'
pod 'GBADeltaCore', :path => 'Cores/GBADeltaCore'
pod 'DSDeltaCore', :path => 'Cores/DSDeltaCore'
pod 'MelonDSDeltaCore', :path => 'Cores/MelonDSDeltaCore'
pod 'Roxas', :path => 'External/Roxas'
pod 'Harmony', :path => 'External/Harmony'
end
target 'DeltaPreviews' do
use_modular_headers!
pod 'DeltaCore', :path => 'Cores/DeltaCore'
pod 'Roxas', :path => 'External/Roxas'
end
# Unlink DeltaCore to prevent conflicts with Systems.framework
post_install do |installer|
installer.pods_project.targets.each do |target|
if target.name == "Pods-Delta"
puts "Updating #{target.name} OTHER_LDFLAGS"
target.build_configurations.each do |config|
xcconfig_path = config.base_configuration_reference.real_path
xcconfig = File.read(xcconfig_path)
new_xcconfig = xcconfig.sub('-l"DeltaCore"', '')
File.open(xcconfig_path, "w") { |file| file << new_xcconfig }
end
end
end
end