Skip to content

Commit

Permalink
Improve Documentation (#3)
Browse files Browse the repository at this point in the history
* Initial version of new readme

* Add example project

* Change project version

* Use objectVersion = 56;

* Remove `fileSystemSynchronizedGroups`

* Recreate Project using old Xcode
  • Loading branch information
Itaybre authored Oct 10, 2024
1 parent 7b77420 commit ad5ec1b
Show file tree
Hide file tree
Showing 20 changed files with 830 additions and 15 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/build-xcframework.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: Build XCFramework

on:
pull_request:
branches:
- main

jobs:
build:
runs-on: macos-14

steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Xcode select
run: sudo xcode-select -s '/Applications/Xcode_15.4.app/Contents/Developer'
- name: Build xcframework
run: sh build.sh
22 changes: 22 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Pull Request Build

on:
pull_request:
branches:
- main

jobs:
build:
runs-on: macos-14

steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Xcode select
run: sudo xcode-select -s '/Applications/Xcode_15.4.app/Contents/Developer'
- name: Build for iOS Simulator
run: xcodebuild build -scheme ETDistribution -sdk iphonesimulator -destination 'generic/platform=iOS Simulator'
- name: Build for iOS
run: xcodebuild build -scheme ETDistribution -sdk iphoneos -destination 'generic/platform=iOS'
- name: Build TestApp
run: cd Example && xcodebuild build -scheme DemoApp -sdk iphonesimulator -destination 'generic/platform=iOS Simulator' -project DemoApp.xcodeproj
29 changes: 29 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Release workflow

on:
push:
tags:
- 'v*'

jobs:
release:
runs-on: macos-14

steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Xcode select
run: sudo xcode-select -s '/Applications/Xcode_15.4.app/Contents/Developer'
- name: Build xcframework
run: sh build.sh
- name: Zip xcframework
run: zip -r ETDistribution.xcframework.zip ETDistribution.xcframework
- name: Upload Artifact
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
with:
files: |
ETDistribution.xcframework.zip
body:
Release ${{ github.ref }}
Automated release created by GitHub Actions.
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,6 @@
**/*.xcworkspace/xcuserdata/
**/*.xcodeproj/xcshareddata/
.swiftpm
.build
.build
*.xcarchive
*.xcframework
Loading

0 comments on commit ad5ec1b

Please sign in to comment.