You can see here that we have two “lanes”: beta and screenshots. – /fastlane/Fastfile – sets up all the cool stuff you are going to do let’s keep it safe for now, no release – /fastlane/Appfile – basic information about your app and your itunes connect status app_identifier "" # The bundle identifier of your app # You can find it in your xcode project if you are not sure apple_id "" # Your Apple email address itc_team_id "" # iTunes Connect Team ID team_id "" # Developer Portal Team ID # For more information about the Appfile, see: # There are a couple of places where I say YOUR_UITEST_SCHEME - if you don’t know what that is…we will cover it, just leave that placeholder until you have one. If you are missing a file, just create it. Your app may require different settings or other adjustments that I don’t show here, please make sure that your settings match what you are doing, especially for export compliance and ratings. Let’s go through the files that you (with a simple app) need to check and update. Fastlane accidentally assumed that my app bundle id was the first pod in my pods folder, which I had to correct. Īt this point, you have the option to do many things, but I think the best first step is to make sure that your files make sense. Navigate to that folder and open in your favorite text editor atom.When everything stops, you should have a fastlane folder.You can always fix it later if you make a mistake here. When the terminal asks you a question, answer as makes the most sense for your project. Try to read through all the stuff flying by you on the terminal, but don’t sweat it.Initialize your project fastlane init (at this point, if you don’t have ruby, I think you will need to do some more installations).Navigate to your project directory - this is the outer one that includes your.Install fastlane - I used homebrew brew cask install fastlane.First, go ahead and navigate your browser to the Fastlane docs for reference. You can certainly do like I did and open every single page of the fastlane webiste in a tab on your browser and try to lookup all of the things flying by you on the terminal window, or, you could relax a little and follow along here. The documentation is very useful, but it was not always accessible to me when I was trying to get things to work for the first time. Let’s take a moment to be jealous of our future selves with all that time saved. You should set up fastlane if you ever plan to make changes to your app, ever make another app, or have several languages for your app. I’ll further assume that you are comfortable with the terminal shell and git …and you also need to not freak out about installing a bunch of stuff. You’ve uploaded before, at least some app, because the fastlane value comes from saving time in these steps that you know take FOREVER once you’ve done them a few times. You have an iOS app and some experience with iTunes Connect. I’m assuming that if you are reading this, you might be a lot like me, yesterday morning. Not only that, but it also automates the process of managing build numbers, provisioning, and uploading your app for beta testing and release. Why fastlane?įastlane includes tools to help you automate the process of generating and cleaning up screenshots in multiple languages and for all platforms that your app targets. Granted, the post was old, but the ideas were exactly what I needed, and it seems the tools are about the same, probably better. When I saw a post about beautiful automated screenshots, I wanted to jump right in. It seemed like a huge PITA given how long it takes to go through the simulator and take screenshots in the first place. I had seen several apps in the app store with cool screenshots with frames and titles, and I really wanted to do that. I created this separate post because it is more helpful alone than in the code log, and I thought it would be easier for me to find later, when I forget! Setting up Fastlane when you don’t really know what you are doing I originally published this in my 100 days of code log and then on the awesome DEV.TO community Setting up Fastlane when you don't really know what you are doing
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |