Skip to content

Commit

Permalink
feat: 幸运骰子1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Hao-yiwen committed Dec 8, 2024
1 parent 72343ba commit efac581
Show file tree
Hide file tree
Showing 4 changed files with 107 additions and 0 deletions.
Binary file not shown.
78 changes: 78 additions & 0 deletions dice.xcodeproj/xcshareddata/xcschemes/dice.xcscheme
Original file line number Diff line number Diff line change
@@ -0,0 +1,78 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "1600"
version = "1.7">
<BuildAction
parallelizeBuildables = "YES"
buildImplicitDependencies = "YES"
buildArchitectures = "Automatic">
<BuildActionEntries>
<BuildActionEntry
buildForTesting = "YES"
buildForRunning = "YES"
buildForProfiling = "YES"
buildForArchiving = "YES"
buildForAnalyzing = "YES">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "3955FFD42D007FF4003C6E4B"
BuildableName = "dice.app"
BlueprintName = "dice"
ReferencedContainer = "container:dice.xcodeproj">
</BuildableReference>
</BuildActionEntry>
</BuildActionEntries>
</BuildAction>
<TestAction
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
shouldUseLaunchSchemeArgsEnv = "YES"
shouldAutocreateTestPlan = "YES">
</TestAction>
<LaunchAction
buildConfiguration = "Release"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
launchStyle = "0"
useCustomWorkingDirectory = "NO"
ignoresPersistentStateOnLaunch = "NO"
debugDocumentVersioning = "YES"
debugServiceExtension = "internal"
allowLocationSimulation = "YES">
<BuildableProductRunnable
runnableDebuggingMode = "0">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "3955FFD42D007FF4003C6E4B"
BuildableName = "dice.app"
BlueprintName = "dice"
ReferencedContainer = "container:dice.xcodeproj">
</BuildableReference>
</BuildableProductRunnable>
</LaunchAction>
<ProfileAction
buildConfiguration = "Release"
shouldUseLaunchSchemeArgsEnv = "YES"
savedToolIdentifier = ""
useCustomWorkingDirectory = "NO"
debugDocumentVersioning = "YES">
<BuildableProductRunnable
runnableDebuggingMode = "0">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "3955FFD42D007FF4003C6E4B"
BuildableName = "dice.app"
BlueprintName = "dice"
ReferencedContainer = "container:dice.xcodeproj">
</BuildableReference>
</BuildableProductRunnable>
</ProfileAction>
<AnalyzeAction
buildConfiguration = "Debug">
</AnalyzeAction>
<ArchiveAction
buildConfiguration = "Release"
revealArchiveInOrganizer = "YES">
</ArchiveAction>
</Scheme>
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,13 @@
<integer>0</integer>
</dict>
</dict>
<key>SuppressBuildableAutocreation</key>
<dict>
<key>3955FFD42D007FF4003C6E4B</key>
<dict>
<key>primary</key>
<true/>
</dict>
</dict>
</dict>
</plist>
21 changes: 21 additions & 0 deletions signature.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# 签名流程

1. 签名
```bash
codesign --force --deep --sign "dice" ./DiceGenerator-Bundle/dice.app
```

2. 校验
```bash
codesign --verify --deep --strict ./DiceGenerator-Bundle/dice.app
```

3. dmg制作
```bash
ln -s /Applications "./DiceGenerator-Bundle/Applications"

hdiutil create -volname "Dice Generator" \
-srcfolder DiceGenerator-Bundle \
-ov -format UDZO \
DiceGenerator.dmg
```

0 comments on commit efac581

Please sign in to comment.