Skip to content

Gear61/tcg-ios-archive-and-feedback

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

About

This repo is an archive of the last version of the Tech Career Growth (TCG) iOS app that was entirely local. Going forward, the app will become closed source as we make it full-stack and more integral to the startup we're building.

Regardless, feel free to use this repo as a resource to build your own Android apps - As I have mentioned many times before with my side projects, the code here is at the level I would write it at Instagram Android. It's all battle-tested, resilient, and of the highest quality I can offer.

Lastly, you can still use the "Issues" section to file bugs you find with the app. User feedback is still crucial to us as we continue striving to ship the best app possible.

Download

Download on the App Store

Developing the app

  1. Open the project from TCG.xcworkspace, not TCG.xcodeproj. It will be the white icon in the Xcode project chooser. We need to do this, so Cocoapods work correctly.
  2. To minimize the amount of work you need to do before deploying, pod dependencies are pushed as part of the repo (I read a StackOverflow post to make this call). If for some reason things don't work, you might need to run pod install.

Deploying the app to a real device

https://codewithchris.com/deploy-your-app-on-an-iphone/

tldr;

  • Go to the project directory (left folder icon) -> click on the Xcode project file -> "Signing & Capabilities" -> Choose something from the "Team" dropdown.

Working with preview

  • You can't have a real device selected as the deploy target if you want preview to work; doing this will give you a cryptic error message that you can't Google your way out of. If you want preview to work, choose an emulator.
  • The preview is very expensive. Consider disabling it if your computer is laggy and then bring it back on demand when you want to verify several layout changes at once.
  • Many views don't have a preview because mocking support for previews is terrible.

Cocoapods

Cocoapods is the Gradle of iOS. In order to install it, you need RubyGems and Xcode developer tools.

  1. brew install ruby
  2. sudo gem install cocoapods
  3. xcode-select --install

Tutorials to learn from

https://developer.apple.com/tutorials/swiftui/

Building and deploying the app

  1. Set Xcode to build a generic iOS device.
  2. From the top bar: Product -> Archive - This generates a binary.
  3. The Xcode organizer will open, which allows you to publish builds to App Store connect.
  4. After the build is published, it can take a while to be available on the App Store listing (~10 minutes).

Random notes

About

Code archive of the last local Tech Career Growth iOS app

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published