diff --git a/.tx/config b/.tx/config deleted file mode 100644 index cf361ae97..000000000 --- a/.tx/config +++ /dev/null @@ -1,13 +0,0 @@ -[main] -host = https://www.transifex.com - -[habitica-ios.ios-main] -file_filter = translations/habitica-ios.ios-main/.xlf -source_lang = en -type = XLIFF - -[habitica-ios.app-store] -file_filter = translations/habitica-ios.app-store/.po -source_lang = en -type = PO - diff --git a/Gemfile b/Gemfile index ca095db94..95c5656d4 100644 --- a/Gemfile +++ b/Gemfile @@ -1,8 +1,5 @@ source 'https://rubygems.org' -gem 'cocoapods', '>=1.4' -gem 'cocoapods-keys', '>=1.7.0' -gem 'cocoapods-catalyst-support' gem 'fastlane', '>=2.104.0' gem 'xcpretty' gem 'xcpretty-travis-formatter' diff --git a/Podfile b/Podfile deleted file mode 100644 index 87a5e4203..000000000 --- a/Podfile +++ /dev/null @@ -1,28 +0,0 @@ -platform :ios, '13.6' -use_frameworks! -inhibit_all_warnings! - -workspace 'Habitica' - -target 'Habitica' do - project 'Habitica.xcodeproj' - pod 'PopupDialog', '~> 1.1.1' - - target 'HabiticaTests' do - inherit! :complete - end - - target 'Habitica UI Tests' do - use_frameworks! - inherit! :complete - end -end - -post_install do |installer| - installer.pods_project.targets.each do |target| - target.build_configurations.each do |config| - config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '13.6' - config.build_settings.delete 'ARCHS' - end - end -end diff --git a/Podfile.lock b/Podfile.lock deleted file mode 100644 index c713ecc06..000000000 --- a/Podfile.lock +++ /dev/null @@ -1,20 +0,0 @@ -PODS: - - DynamicBlurView (4.1.0) - - PopupDialog (1.1.1): - - DynamicBlurView (~> 4.0) - -DEPENDENCIES: - - PopupDialog (~> 1.1.1) - -SPEC REPOS: - trunk: - - DynamicBlurView - - PopupDialog - -SPEC CHECKSUMS: - DynamicBlurView: 58e18fae80bb614e34681a4486870e7d257b62e8 - PopupDialog: 720c92befd8bc23c13442254945213db5612f149 - -PODFILE CHECKSUM: 6beee120198de5ded80d48baa2a8f4cdcc7b7cc1 - -COCOAPODS: 1.15.2 diff --git a/README.md b/README.md index 23b0d265e..209d53d7a 100644 --- a/README.md +++ b/README.md @@ -37,70 +37,8 @@ $ cp sample.debug.xcconfig debug.xcconfig If you want to run your app against a locally running version of Habitica, change `CUSTOM_DOMAIN` to `localhost:3000` or whatever port you have your local version configured to. Also set `DISABLE_SSL` to true so that the url can be configured correctly. -### CocoaPods -We are using [CocoaPods](http://cocoapods.org) to manage dependencies. - -During installation, cocoapods-keys will prompt for some of the keys used in the project. Use any random value for debugging, the real values are only required when uploading a final build to the app store. - -CocoaPods requires that you open the *Habitica.xcworkspace*. - -``` -$ open Habitica.xcworkspace -``` - -### Non-M1 Mac Installation - -If you have managed ruby environment (rbenv, rvm, etc.): - -``` -$ bundle install -$ bundle exec pod install -``` - -As an alternative, it is possible to install the dependendencies manually. Use `sudo` if required to install gems (i.e. you are using the MacOS system ruby): - -``` -$ sudo gem install cocoapods:'>=1.2' -$ sudo gem install cocoapods-keys -$ pod install -``` - -### M1 Mac Installation - -#### Step 1: Install Brew - -``` -# Install Brew (package manager) -/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" - -# Add 'brew' as a terminal command (change {USER_NAME}) -echo 'eval $(/opt/homebrew/bin/brew shellenv)' >> /Users/{USER_NAME}/.zprofile -eval "$(/opt/homebrew/bin/brew shellenv)" - -# Verify Installation -which brew -``` - -#### Step 2: Install cocoapods using Brew - -``` -brew install cocoapods - -# Verify the installation from brew and get the Version number: -brew info cocoapods -# ^example output: cocoapods: stable 1.10.1 (bottled) - -# Go to your project directory -cd path/to/project - -# Install pods (REMEMBER to run this in your project folder) -opt/homebrew/Cellar/cocoapods/{VERSION}/bin/pod init -opt/homebrew/Cellar/cocoapods/{VERSION}/bin/pod install -``` -NOTE Get the {VERSION} from the brew info cocoapods command - -### Step 3: Install swiftgen and generate secrets +### Install swiftgen and generate secrets ``` brew install swiftgen @@ -108,8 +46,7 @@ brew install swiftgen # Replace the secrets.yml.example to secrets.yml and set your own values swiftgen config run +``` NOTE You can run the project without being set the credentials but this features will be limited -``` -