Skip to content

Commit

Permalink
Archive / export app
Browse files Browse the repository at this point in the history
  • Loading branch information
DDRBoxman committed Oct 10, 2023
1 parent 58ea232 commit c37373b
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/macos-xcode.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,10 +49,12 @@ jobs:
file_to_build=`echo $file_to_build | awk '{$1=$1;print}'`
xcodebuild ARCHS=x86_64 ONLY_ACTIVE_ARCH=NO clean build analyze archive -scheme "$scheme" -"$filetype_parameter" "$file_to_build" | xcpretty && exit ${PIPESTATUS[0]}
- uses: vimtor/action-zip@v1.1
with:
files: ./macos/build/release/Cappy3ds.app
dest: result.zip
- name: Get App
working-directory: ./macos
run: |
xcodebuild ARCHS=x86_64 ONLY_ACTIVE_ARCH=NO archive -archivePath archive.xcarchive -scheme Cappy3ds
xcodebuild -archivePath ./archive.xcarchive -exportArchive -exportPath ./ -exportOptionsPlist ./exportOptionsAdHoc.plist
zip -r -X ../result.zip Cappy3ds.app
- uses: actions/upload-artifact@v3
with:
Expand Down
8 changes: 8 additions & 0 deletions macos/exportOptionsAdHoc.plist
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<?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>method</key>
<string>mac-application</string>
</dict>
</plist>

0 comments on commit c37373b

Please sign in to comment.