-
Notifications
You must be signed in to change notification settings - Fork 35
/
Copy pathDeltaCore.podspec
37 lines (29 loc) · 1.24 KB
/
DeltaCore.podspec
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
Pod::Spec.new do |spec|
spec.name = "DeltaCore"
spec.version = "0.1"
spec.summary = "iOS Emulator Plug-in Framework"
spec.description = "iOS framework that powers Delta emulator."
spec.homepage = "https://github.com/rileytestut/DeltaCore"
spec.platform = :ios, "14.0"
spec.source = { :git => "https://github.com/rileytestut/DeltaCore.git" }
spec.author = { "Riley Testut" => "riley@rileytestut.com" }
spec.social_media_url = "https://twitter.com/rileytestut"
spec.source_files = "DeltaCore/**/*.{h,m,swift}"
spec.exclude_files = "DeltaCore/DeltaTypes.h", "DeltaCore/Emulator Core/Audio/DLTAMuteSwitchMonitor.h"
spec.public_header_files = "DeltaCore/include/*.h"
spec.resource_bundles = {
"DeltaCore" => ["DeltaCore/**/*.deltamapping"]
}
spec.dependency "ZIPFoundation"
spec.xcconfig = {
"SWIFT_ACTIVE_COMPILATION_CONDITIONS" => "STATIC_LIBRARY",
"OTHER_CFLAGS" => "-DSTATIC_LIBRARY"
}
spec.script_phase = { :name => 'Copy Swift Header', :script => <<-SCRIPT
target_dir=${BUILT_PRODUCTS_DIR}
mkdir -p ${target_dir}
# Copy any file that looks like a Swift generated header to the include path
cp ${DERIVED_SOURCES_DIR}/*-Swift.h ${target_dir}
SCRIPT
}
end