Skip to content

Commit

Permalink
Merge remote-tracking branch 'refs/remotes/origin/main'
Browse files Browse the repository at this point in the history
  • Loading branch information
liamcharger committed Mar 1, 2024
2 parents 34ee420 + f8250a4 commit 11a01a4
Showing 1 changed file with 50 additions and 0 deletions.
50 changes: 50 additions & 0 deletions .github/workflows/objective-c-xcode.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
name: "Build & Analyze"

on:
pull_request:
branches: [main]
push:
branches: [main]

jobs:
build_app:
runs-on: macos-14
steps:
- name: List Xcode installations
run: sudo ls -1 /Applications | grep "Xcode"

- name: Select Xcode 15.2
run: sudo xcode-select -s /Applications/Xcode_15.2.app/Contents/Developer

- name: Check Xcode version
run: /usr/bin/xcodebuild -version

- name: Checkout source files
uses: actions/checkout@v3

- name: Build unsigned archive
run: |
xcodebuild archive \
-project InfiniLink.xcodeproj \
-scheme InfiniLink \
-archivePath unsigned.xcarchive \
-configuration Release \
-sdk iphoneos \
-destination generic/platform=iOS \
CODE_SIGN_IDENTITY="" \
CODE_SIGNING_REQUIRED=NO \
CODE_SIGNING_ALLOWED=NO
- name: Make IPA
run: |
find .
mv ./unsigned.xcarchive/Products/Applications ./Payload
zip -r infinilink.zip ./Payload
mv infinilink.zip infinilink.ipa
find .
- name: Upload build artifact
uses: actions/upload-artifact@v3
with:
name: infinilink.ipa
path: infinilink.ipa

0 comments on commit 11a01a4

Please sign in to comment.