Skip to content

Commit 3725f61

Browse files
committed
build: add app store target and versioning fixes
1 parent 986960b commit 3725f61

File tree

9 files changed

+377
-52
lines changed

9 files changed

+377
-52
lines changed

.release-it.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"release": false
99
},
1010
"hooks": {
11-
"before:git:release": "xcrun agvtool new-marketing-version ${version} && xcrun agvtool new-version -all ${version} && git add Wave.xcodeproj/project.pbxproj Wave/Info.plist CHANGELOG.md"
11+
"before:git:release": "xcrun agvtool new-marketing-version ${version} && xcrun agvtool next-version -all && git add package.json Wave.xcodeproj/project.pbxproj Config/Info.plist CHANGELOG.md"
1212
},
1313
"plugins": {
1414
"@release-it/conventional-changelog": {

Config/Info.plist

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3+
<plist version="1.0">
4+
<dict>
5+
<key>CFBundleDevelopmentRegion</key>
6+
<string>$(DEVELOPMENT_LANGUAGE)</string>
7+
<key>CFBundleDisplayName</key>
8+
<string>$(INFOPLIST_KEY_CFBundleDisplayName)</string>
9+
<key>CFBundleExecutable</key>
10+
<string>$(EXECUTABLE_NAME)</string>
11+
<key>CFBundleIdentifier</key>
12+
<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
13+
<key>CFBundleInfoDictionaryVersion</key>
14+
<string>6.0</string>
15+
<key>CFBundleName</key>
16+
<string>$(INFOPLIST_KEY_CFBundleName)</string>
17+
<key>CFBundlePackageType</key>
18+
<string>APPL</string>
19+
<key>CFBundleShortVersionString</key>
20+
<string>$(MARKETING_VERSION)</string>
21+
<key>CFBundleVersion</key>
22+
<string>$(CURRENT_PROJECT_VERSION)</string>
23+
<key>LSUIElement</key>
24+
<false/>
25+
<key>LSApplicationCategoryType</key>
26+
<string>$(INFOPLIST_KEY_LSApplicationCategoryType)</string>
27+
<key>NSAccentColorName</key>
28+
<string>AccentColor</string>
29+
<key>NSMicrophoneUsageDescription</key>
30+
<string>Wave needs microphone access to record speech for transcription.</string>
31+
</dict>
32+
</plist>

Config/WaveAppStore.entitlements

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3+
<plist version="1.0">
4+
<dict>
5+
<key>com.apple.security.app-sandbox</key>
6+
<true/>
7+
<key>com.apple.security.device.audio-input</key>
8+
<true/>
9+
</dict>
10+
</plist>

ExportOptions.plist

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3+
<plist version="1.0">
4+
<dict>
5+
<key>method</key>
6+
<string>app-store-connect</string>
7+
<key>signingStyle</key>
8+
<string>automatic</string>
9+
</dict>
10+
</plist>

0 commit comments

Comments
 (0)