Flutter iOS IPA Build: No Apple Developer Account or MacBook Needed! 100% FREE • FLUTTER Tutorial
HTML-код
- Опубликовано: 1 апр 2024
- 🦕 In this tutorial, I'll demonstrate how to build an iOS IPA file using GitHub Actions entirely for FREE, without requiring an Apple Developer account or a MacBook. Surprisingly, a simple web browser is all you need to accomplish this task swiftly. Best of all, the entire process can be completed in under 7 minutes. MAKE SURE TO STICK AROUND UNTIL THE END OF THE TUTORIAL FOR ALL THE DETAILS! 🚀
📌 dart.yml commands for iOS iPA build:
➡️ github.com/AmirBayat0/iOS_iPA...
📌 Get Scarlet:
➡️ usescarlet.com/
📌 Video guide for working with the Scarlett application:
➡️ • Video
⚡ Subscribe for more content:
ProgrammingWithFlexz: @ProgrammingWithFlexZ
📱 Connect with me on Social Media!
📸 Instagram: Explore my coding journey and daily tech adventures ➡️ / codewithflexz
🚀 GitHub: Dive into my coding projects and repositories ➡️ github.com/AmirBayat0/
🌐 More Socials: Discover my other online platforms and stay connected ➡️ zaap.bio/CodeWithFlexz
💖 Thank You for Your Support!
Your encouragement keeps me going! Don't forget to like and subscribe for more exciting content. Let's code, learn, and grow together! 🧡
Discovering value in this video? If so, and if you'd like to champion my efforts, why not treat me to a coffee? ☕️ Your support means the world!
👉 Tap here: www.buymeacoffee.com/amirbayat
⚡RESOURCES
Flutter Tutorial | Nested Navigation, Persistent Bottom Navigation Bar across Page Route, GoRouter: • Flutter Tutorial | Nes...
Flutter Tutorial | Dynamic TabBar Switching on ListView Scroll with Auto-Scroll Effect - Flutter UX: • Flutter Tutorial | Dyn...
Mastering Flutter: Dismissible Widget Tutorial for Swipe-To-Action Functionality, Flutter Widgets: • Video
Flutter Tutorial - Custom Floating & Blurred Bottom Navigation Bar Design using CustomClipper: • Flutter Tutorial - Cus...
Master Responsive Design in Flutter Preview Flutter Apps Across Multiple Devices - Flutter Tutorial: • Video
Flutter Tutorial | Flutter Bottom Nav Bar With Bloc, Bloc and Cubit Tutorial, Flutter BottomAppBar: • Video
Flutter Tutorial | Flutter Animated Theme, Light and Dark Modes in Flutter, Flutter ThemeExplain: • Flutter Tutorial | Flu...
Flutter Beginners Tutorial | Create Your First Flutter App From Scratch, Flutter Resume App, CV App: • Video
Flutter Tutorial | In-App Rating, Stars Rating Bar, Open PlayStore, App Rating, Flutter App Review: • Video
Flutter Tutorial | Flutter Responsive UI, Flutter Responsive Design, Flutter Responsive Layout: • Flutter Tutorial | Flu...
Flutter Tutorial | Flutter Auto Scrollable List, Auto Scroll Listview, Scroll Listview automatically: • Flutter Tutorial | Flu...
Flutter Tutorial | Fashion e-commerce App, E-Commerce App UI Design Flutter, Flutter Shop App UI: • Flutter Tutorial | Fas...
Flutter Tutorial | Custom Tab Bar, Flutter Tab Bar + Animation, Flutter Animated Tab Bar: • Flutter Tutorial | Cus...
Flutter Tutorial | Flutter Bottom Navigation Bar with GetX, Flutter Bottom App Bar, Bottom Tab Bar: • Flutter Tutorial | Flu...
⚡PLAYLISTS
Mastering Flutter: Build an Elegant TODO App with Hive Database [CRUD] Operations: • Mastering Flutter: Bui...
Comprehensive Guide to Flutter | Flutter Applications: • Comprehensive Guide to...
Flutter applications preview: • Flutter applications p...
Flutter Tutorial | Login & Sign Up UI Design: • Flutter Tutorial | Log... - Наука
Hello everyone! 😊 Please support us by #subscribing, #commenting, #liking, and #sharing the content! 🙌 Thank you! 🌟
This is great and so useful for learners of flutter 🎉🎉
Thank you! 😃
Thank you so much sir ❤❤, it helps me a lot 🙏🙏🙏🙏🙏🙏🙏🙏
You're very welcome! I'm thrilled to hear that I could be of assistance. If you have any more questions or need further help, don't hesitate to reach out. Wishing you all the best on your journey! ❤️❤️
How did you installed ipa?
You are my men ;) Thnx
You're welcome! 😊 I'm glad I could be of assistance 👍.
This is great, if we want publish update for app should be how? for example if we want to upgrade bundle version should be how?
Thanks for your feedback! 🙌 Much appreciated. Do you mean the code version for iOS or the bundle identifier? BTW, this method gives you the unsigned version for iOS and it's mostly used for testing purposes. 😊
good video straight to the point. will this method work even if my flutter app has connections to firebase?
🙏 Much appreciate your feedback! Whether you're using Firebase or any other service, it's essential to ensure that all iOS platform configurations are fully completed. Once done, give exporting the IPA a shot! ✨
@@ProgrammingWithFlexZ i tried it, and it works! Thank you so much ❤️
That's fantastic to hear! 😊 I'm glad it worked for you! Keep shining bright ❤️✨
Master❤
Thank you for your kind words! 😊 Much Appreciated! ❤️
@@ProgrammingWithFlexZ you're very much sir
this is awesome but what if we got errors just only when we build the app like in the pod file ,i was using free virtual mac to run my flutter app and I got an error in the pod file and in order to fix that error i have to comment some lines from the pod file and it is working but i cant build the same app according to your video because i got build error on the pod file and there is no means to re run the build after changing some lines in the pod file
Thanks for your comment and detailed description of the issue. If it's possible for you, kindly share the logs from the build process when the error occurred 📄🔍, so I can better assist you in identifying the problem 😊.
this is the error and it can be fixed by commenting some lines in the pod file using real mac but i cant edit the pod file while using the github actions the error is:
Running pod install... 1,817ms
CocoaPods' output:
↳
Preparing
Analyzing dependencies
Inspecting targets to integrate
Using `ARCHS` setting to build architectures of target `Pods-Runner`: (``)
[!] Unable to find a target named `RunnerTests` in project `Runner.xcodeproj`, did find `Runner`.
/opt/homebrew/lib/ruby/gems/3.0.0/gems/cocoapods-1.15.2/lib/cocoapods/installer/analyzer/target_inspector.rb:108:in `compute_targets'
/opt/homebrew/lib/ruby/gems/3.0.0/gems/cocoapods-1.15.2/lib/cocoapods/installer/analyzer/target_inspector.rb:40:in `compute_results'
/opt/homebrew/lib/ruby/gems/3.0.0/gems/cocoapods-1.15.2/lib/cocoapods/installer/analyzer.rb:1197:in `block (3 levels) in inspect_targets_to_integrate'
/opt/homebrew/lib/ruby/gems/3.0.0/gems/cocoapods-1.15.2/lib/cocoapods/installer/analyzer.rb:1195:in `each'
/opt/homebrew/lib/ruby/gems/3.0.0/gems/cocoapods-1.15.2/lib/cocoapods/installer/analyzer.rb:1195:in `block (2 levels) in inspect_targets_to_integrate'
/opt/homebrew/lib/ruby/gems/3.0.0/gems/cocoapods-1.15.2/lib/cocoapods/installer/analyzer.rb:1193:in `each'
/opt/homebrew/lib/ruby/gems/3.0.0/gems/cocoapods-1.15.2/lib/cocoapods/installer/analyzer.rb:1193:in `block in inspect_targets_to_integrate'
/opt/homebrew/lib/ruby/gems/3.0.0/gems/cocoapods-1.15.2/lib/cocoapods/user_interface.rb:64:in `section'
/opt/homebrew/lib/ruby/gems/3.0.0/gems/cocoapods-1.15.2/lib/cocoapods/installer/analyzer.rb:1188:in `inspect_targets_to_integrate'
/opt/homebrew/lib/ruby/gems/3.0.0/gems/cocoapods-1.15.2/lib/cocoapods/installer/analyzer.rb:107:in `analyze'
/opt/homebrew/lib/ruby/gems/3.0.0/gems/cocoapods-1.15.2/lib/cocoapods/installer.rb:422:in `analyze'
/opt/homebrew/lib/ruby/gems/3.0.0/gems/cocoapods-1.15.2/lib/cocoapods/installer.rb:244:in `block in resolve_dependencies'
/opt/homebrew/lib/ruby/gems/3.0.0/gems/cocoapods-1.15.2/lib/cocoapods/user_interface.rb:64:in `section'
/opt/homebrew/lib/ruby/gems/3.0.0/gems/cocoapods-1.15.2/lib/cocoapods/installer.rb:243:in `resolve_dependencies'
/opt/homebrew/lib/ruby/gems/3.0.0/gems/cocoapods-1.15.2/lib/cocoapods/installer.rb:162:in `install!'
/opt/homebrew/lib/ruby/gems/3.0.0/gems/cocoapods-1.15.2/lib/cocoapods/command/install.rb:52:in `run'
/opt/homebrew/lib/ruby/gems/3.0.0/gems/claide-1.1.0/lib/claide/command.rb:334:in `run'
/opt/homebrew/lib/ruby/gems/3.0.0/gems/cocoapods-1.15.2/lib/cocoapods/command.rb:52:in `run'
/opt/homebrew/lib/ruby/gems/3.0.0/gems/cocoapods-1.15.2/bin/pod:55:in `'
/opt/homebrew/lib/ruby/gems/3.0.0/bin/pod:25:in `load'
/opt/homebrew/lib/ruby/gems/3.0.0/bin/pod:25:in `'
Error output from CocoaPods:
↳
[!] Automatically assigning platform `iOS` with version `12.0` on target `Runner` because no platform was specified. Please specify a platform for this target in your Podfile. See `guides.cocoapods.org/syntax/podfile.html#platform`.
Error running pod install
Error: Process completed with exit code 1.
would this work for a build file generated for Xcode by Unity?
Yes, it's possible to configure it to build files using Unity-generated Xcode projects. However, achieving seamless compatibility and proper execution may necessitate additional configurations or steps in your workflow. You'll need to set up the GitHub Action with specifics such as the project path, build configuration, and signing information (to be securely stored as secrets). Ensure that your runner machine, where the action runs, has Xcode and the necessary tools installed. For assistance, you can refer to this link: github.com/marketplace/actions/unity-build-action
thanks for this vedio . i have error : Error: An error occurred trying to start process '/bin/bash' with working directory '/Users/runner/work/ipatest/ipatest/ios'. No such file or directory
Hey, Thanks for your comment, it seems like the error message is indicating an issue with executing a command in a specific directory, but it's not clear what the exact problem might be. Here are some steps you can take to troubleshoot and potentially fix the issue:
Double-check the directory path (/Users/runner/work/ipatest/ipatest/ios) to make sure it exists and is spelled correctly. If it doesn't, adjust it in your build script. Verify that /bin/bash is available on your system by running "which bash" in a terminal. If it's not found, you may need to install or correct the path to Bash.
Check the permissions of the directory and the Bash executable to ensure the user running the build process has the necessary permissions.
Try cleaning the build and reinstalling dependencies with "flutter clean" and "flutter pub get."
I hope these steps help you diagnose and resolve the issue! Let me know if you need further assistance.
Thank you for sharing such content. Will gonna check it out. Love from India. But please promise me😢 that you should help me if i face any problems😊
Thank you so much for your kind words and for showing interest in the content. Sending love right back to you from across the globe! 🌍❤️ And absolutely, I promise to do my best to help you if you encounter any problems. Don't hesitate to reach out anytime. 😊🤝
I want to download this ipa file in my ios device how can i?
Because when i am trying to install this ipa file it not working
Thanks for your feedback! 😊 As I mentioned at the end of the video, you'll need a third-party app to install an IPA file directly on your iPhone 📲, since it's not allowed otherwise.
Have you given the 'Scarlet' app a try? 🚀
Is this work for gitlab?...
Thanks for the comment! 😊
Indeed, it is possible, though the syntax and environment configuration differ between GitHub Actions and GitLab CI/CD!
If you haven't found the resource to do it using GitLab, let me know. I'll assist you and perhaps create another video specifically demonstrating the same task using GitLab! 🎥💻
@@ProgrammingWithFlexZ wow interesting, can't wait for it...
Sir, I've a question. Which macbook are you using for flutter ios development? Also if 8gb ram and 256 gb ssd enough?
Hi 😊,
Thank you for your message. I'm currently using the Air M1. While 8 GB of RAM is sufficient for most tasks, upgrading to 16 GB of RAM would undoubtedly provide a smoother and more efficient experience. 💻✨
@@ProgrammingWithFlexZ is 8gb sufficient for flutter to build for ios? What is your experience with 8gb ram? Plz help me out. I'm planning of buying MacBook.
Feel free to reach out to me via Telegram (@CodeWithFlexz) for further support!
There does not appear to be anything called developer in the iPhone privacy settings. After some research, I think a developer account is required for this. Is there a solution?
Hey, thanks for the feedback! Actually, you don't need an Apple Developer account to install this IPA output. I've successfully installed it on an iOS device using the app mentioned in the video. Please take a moment to watch the video again to understand the steps required for installation (➡️ ruclips.net/video/MwewA-z7U_Q/видео.htmlsi=CgbDx9T_RjUhgMZr). If you encounter any issues again, please don't hesitate to let me know.
After obtaining the IPA through my tutorial, please install the app from this link (usescarlet.com/), and refer to this tutorial (ruclips.net/video/MwewA-z7U_Q/видео.html) for instructions on installing it on your iOS device.
@@ProgrammingWithFlexZ There is no field called developer mode on my iOS device. It says everywhere that my iOS account must be developer in order for developer mode to appear.🤔
@@oguzaytar2788im on IOS 16, inside Privacy & Security there's developer mode
Thanks for it sir ❤
But when ever i try to upload this ipa file in diawi to share it shows error
“An error occurred:
4001009: Invalid .ipa file: missing embedded mobileprovision”
Do you what shall I do to resolve this ??
Please reply as soon as possible 🙏
same issue
@@fuhovu2225 u got any solution for it brother?
Can we do this using command line in va code through without github action?
I haven't tried the method you mentioned yet, but I'll give it a shot and get back to you in a few days with my findings! 🧐 BTW, thanks a bunch for the feedback! 🙏
Despite that, the approach I outlined in the video didn't yield the desired results. you now considering using command line methods instead?
@@ProgrammingWithFlexZ this is the safe way to build iOS app ? Bcz in this case we are installing third parties app so
Absolutely, it's safe to use, but just keep in mind it's unsigned and typically utilized more for testing purposes.
@@jivani6695 can you please tell me how to do that! i don't know anything about code.
Hi, and for expo?
Hey, thanks for comment ! Could you provide more details about what you mean when you mention 'expo'?
Every time I try to start the IPA on the iPhone, it says there is no app bundle, what could it be?
👋 Hey there! Thanks for reaching out! 🙏 Could you please share the complete logs for the error?
Very good video. I have tried it and I have installed my application, but why does my application get stuck when opened and displays a white page ? thanks
Thank you so much for your feedback! 🙏 Much appreciated! 🌟 Are you using a native splash or Flutter screen utils package in your project?
@@ProgrammingWithFlexZ Thank you for replying. after I searched, it is possible that the error occurred because I have not set the firebase for the ios, I will try to set it later, thank you
You're very welcome! Your search result is true. This type of error often occurs when third-party packages aren't properly configured in the info.plist file. Completing this configuration can resolve the issue. Try configuring all the packages and services you've utilized, in the iOS. Afterward, give building a new iPA a shot. You've got this! 💪
I tried this and it worked perfectly. I made an update on my app and made another, it failed at "Run flutter build ios --release --no-codesign - (Encountered error while building for device. Error: Process completed with exit code 1.). What do I do?
Great to hear that everything worked out smoothly for you!
There are various factors that could trigger such issue. Firstly, ensure that the necessary read and write permissions are granted for the branch to build the IPA. Secondly, verify that the required configurations are added to the info.plist for your updated version, especially if you've incorporated new packages into your project. It's essential to consult the official documentation on pub.dev to identify any specific iOS configurations. If these steps haven't been completed yet, please ensure they're done before attempting to build the IPA.
Lastly, if the issue persists, please provide me with the exact information log messages when the error (Encountered error while building for device. Error: Process completed with exit code 1) occurs.
I'm always here to lend a hand whenever you need assistance.
@@ProgrammingWithFlexZ Here are the errors I got
Run flutter build ios --release --no-codesign
Warning: Building for device with codesigning disabled. You will have to manually codesign before deploying to device.
Building net.JaAme.escrow for device (ios-release)...
Updating minimum iOS deployment target to 12.0.
Upgrading project.pbxproj
Upgrading AppFrameworkInfo.plist
Upgrading Podfile
Running pod install... 11.8s
Running Xcode build...
Xcode build done. 151.1s
Failed to build iOS app
Error (Xcode): lib/utils/theme.dart:28:5: Error: No named parameter with the name 'backgroundColor'.
Encountered error while building for device.
Error: Process completed with exit code 1.
@@ProgrammingWithFlexZ This is the error I got
Run flutter build ios --release --no-codesign
Warning: Building for device with codesigning disabled. You will have to manually codesign before deploying to device.
Building net.JaAme.escrow for device (ios-release)...
Updating minimum iOS deployment target to 12.0.
Upgrading project.pbxproj
Upgrading AppFrameworkInfo.plist
Upgrading Podfile
Running pod install... 11.8s
Running Xcode build...
Xcode build done. 151.1s
Failed to build iOS app
Error (Xcode): lib/utils/theme.dart:28:5: Error: No named parameter with the name 'backgroundColor'.
Encountered error while building for device.
Error: Process completed with exit code 1.
@@ProgrammingWithFlexZ Below is the error that I get
"Run flutter build ios --release --no-codesign
Warning: Building for device with codesigning disabled. You will have to manually codesign before deploying to device.
Building net.JaAme.escrow for device (ios-release)...
Updating minimum iOS deployment target to 12.0.
Upgrading project.pbxproj
Upgrading AppFrameworkInfo.plist
Upgrading Podfile
Running pod install... 16.1s
Running Xcode build...
Xcode build done. 245.2s
Failed to build iOS app
Error (Xcode): lib/utils/theme.dart:38:5: Error: No named parameter with the name 'backgroundColor'."
How do I solve it
Hey,
The error message:
```
Error (Xcode): lib/utils/theme.dart:38:5: Error: No named parameter with the name 'backgroundColor'.
```
indicates where the issue is. Open the `theme.dart` file and check line 35 to see what you've defined. The error suggests that 'backgroundColor' is not a named parameter, so it might be defined incorrectly. Try modifying how it's defined if necessary.
Hope this helps! If you can't solve it, just reply to this comment! 😊
Can i do this with windows?
Thanks for the comment! 😊 Yes, you can definitely do it on a Windows machine-there are no limitations! 💻👍
what to do if scarlet is revoked ?
Hey, thanks for your comment! 🙌
What do you mean by 'revoked'? If you're saying Scarlet isn't working for you, you might want to look for a similar app that allows iOS users to install IPA files directly. Scarlet is one of the popular ones for that purpose. If you find another app that works for you, feel free to share it here so others can benefit from it too.
Thanks! 😊
Try it out, and if you couldn't find one, just let me know, I'll introduce one for you. 👍
@@ProgrammingWithFlexZ Thanks for replying, as I can see in your scarlet installation guide it shows '(signed)' under the install button in scarlet website but for me instead of 'signed' it shows (revoked). I successfully generated the .ipa file as you guided which is really helpful but I could not find any alternative to scarlet which works for me. It would be really helpful if you could help me with that...
Try this out: ruclips.net/video/oWWCPsudlX0/видео.html
Brother i can’t install ipa file in my iPhone
Hey there! Thanks a bunch for your comment! 😊 I'm here to help. What seems to be the trouble? Is the Scarlet not working for you, or did you encounter a snag at a particular step?
@@ProgrammingWithFlexZ scarlet is revoked, please help me fast
Try this out: ruclips.net/video/oWWCPsudlX0/видео.html
@@ProgrammingWithFlexZ but it needs payment
This is not working on diawi
Hey friend, thank you for providing feedback😊. I haven't had the chance to test it out on Diawi yet.
Have you followed the tutorial steps and encountered issues?
could you please specify the errors you're experiencing and which part of the process is causing them?
I'll be more than happy to assist you with resolving them.
forever or timing ?
which part do you mean?
build is successful but I see no release files
Hey, Thanks for your comment, Here are a few things you can try to fix this.
Review the build logs for any warnings or errors that might explain why the release files weren't created.
Double-check your custom build scripts to ensure there aren't any issues or steps that skip the release file generation.
Clean the project and rebuild it to see if the release files show up this time.
If these steps don't solve the problem, please share more details about your build setup so I can better assist you in identifying the issue.
@@ProgrammingWithFlexZ There are some three warnings observed, both talks about node.js deprecated. Current is node.js 16 - deprecated.
I get an error - Error (Xcode): lib/main.dart:5:8: Error: Error when reading '.dart_tool/flutter_gen/gen_l10n/app_localizations.dart': No such file or directory
Hey, thanks for the comment! 😊 From this particular code, it seems you're utilizing generators in your project along with some localization files. Make sure to generate them first before attempting to get the IPA. Let me know if you need any help with that process! 📝🔄📱
This is the first step for continuous integration
Indeed, TRUE, Thank you for sharing the info.👍