Skip to content

Commit

Permalink
Merge pull request #13 from banjun/reloader-proxy
Browse files Browse the repository at this point in the history
Hot reload on device using build helper app on host Mac
  • Loading branch information
banjun authored Nov 24, 2023
2 parents dc5a8eb + c997dae commit 094550b
Show file tree
Hide file tree
Showing 34 changed files with 1,444 additions and 172 deletions.
15 changes: 11 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,19 +8,26 @@ on:

jobs:
build:
strategy:
matrix:
configuration: ['debug', 'release']
runs-on: macOS-13
steps:
- uses: maxim-lobanov/setup-xcode@v1
with:
xcode-version: '^15.0.1'
- uses: actions/checkout@v2
- run: swift build
- uses: actions/checkout@v4
- run: swift build -c ${{ matrix.configuration }} -Xswiftc -enable-testing
podspec:
strategy:
matrix:
configuration: ['Debug', 'Release']
platform: ['ios', 'macos']
runs-on: macOS-13
steps:
- uses: maxim-lobanov/setup-xcode@v1
with:
xcode-version: '^15.0.1'
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- run: bundle install
- run: bundle exec pod lib lint
- run: bundle exec pod lib lint --platforms=${{ matrix.platform }} --configuration=${{ matrix.configuration }}
11 changes: 11 additions & 0 deletions BuildHelper/Assets.xcassets/AccentColor.colorset/Contents.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"colors" : [
{
"idiom" : "universal"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}
58 changes: 58 additions & 0 deletions BuildHelper/Assets.xcassets/AppIcon.appiconset/Contents.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
{
"images" : [
{
"idiom" : "mac",
"scale" : "1x",
"size" : "16x16"
},
{
"idiom" : "mac",
"scale" : "2x",
"size" : "16x16"
},
{
"idiom" : "mac",
"scale" : "1x",
"size" : "32x32"
},
{
"idiom" : "mac",
"scale" : "2x",
"size" : "32x32"
},
{
"idiom" : "mac",
"scale" : "1x",
"size" : "128x128"
},
{
"idiom" : "mac",
"scale" : "2x",
"size" : "128x128"
},
{
"idiom" : "mac",
"scale" : "1x",
"size" : "256x256"
},
{
"idiom" : "mac",
"scale" : "2x",
"size" : "256x256"
},
{
"idiom" : "mac",
"scale" : "1x",
"size" : "512x512"
},
{
"idiom" : "mac",
"scale" : "2x",
"size" : "512x512"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}
6 changes: 6 additions & 0 deletions BuildHelper/Assets.xcassets/Contents.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"info" : {
"author" : "xcode",
"version" : 1
}
}
14 changes: 14 additions & 0 deletions BuildHelper/BuildHelper.entitlements
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>com.apple.security.app-sandbox</key>
<false/>
<key>com.apple.security.files.user-selected.read-only</key>
<true/>
<key>com.apple.security.network.client</key>
<true/>
<key>com.apple.security.network.server</key>
<true/>
</dict>
</plist>
Loading

0 comments on commit 094550b

Please sign in to comment.