Skip to content

Commit 714414e

Browse files
Merge pull request #77 from Maple-Code-Crafters/build-ios-v1.0.0
Build ios v1.0.0
2 parents d553fc3 + 35e5937 commit 714414e

File tree

4 files changed

+25
-5
lines changed

4 files changed

+25
-5
lines changed

README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,3 +82,11 @@
8282
- `npm run generate`
8383

8484
- <https://github.com/ionic-team/capacitor-assets>
85+
86+
## Upload iOS build (Xcode)
87+
88+
1. Update iOS app project version
89+
90+
2. Product > Archive
91+
92+
3. Archives > Validate App and Distribute App

ios/App/App.xcodeproj/project.pbxproj

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -348,12 +348,17 @@
348348
CODE_SIGN_STYLE = Automatic;
349349
CURRENT_PROJECT_VERSION = 1;
350350
INFOPLIST_FILE = App/Info.plist;
351+
INFOPLIST_KEY_LSApplicationCategoryType = "public.app-category.games";
351352
IPHONEOS_DEPLOYMENT_TARGET = 13.0;
352353
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
353354
MARKETING_VERSION = 1.0;
354355
OTHER_SWIFT_FLAGS = "$(inherited) \"-D\" \"COCOAPODS\" \"-DDEBUG\"";
355356
PRODUCT_BUNDLE_IDENTIFIER = io.ionic.starter;
356357
PRODUCT_NAME = "$(TARGET_NAME)";
358+
SUPPORTED_PLATFORMS = "iphoneos iphonesimulator";
359+
SUPPORTS_MACCATALYST = NO;
360+
SUPPORTS_MAC_DESIGNED_FOR_IPHONE_IPAD = NO;
361+
SUPPORTS_XR_DESIGNED_FOR_IPHONE_IPAD = NO;
357362
SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG;
358363
SWIFT_VERSION = 5.0;
359364
TARGETED_DEVICE_FAMILY = "1,2";
@@ -367,12 +372,18 @@
367372
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
368373
CODE_SIGN_STYLE = Automatic;
369374
CURRENT_PROJECT_VERSION = 1;
375+
DEVELOPMENT_TEAM = PX4UURV28Q;
370376
INFOPLIST_FILE = App/Info.plist;
377+
INFOPLIST_KEY_LSApplicationCategoryType = "public.app-category.games";
371378
IPHONEOS_DEPLOYMENT_TARGET = 13.0;
372379
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
373380
MARKETING_VERSION = 1.0;
374-
PRODUCT_BUNDLE_IDENTIFIER = io.ionic.starter;
381+
PRODUCT_BUNDLE_IDENTIFIER = "com.tic-tac-toe.app";
375382
PRODUCT_NAME = "$(TARGET_NAME)";
383+
SUPPORTED_PLATFORMS = "iphoneos iphonesimulator";
384+
SUPPORTS_MACCATALYST = NO;
385+
SUPPORTS_MAC_DESIGNED_FOR_IPHONE_IPAD = NO;
386+
SUPPORTS_XR_DESIGNED_FOR_IPHONE_IPAD = NO;
376387
SWIFT_ACTIVE_COMPILATION_CONDITIONS = "";
377388
SWIFT_VERSION = 5.0;
378389
TARGETED_DEVICE_FAMILY = "1,2";

ios/App/App/Info.plist

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@
66
<string>en</string>
77
<key>CFBundleDisplayName</key>
88
<string>tic-tac-toe</string>
9+
<key>ITSAppUsesNonExemptEncryption</key>
10+
<false/>
911
<key>CFBundleExecutable</key>
1012
<string>$(EXECUTABLE_NAME)</string>
1113
<key>CFBundleIdentifier</key>
@@ -26,6 +28,8 @@
2628
<string>LaunchScreen</string>
2729
<key>UIMainStoryboardFile</key>
2830
<string>Main</string>
31+
<key>UIRequiresFullScreen</key>
32+
<true/>
2933
<key>UIRequiredDeviceCapabilities</key>
3034
<array>
3135
<string>armv7</string>
@@ -37,9 +41,6 @@
3741
<key>UISupportedInterfaceOrientations~ipad</key>
3842
<array>
3943
<string>UIInterfaceOrientationPortrait</string>
40-
<string>UIInterfaceOrientationPortraitUpsideDown</string>
41-
<string>UIInterfaceOrientationLandscapeLeft</string>
42-
<string>UIInterfaceOrientationLandscapeRight</string>
4344
</array>
4445
<key>UIViewControllerBasedStatusBarAppearance</key>
4546
<true/>

src/constants/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import type { Default } from '../helpers/storage.helper';
22
import { Level, NumberOfPlayers } from '../models/Game';
33

44
export const APP_VERSION = '1.0.0';
5-
export const APP_NAME = 'tic-tac-toe';
5+
export const APP_NAME = 'Maple Tic-Tac-Toe';
66
export const DEFAULT: Default = {
77
player1Name: 'Player 1',
88
player2Name: 'Player 2',

0 commit comments

Comments
 (0)