7/22/2023 0 Comments React native fastlane![]() ![]() Run: sudo xcode-select -s /Applications/Xcode_11.2.app github/workflows/ios-build.yaml name: Deploy iOS to App Center If you are not using react native, you will need to remove the ios folder prefix from my commands. Instead of stepping through each little piece of the config, I'm going to share the final piece of the main config, then explain the parts around it. It's honestly a miracle we are able to make this work at all. It's been almost 4 years and Apple has yet to improve on any of these command line utilities. The fix for this is a command that makes no sense, and someone had to reverse engineer Apple's tooling just to find it. I was able to get it mostly working, then ran into the code signing process prompting for a password and hanging indefinitely inside the build container. ![]() I knew there had to be a way though, even with my naive knowledge of the profiles and certificate logic that iOS app builds have, I know I only needed to download two files in order to build an app on my local machine, so it couldn't be too hard, right?īefore I start, let me quickly rant about Apple. There's not much out there when you search for help with iOS builds, and the only ones you find tell you to use fastlane for cert management. If you only want to build for Android, you can skip to that and be done in a few minutes. I'll walk you through all the annoying things Apple put me through, so you don't have to. This process is the exact same for a fully native app, since we are running the normal xcode / gradle commands. The past few days I was attempting to auto deploy a react native app to App Center using Github actions.
0 Comments
Leave a Reply. |