-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Initial version of new readme * Add example project * Change project version * Use objectVersion = 56; * Remove `fileSystemSynchronizedGroups` * Recreate Project using old Xcode
- Loading branch information
Showing
20 changed files
with
830 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,4 +3,6 @@ | |
**/*.xcworkspace/xcuserdata/ | ||
**/*.xcodeproj/xcshareddata/ | ||
.swiftpm | ||
.build | ||
.build | ||
*.xcarchive | ||
*.xcframework |
Oops, something went wrong.