Skip to content

Commit

Permalink
✨ Ready for App Store v1.2
Browse files Browse the repository at this point in the history
  • Loading branch information
nathanfallet committed May 4, 2021
1 parent 2cd1fa2 commit 055670d
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 19 deletions.
8 changes: 4 additions & 4 deletions OCaml.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -615,7 +615,7 @@
CODE_SIGN_ENTITLEMENTS = Shared/OCaml.entitlements;
CODE_SIGN_IDENTITY = "iPhone Developer";
CODE_SIGN_STYLE = Manual;
CURRENT_PROJECT_VERSION = 20;
CURRENT_PROJECT_VERSION = 115;
DEVELOPMENT_TEAM = ZL9396WK65;
ENABLE_PREVIEWS = YES;
INFOPLIST_FILE = iOS/Info.plist;
Expand Down Expand Up @@ -643,7 +643,7 @@
CODE_SIGN_ENTITLEMENTS = Shared/OCaml.entitlements;
CODE_SIGN_IDENTITY = "iPhone Distribution";
CODE_SIGN_STYLE = Manual;
CURRENT_PROJECT_VERSION = 20;
CURRENT_PROJECT_VERSION = 115;
DEVELOPMENT_TEAM = ZL9396WK65;
ENABLE_PREVIEWS = YES;
INFOPLIST_FILE = iOS/Info.plist;
Expand Down Expand Up @@ -673,7 +673,7 @@
CODE_SIGN_IDENTITY = "Apple Development";
CODE_SIGN_STYLE = Automatic;
COMBINE_HIDPI_IMAGES = YES;
CURRENT_PROJECT_VERSION = 20;
CURRENT_PROJECT_VERSION = 115;
DEVELOPMENT_TEAM = ZL9396WK65;
ENABLE_HARDENED_RUNTIME = YES;
ENABLE_PREVIEWS = YES;
Expand Down Expand Up @@ -702,7 +702,7 @@
CODE_SIGN_IDENTITY = "Apple Development";
CODE_SIGN_STYLE = Automatic;
COMBINE_HIDPI_IMAGES = YES;
CURRENT_PROJECT_VERSION = 20;
CURRENT_PROJECT_VERSION = 115;
DEVELOPMENT_TEAM = ZL9396WK65;
ENABLE_HARDENED_RUNTIME = YES;
ENABLE_PREVIEWS = YES;
Expand Down
3 changes: 2 additions & 1 deletion Shared/Extensions/ViewExtension.swift
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,8 @@ extension View {
#if os(macOS)
extension NSTextField {
open override var focusRingType: NSFocusRingType {
.none
get { .none }
set { super.focusRingType = newValue }
}
}
#endif
18 changes: 8 additions & 10 deletions Shared/Views/Settings/SettingsView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -59,18 +59,16 @@ struct SettingsView: View {
openURL(url)
}
}
Text("App Store")
.onTapGesture {
if let url = URL(string: "https://apps.apple.com/app/ocaml-learn-code/id1547506826") {
openURL(url)
}
Button("App Store") {
if let url = URL(string: "https://apps.apple.com/app/ocaml-learn-code/id1547506826") {
openURL(url)
}
Text("TestFlight")
.onTapGesture {
if let url = URL(string: "https://testflight.apple.com/join/xDGBk6wD") {
openURL(url)
}
}
Button("TestFlight") {
if let url = URL(string: "https://testflight.apple.com/join/xDGBk6wD") {
openURL(url)
}
}
NavigationLink(destination: OpenSourceView()) {
Text("opensource")
}
Expand Down
6 changes: 3 additions & 3 deletions iOS/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,9 @@
</dict>
</array>
<key>CFBundleVersion</key>
<string>20</string>
<string>$(CURRENT_PROJECT_VERSION)</string>
<key>ITSAppUsesNonExemptEncryption</key>
<false/>
<key>LSRequiresIPhoneOS</key>
<true/>
<key>LSSupportsOpeningDocumentsInPlace</key>
Expand Down Expand Up @@ -101,7 +103,5 @@
</dict>
</dict>
</array>
<key>ITSAppUsesNonExemptEncryption</key>
<false/>
</dict>
</plist>
4 changes: 3 additions & 1 deletion macOS/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,9 @@
</dict>
</array>
<key>CFBundleVersion</key>
<string>20</string>
<string>$(CURRENT_PROJECT_VERSION)</string>
<key>LSApplicationCategoryType</key>
<string>public.app-category.developer-tools</string>
<key>LSMinimumSystemVersion</key>
<string>$(MACOSX_DEPLOYMENT_TARGET)</string>
<key>LSSupportsOpeningDocumentsInPlace</key>
Expand Down

0 comments on commit 055670d

Please sign in to comment.