2021-04-21 23:58:36 +08:00
|
|
|
#!/bin/bash
|
|
|
|
|
2022-05-11 19:39:58 +08:00
|
|
|
# workaround https://github.com/CocoaPods/CocoaPods/issues/11355
|
2022-05-11 19:53:40 +08:00
|
|
|
sed -i '' $'1s/^/source "https:\\/\\/github.com\\/CocoaPods\\/Specs.git"\\\n\\\n/' Podfile
|
2022-05-11 19:39:58 +08:00
|
|
|
|
2022-04-29 09:06:28 +02:00
|
|
|
# Install Ruby Bundler
|
2022-04-29 10:49:24 +02:00
|
|
|
gem install bundler:2.3.11
|
2022-04-29 09:06:28 +02:00
|
|
|
|
|
|
|
# Install Ruby Gems
|
|
|
|
bundle install
|
2021-04-27 16:29:10 +08:00
|
|
|
|
|
|
|
# stub keys. DO NOT use in production
|
2022-04-29 09:06:28 +02:00
|
|
|
bundle exec pod keys set notification_endpoint "<endpoint>"
|
|
|
|
bundle exec pod keys set notification_endpoint_debug "<endpoint>"
|
2021-04-27 16:29:10 +08:00
|
|
|
|
2022-04-29 09:06:28 +02:00
|
|
|
bundle exec pod install
|