forked from LitRitt/Ignited
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Podfile
39 lines (34 loc) · 1.42 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
platform :ios, '16.0'
inhibit_all_warnings!
target 'Ignited' do
use_modular_headers!
pod 'SQLite.swift', '~> 0.12.0'
pod 'SDWebImage', '~> 3.8'
pod 'SMCalloutView', '~> 2.1.0'
pod 'KeychainAccess', '~> 4.2.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
# Unlink DeltaCore to prevent conflicts with Systems.framework
post_install do |installer|
installer.pods_project.targets.each do |target|
if target.name == "Pods-Ignited"
puts "Updating #{target.name} OTHER_LDFLAGS"
target.build_configurations.each do |config|
config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '16.0'
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