This repository has been archived by the owner on Jul 21, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 20
/
Copy pathWasmPatch.podspec
82 lines (57 loc) · 3.12 KB
/
WasmPatch.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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
Pod::Spec.new do |spec|
spec.name = "WasmPatch"
spec.version = "0.0.1"
spec.summary = "Yet Another Patch Module For iOS/macOS."
spec.description = <<-DESC
WasmPatch bridges `Objective-C and WebAssembly`. We `build C code into WebAssembly`,
and have the ability to `call any Objective-C class and method dynamically`. This
makes the App obtaining the power of WebAssembly: add features or replacing
Objective-C code to fix bugs dynamically.
DESC
spec.homepage = "https://github.com/everettjf/WasmPatch"
# spec.screenshots = "www.example.com/screenshots_1.gif", "www.example.com/screenshots_2.gif"
spec.license = "MIT"
# spec.license = { :type => "MIT", :file => "FILE_LICENSE" }
spec.author = { "everettjf" => "everettjf@live.com" }
# spec.social_media_url = "https://twitter.com/everettjf"
spec.ios.deployment_target = "10.0"
spec.osx.deployment_target = "10.14"
# spec.watchos.deployment_target = "2.0"
# spec.tvos.deployment_target = "9.0"
spec.source = { :git => "https://github.com/everettjf/WasmPatch.git", :tag => "#{spec.version}" }
spec.source_files = "WasmPatch/Classes/**/*"
# spec.exclude_files = "Classes/Exclude"
spec.public_header_files = "WasmPatch/Classes/WasmPatch.h"
# ――― Resources ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― #
#
# A list of resources included with the Pod. These are copied into the
# target bundle with a build phase script. Anything else will be cleaned.
# You can preserve files from being cleaned, please don't preserve
# non-essential files like tests, examples and documentation.
#
# spec.resource = "icon.png"
# spec.resources = "Resources/*.png"
# spec.preserve_paths = "FilesToSave", "MoreFilesToSave"
# ――― Project Linking ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――― #
#
# Link your library with frameworks, or libraries. Libraries do not include
# the lib prefix of their name.
#
# spec.framework = "SomeFramework"
# spec.frameworks = "SomeFramework", "AnotherFramework"
# spec.library = "iconv"
# spec.libraries = "iconv", "xml2"
# ――― Project Settings ――――――――――――――――――――――――――――――――――――――――――――――――――――――――― #
#
# If your library depends on compiler flags you can set them in the xcconfig hash
# where they will only apply to your library. If you depend on other Podspecs
# you can include multiple dependencies to ensure it works.
# spec.requires_arc = true
# spec.xcconfig = { "HEADER_SEARCH_PATHS" => "$(SDKROOT)/usr/include/libxml2" }
# spec.dependency "JSONKit", "~> 1.4"
spec.library = 'c++'
spec.xcconfig = {
'CLANG_CXX_LANGUAGE_STANDARD' => 'c++17',
'CLANG_CXX_LIBRARY' => 'libc++'
}
end