-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathreact-native-mtbeacon-plus-swift.podspec
More file actions
32 lines (26 loc) · 1.07 KB
/
react-native-mtbeacon-plus-swift.podspec
File metadata and controls
32 lines (26 loc) · 1.07 KB
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
require "json"
package = JSON.parse(File.read(File.join(__dir__, "package.json")))
Pod::Spec.new do |s|
s.name = "react-native-mtbeacon-plus-swift"
s.version = package["version"]
s.summary = package["description"]
s.homepage = "https://github.com/rtsdeveloper/rn-mtbeaconplus"
s.license = "MIT"
s.authors = { "RTS-Dev" => "sharmaritesh9794@gmail.com" }
s.platforms = { :ios => "9.0" }
s.source = { :git => "https://github.com/rtsdeveloper/rn-mtbeaconplus.git", :tag => "#{s.version}" }
s.source_files = "ios/**/*.{swift}"
s.vendored_frameworks = "ios/MTBeaconPlus.framework", "ios/iOSDFULibrary.framework", "ios/ZIPFoundation.framework"
s.script_phase = {
:name => 'Copy frameworks before compile',
:script => '${PODS_TARGET_SRCROOT}/ios/frameworks/archs.sh',
:execution_position => :before_compile
}
# ➔ Add this part
s.pod_target_xcconfig = {
'EXCLUDED_ARCHS[sdk=iphonesimulator*]' => 'arm64 x86_64'
}
s.user_target_xcconfig = {
'EXCLUDED_ARCHS[sdk=iphonesimulator*]' => 'arm64 x86_64'
}
end