-
Notifications
You must be signed in to change notification settings - Fork 0
/
release-pod.sh
executable file
·36 lines (24 loc) · 1.11 KB
/
release-pod.sh
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
version=$1
path=$2
echo "Path is $PWD"
cat > FanFind.podspec <<-EOF
Pod::Spec.new do |spec|
spec.name = "FanFind"
spec.version = "$version"
spec.summary = "FanFind is a tool for helping fands find each other anonymously in real time."
spec.description = <<-DESC
This cocoapods library helps you easily integrate the FanFind API in your application.
DESC
spec.pod_target_xcconfig = { 'EXCLUDED_ARCHS[sdk=iphonesimulator*]' => 'arm64' }
spec.user_target_xcconfig = { 'EXCLUDED_ARCHS[sdk=iphonesimulator*]' => 'arm64' }
spec.homepage = "https://www.turnoutt.com"
spec.license = "MIT"
spec.author = { "Chris Woolum" => "[email protected]" }
spec.ios.deployment_target = "12.1"
spec.swift_versions = ['5.0', '5.1', '5.2', '5.3']
spec.source = { :http => "https://github.com/Turnoutt/FanFind-iOS/releases/download/$version/FanFind-iOS-$version.zip" }
spec.vendored_frameworks = "build/universal/FanFindSDK.framework"
end
EOF
cat FanFind.podspec
pod trunk push FanFind.podspec --allow-warnings --verbose