Skip to content

Build an XCode Project to IPA file without a Mac! (e.g., Godot Engine project)

Notifications You must be signed in to change notification settings

mak448a/build-ios

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 

Repository files navigation

build-ios

This is a tutorial repository for building a Godot Project IPA with GitHub actions. Check it out here: https://mak448a.github.io/blog/compile-ios-godot-without-mac Please give this repo a star if it helps! :)

If you can't upload to GitHub successfully, you may need to upload the file to dropbox and download it. Replace the contents of build.yml with this. Copy the link to your dropbox file. Replace YOURLINKHERE with it. MAKE SURE TO CHANGE dl=0 in the URL to dl=1.

Also, if you don't want the repository building on every push, you can configure it with on: [workflow_dispatch] instead of on: [push].

name: "Build iOS app"

on: [push]

jobs:
  build_ios:
    runs-on: macos-latest
    steps:
      - name: checkout repository
        uses: actions/checkout@v4

      - name: build archive and ipaify
        run: |
          wget -O archive.zip "YOURLINKHERE"
          unzip archive.zip -d .

          xcodebuild archive -project Example-Project.xcodeproj -scheme 'Example-Project' -archivePath Example-Project.xcarchive -configuration Release CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO

          mkdir Payload
          mv Example-Project.xcarchive/Products/Applications/Example-Project.app Payload/Example-Project.app

          zip -r "Example-Project.ipa" "Payload"

          mv Example-Project.ipa ${{ runner.temp }}/Example-Project.ipa


      - name: Upload application
        uses: actions/upload-artifact@v4
        with:
          name: Example-Project
          path: ${{ runner.temp }}/Example-Project.ipa
          # you can also archive the entire directory
          # path: ${{ runner.temp }}/build
          retention-days: 3

About

Build an XCode Project to IPA file without a Mac! (e.g., Godot Engine project)

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published