File tree Expand file tree Collapse file tree 3 files changed +10
-11
lines changed Expand file tree Collapse file tree 3 files changed +10
-11
lines changed Original file line number Diff line number Diff line change @@ -23,13 +23,13 @@ jobs:
23
23
issuer-id : ${{ secrets.APPSTORE_ISSUER_ID }}
24
24
api-key-id : ${{ secrets.APPSTORE_KEY_ID }}
25
25
api-private-key : ${{ secrets.APPSTORE_PRIVATE_KEY }}
26
- - run : make init
26
+ - run : PRODUCT_NAME=${{ secrets.APPSTORE_PRODUCT_NAME }} DEVELOPMENT_TEAM=${{ secrets.APPSTORE_DEVELOPMENT_TEAM }} PRODUCT_BUNDLE_IDENTIFIER=${{ secrets.APPSTORE_BUNDLE_ID }} make init
27
27
- run : make heaps-world
28
28
- run : make build
29
29
- uses : actions/upload-artifact@v2
30
30
with :
31
- name : HelloHeaps .app
32
- path : build/Release-iphoneos/HelloHeaps .app
31
+ name : ${{ secrets.APPSTORE_PRODUCT_NAME}} .app
32
+ path : build/Release-iphoneos/${{ secrets.APPSTORE_PRODUCT_NAME}} .app
33
33
# need app-store provisioning profile
34
34
# - uses: Apple-Actions/upload-testflight-build@master
35
35
# with:
Original file line number Diff line number Diff line change 3
3
all : build install
4
4
5
5
init :
6
- git update-index --assume-unchanged Configuration/Config.xcconfig
7
- npm install -g ios-deploy
8
- brew install haxe
6
+ brew install haxe gnu-sed
9
7
brew bundle install --file deps/hashlink/Brewfile --no-lock
10
8
make -C deps/hashlink
11
9
make install -C deps/hashlink
12
10
haxelib setup /usr/local/lib/haxe/lib
11
+ npm install -g ios-deploy
12
+ gsed -i " s/PRODUCT_NAME=.*/PRODUCT_NAME=$( PRODUCT_NAME) /" -i Configuration/Config.xcconfig
13
+ gsed -i " s/DEVELOPMENT_TEAM=.*/DEVELOPMENT_TEAM=$( DEVELOPMENT_TEAM) /" Configuration/Config.xcconfig
14
+ gsed -i " s/PRODUCT_BUNDLE_IDENTIFIER=.*/PRODUCT_BUNDLE_IDENTIFIER=$( PRODUCT_BUNDLE_IDENTIFIER) /" Configuration/Config.xcconfig
15
+ git update-index --assume-unchanged Configuration/Config.xcconfig
13
16
14
17
build :
15
18
xcodebuild -project App.xcodeproj -target App build
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ Forked from https://github.com/thejustinwalsh/heaps-ios
8
8
``` sh
9
9
git clone https://github.com/qkdreyer/heaps-ios
10
10
cd heaps-ios
11
- make init
11
+ PRODUCT_NAME=HeapsApp DEVELOPMENT_TEAM=1234567890 PRODUCT_BUNDLE_IDENTIFIER=io.heaps.app make init
12
12
```
13
13
14
14
## Usage
@@ -17,7 +17,3 @@ make init
17
17
make heaps-world
18
18
make # make build & make install
19
19
```
20
-
21
- ## Configure
22
-
23
- - Edit ` Configuration/Config.xcconfig `
You can’t perform that action at this time.
0 commit comments