How to build an iOS app with GitHub Actions [2023]

Поделиться
HTML-код
  • Опубликовано: 11 дек 2024

Комментарии • 34

  • @MrWobling
    @MrWobling 11 месяцев назад

    Many thanks for this - made an overwhelming task seem much more approachable.

  • @CoNgL3
    @CoNgL3 Год назад +2

    Really nice video. Good luck with your youtube endeavors. 👍

  • @SoadHayek
    @SoadHayek Год назад +1

    Thank you that was super helpful for me , I'm facing issue for the provisioning profiles I have multiple profiles , I'm facing issue in the app groups with the automatic singing , any recommendations ?

    • @SoadHayek
      @SoadHayek Год назад

      /Users/runner/../app.xcodeproj: error: No profiles for 'com.app.NotificationService' were found: Xcode couldn't find any iOS App Development provisioning profiles matching 'com.app.NotificationService'. Automatic signing is disabled and unable to generate a profile. To enable automatic signing, pass -allowProvisioningUpdates to xcodebuild. (in target 'NotificationService' from project 'app')

    • @SPFExpert
      @SPFExpert  Год назад

      I do! I ran into the same issue and here are detailed steps and links to my code that will handle multiple provisioning profiles. www.andrewhoog.com/post/how-to-build-react-native-ios-app-with-github-actions-2023/#31-bundling-multiple-mobile-provisioning-profiles

  • @DiegoOliveira-yt8bm
    @DiegoOliveira-yt8bm Год назад +1

    That was so helpful, to me, thank you.
    Thanks to your video I could set up the certs and passwords needed
    I managed to set up a a Github workflow, running on mac, that tuns a Qt Creator build with signing and upload the .dmg file as an artifact
    Super thanks

    • @SPFExpert
      @SPFExpert  Год назад +1

      That’s so great to hear! Exactly the reason I like to share these videos.

  • @HumbleHustle101
    @HumbleHustle101 7 месяцев назад

    Nice video. Can you also make a video on pods with github action?

  • @clementcardonnel3219
    @clementcardonnel3219 7 месяцев назад

    Thank you, your tutorial has helped me a lot. 👍

  • @adamdahan9506
    @adamdahan9506 Год назад +1

    Xcode cloud simplifies this process greatly. Wondering what you think about GH actions vs Xcode cloud?

    • @aBakaDev
      @aBakaDev Год назад

      cause it's too expensive

  • @maonguyen1619
    @maonguyen1619 Год назад

    Love it. Thanks for sharing!

  • @coren99
    @coren99 Год назад

    This video is super helpful, I managed to get the app archived and exported in the command line of my mac no issues. When I setup in github actions though at the export step I get an error that there is no Distribution certificate. I know the cert installed in the secrets is a Development certificate, but that seems to be all I needed on my mac. Any ideas what I could be doing wrong?

  • @luizuk4
    @luizuk4 Год назад

    Awesome! Thanks Andrew!

  • @tarumalik
    @tarumalik Год назад +1

    hey Andrew, I get this error, with no additional information. where should i dig into?
    Process completed with exit code 65.

  • @pabloalvarez2886
    @pabloalvarez2886 Год назад

    Nice video!
    I’m having a problem tho. I’m getting exit code 66, that the directory does not contain an Xcode project. How can I manipulate that path to fix that?

    • @SPFExpert
      @SPFExpert  Год назад

      Is the repo public? I’d be great to have a look at that, or perhaps some more of the error log. If it’s not public, maybe just post the error log and file list in a gist and share the link here?

    • @pabloalvarez2886
      @pabloalvarez2886 Год назад

      The repo is not public, but I already fixed that issue! Thanks.
      I’m having a problem with the Provisioning profiles, do you know a way of seeing the Logs of a Build with xCode to see the correct ones that I should use?

    • @SPFExpert
      @SPFExpert  Год назад

      Great, the mobile provisioning profiles can be tricky, especially if you have more than one. I have a video that talks through how to handle that as well as a public repo with example code.
      To see the Xcode logs, I use the xcodebuild command. I Reference it in several videos, and you could run that on your workstation or in the kid have action, which would then be accessible in the action logs.
      Here’s a link to a video that talks about how to run Xcode command line:
      www.andrewhoog.com/post/how-to-build-an-ios-app-archive-via-command-line/

    • @pabloalvarez2886
      @pabloalvarez2886 Год назад

      Yea i saw that link! but i quitted because i had a lot of errors trying to build the project via xcodebuild command. Thats why i still can't see the Logs, and figure out what should be the correct Mobile provisioning Profiles and certificates@@SPFExpert. The error that i have using xcodebuild command is: fatal error: module map file
      '/Users/pablo/Library/Developer/Xcode/DerivedData/Glik-bxbwmzcivjasbkbiqxqkmjmbxeli/Build/Products/Debug-iphoneos/FirebaseCoreInternal/FirebaseCoreInternal.modulemap'
      not found
      And in my Github Action, i'm having the next error:
      error: Signing certificate is invalid. Signing certificate "Apple Development: Pablo Alvarez Sanhueza (5T8495ARD9)", serial number "5559B7A3CA5E2DB37D26C57053EBBD43", is not valid for code signing. It may have been revoked or expired. (in target 'Glik' from project 'Glik')
      But i can build my app locally using that certificate in my laptop. That is my issue right now :( thank you so much for replying Andrew

    • @SPFExpert
      @SPFExpert  Год назад

      How are you adding fire Bace? It’s likely that before you try to build the app, command line or we could have actions, you’ll need to first run the command to install third-party packages. Are you using Swift Package Manager (SPM)?
      P.S. you might want to check out this flag as I use it in a simple Hacker News reader I wrote. This build script works but I don’t remember where/how the dependencies are installed. I’m suing SPM. github.com/ahoog42/simple-hn-reader/blob/main/.github/workflows/full-scan-on-pr-and-release.yml#L75

  • @cosmic_pixel
    @cosmic_pixel Год назад

    This was super helpful 🔥

  • @oztech
    @oztech Год назад

    Is it possible to post the ipa automatically to the App Store not downloading and uploading it manually?

    • @udayananthu2326
      @udayananthu2326 5 месяцев назад +1

      Yes you can upload an ipa automatically to the App Store