~repos /only-bible-app
git clone https://pyrossh.dev/repos/only-bible-app.git
The only bible app you will ever need. No ads. No in-app purchases. No distractions.
a2136c9b
—
pyrossh 1 year ago
fix ios app ico
iosApp/Configuration/Config.xcconfig
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
TEAM_ID=FXH8NUGFYY
|
|
2
|
-
BUNDLE_ID=sh.
|
|
2
|
+
BUNDLE_ID=sh.pyros.only-bible-app
|
|
3
3
|
APP_NAME=Only Bible App
|
iosApp/iosApp.xcodeproj/project.pbxproj
CHANGED
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
058557BA273AAA24004C7B11 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = "<group>"; };
|
|
18
18
|
058557D8273AAEEB004C7B11 /* Preview Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = "Preview Assets.xcassets"; sourceTree = "<group>"; };
|
|
19
19
|
2152FB032600AC8F00CF470E /* iOSApp.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = iOSApp.swift; sourceTree = "<group>"; };
|
|
20
|
-
7555FF7B242A565900829871 /*
|
|
20
|
+
7555FF7B242A565900829871 /* Only Bible App.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "Only Bible App.app"; sourceTree = BUILT_PRODUCTS_DIR; };
|
|
21
21
|
7555FF82242A565900829871 /* ContentView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ContentView.swift; sourceTree = "<group>"; };
|
|
22
22
|
7555FF8C242A565B00829871 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
|
|
23
23
|
AB3632DC29227652001CCB65 /* Config.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; path = Config.xcconfig; sourceTree = "<group>"; };
|
|
@@ -62,7 +62,7 @@
|
|
|
62
62
|
7555FF7C242A565900829871 /* Products */ = {
|
|
63
63
|
isa = PBXGroup;
|
|
64
64
|
children = (
|
|
65
|
-
7555FF7B242A565900829871 /*
|
|
65
|
+
7555FF7B242A565900829871 /* Only Bible App.app */,
|
|
66
66
|
);
|
|
67
67
|
name = Products;
|
|
68
68
|
sourceTree = "<group>";
|
|
@@ -107,7 +107,7 @@
|
|
|
107
107
|
packageProductDependencies = (
|
|
108
108
|
);
|
|
109
109
|
productName = iosApp;
|
|
110
|
-
productReference = 7555FF7B242A565900829871 /*
|
|
110
|
+
productReference = 7555FF7B242A565900829871 /* Only Bible App.app */;
|
|
111
111
|
productType = "com.apple.product-type.application";
|
|
112
112
|
};
|
|
113
113
|
/* End PBXNativeTarget section */
|
|
@@ -316,8 +316,10 @@
|
|
|
316
316
|
isa = XCBuildConfiguration;
|
|
317
317
|
buildSettings = {
|
|
318
318
|
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
|
|
319
|
+
ASSETCATALOG_COMPILER_INCLUDE_ALL_APPICON_ASSETS = YES;
|
|
319
320
|
CODE_SIGN_IDENTITY = "Apple Development";
|
|
320
321
|
CODE_SIGN_STYLE = Automatic;
|
|
322
|
+
CURRENT_PROJECT_VERSION = 11;
|
|
321
323
|
DEVELOPMENT_ASSET_PATHS = "\"iosApp/Preview Content\"";
|
|
322
324
|
DEVELOPMENT_TEAM = "${TEAM_ID}";
|
|
323
325
|
ENABLE_PREVIEWS = YES;
|
|
@@ -326,14 +328,20 @@
|
|
|
326
328
|
"$(SRCROOT)/../shared/build/xcode-frameworks/$(CONFIGURATION)/$(SDK_NAME)\n$(SRCROOT)/../composeApp/build/xcode-frameworks/$(CONFIGURATION)/$(SDK_NAME)",
|
|
327
329
|
);
|
|
328
330
|
INFOPLIST_FILE = iosApp/Info.plist;
|
|
331
|
+
INFOPLIST_KEY_CFBundleDisplayName = "Only Bible App";
|
|
332
|
+
INFOPLIST_KEY_LSApplicationCategoryType = "public.app-category.books";
|
|
329
333
|
IPHONEOS_DEPLOYMENT_TARGET = 15.3;
|
|
330
334
|
LD_RUNPATH_SEARCH_PATHS = (
|
|
331
335
|
"$(inherited)",
|
|
332
336
|
"@executable_path/Frameworks",
|
|
333
337
|
);
|
|
338
|
+
MARKETING_VERSION = 2.0.0;
|
|
334
|
-
PRODUCT_BUNDLE_IDENTIFIER = "${BUNDLE_ID}
|
|
339
|
+
PRODUCT_BUNDLE_IDENTIFIER = "${BUNDLE_ID}";
|
|
335
340
|
PRODUCT_NAME = "${APP_NAME}";
|
|
336
341
|
PROVISIONING_PROFILE_SPECIFIER = "";
|
|
342
|
+
SUPPORTED_PLATFORMS = "iphoneos iphonesimulator";
|
|
343
|
+
SUPPORTS_MACCATALYST = NO;
|
|
344
|
+
SUPPORTS_XR_DESIGNED_FOR_IPHONE_IPAD = NO;
|
|
337
345
|
SWIFT_VERSION = 5.0;
|
|
338
346
|
TARGETED_DEVICE_FAMILY = "1,2";
|
|
339
347
|
};
|
|
@@ -343,24 +351,35 @@
|
|
|
343
351
|
isa = XCBuildConfiguration;
|
|
344
352
|
buildSettings = {
|
|
345
353
|
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
|
|
354
|
+
ASSETCATALOG_COMPILER_INCLUDE_ALL_APPICON_ASSETS = YES;
|
|
346
355
|
CODE_SIGN_IDENTITY = "Apple Development";
|
|
356
|
+
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Distribution";
|
|
347
|
-
CODE_SIGN_STYLE =
|
|
357
|
+
CODE_SIGN_STYLE = Manual;
|
|
358
|
+
CURRENT_PROJECT_VERSION = 11;
|
|
348
359
|
DEVELOPMENT_ASSET_PATHS = "\"iosApp/Preview Content\"";
|
|
349
|
-
DEVELOPMENT_TEAM = "
|
|
360
|
+
DEVELOPMENT_TEAM = "";
|
|
361
|
+
"DEVELOPMENT_TEAM[sdk=iphoneos*]" = FXH8NUGFYY;
|
|
350
362
|
ENABLE_PREVIEWS = YES;
|
|
351
363
|
FRAMEWORK_SEARCH_PATHS = (
|
|
352
364
|
"$(inherited)",
|
|
353
365
|
"$(SRCROOT)/../shared/build/xcode-frameworks/$(CONFIGURATION)/$(SDK_NAME)\n$(SRCROOT)/../composeApp/build/xcode-frameworks/$(CONFIGURATION)/$(SDK_NAME)",
|
|
354
366
|
);
|
|
355
367
|
INFOPLIST_FILE = iosApp/Info.plist;
|
|
368
|
+
INFOPLIST_KEY_CFBundleDisplayName = "Only Bible App";
|
|
369
|
+
INFOPLIST_KEY_LSApplicationCategoryType = "public.app-category.books";
|
|
356
370
|
IPHONEOS_DEPLOYMENT_TARGET = 15.3;
|
|
357
371
|
LD_RUNPATH_SEARCH_PATHS = (
|
|
358
372
|
"$(inherited)",
|
|
359
373
|
"@executable_path/Frameworks",
|
|
360
374
|
);
|
|
375
|
+
MARKETING_VERSION = 2.0.0;
|
|
361
|
-
PRODUCT_BUNDLE_IDENTIFIER = "${BUNDLE_ID}
|
|
376
|
+
PRODUCT_BUNDLE_IDENTIFIER = "${BUNDLE_ID}";
|
|
362
377
|
PRODUCT_NAME = "${APP_NAME}";
|
|
363
378
|
PROVISIONING_PROFILE_SPECIFIER = "";
|
|
379
|
+
"PROVISIONING_PROFILE_SPECIFIER[sdk=iphoneos*]" = "iOS Distribution";
|
|
380
|
+
SUPPORTED_PLATFORMS = "iphoneos iphonesimulator";
|
|
381
|
+
SUPPORTS_MACCATALYST = NO;
|
|
382
|
+
SUPPORTS_XR_DESIGNED_FOR_IPHONE_IPAD = NO;
|
|
364
383
|
SWIFT_VERSION = 5.0;
|
|
365
384
|
TARGETED_DEVICE_FAMILY = "1,2";
|
|
366
385
|
};
|
iosApp/iosApp/Assets.xcassets/AppIcon.appiconset/app-icon-1024.png
CHANGED
|
Binary file
|
iosApp/iosApp/Info.plist
CHANGED
|
@@ -2,6 +2,8 @@
|
|
|
2
2
|
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
|
3
3
|
<plist version="1.0">
|
|
4
4
|
<dict>
|
|
5
|
+
<key>CADisableMinimumFrameDurationOnPhone</key>
|
|
6
|
+
<true/>
|
|
5
7
|
<key>CFBundleDevelopmentRegion</key>
|
|
6
8
|
<string>$(DEVELOPMENT_LANGUAGE)</string>
|
|
7
9
|
<key>CFBundleExecutable</key>
|
|
@@ -15,13 +17,11 @@
|
|
|
15
17
|
<key>CFBundlePackageType</key>
|
|
16
18
|
<string>$(PRODUCT_BUNDLE_PACKAGE_TYPE)</string>
|
|
17
19
|
<key>CFBundleShortVersionString</key>
|
|
18
|
-
<string>
|
|
20
|
+
<string>2.0.0</string>
|
|
19
21
|
<key>CFBundleVersion</key>
|
|
20
|
-
<string>
|
|
22
|
+
<string>12</string>
|
|
21
23
|
<key>LSRequiresIPhoneOS</key>
|
|
22
24
|
<true/>
|
|
23
|
-
<key>CADisableMinimumFrameDurationOnPhone</key>
|
|
24
|
-
<true/>
|
|
25
25
|
<key>UIApplicationSceneManifest</key>
|
|
26
26
|
<dict>
|
|
27
27
|
<key>UIApplicationSupportsMultipleScenes</key>
|
readme.md
CHANGED
|
@@ -13,36 +13,30 @@ Online Audio Playback
|
|
|
13
13
|
## Setup
|
|
14
14
|
|
|
15
15
|
```agsl
|
|
16
|
-
brew install
|
|
16
|
+
brew install mas
|
|
17
|
+
brew install --cask android-studio openjdk gradle
|
|
18
|
+
mas install search Xcode
|
|
17
19
|
```
|
|
18
20
|
|
|
19
|
-
For emulators,
|
|
21
|
+
For android emulators,
|
|
20
22
|
1. Turn on developer options
|
|
21
23
|
2. Disable HW overlays in those options
|
|
22
24
|
|
|
25
|
+
For generating ios screenshots use this,
|
|
26
|
+
https://icon.kitchen/
|
|
27
|
+
|
|
28
|
+
## Android
|
|
29
|
+
|
|
23
30
|
## iOS
|
|
24
31
|
|
|
25
32
|
* Make sure you've added a Distribution certificate to the system keystore and download it and install it
|
|
26
33
|
* Make sure you create an App Store provisioning profile for this certificate and download it and install it
|
|
27
34
|
* Add you Apple Developer Team account in xCode and open ios/Runner.xcworkspace and under Runner Project,
|
|
28
35
|
* Runner Target, Signing Tab, Release Tab, select that provisioning profile and Team and Certificate.
|
|
36
|
+
* To convert simulator screenshots: `for i in *.png; do magick "$i" -resize 1242x2688 -background black -gravity center -extent 1242x2688 "resized/${i}"; done`
|
|
29
37
|
|
|
30
38
|
## TODO
|
|
31
39
|
1. Fix Long chapter name (Thessalonians) where menu button shrinks
|
|
32
|
-
2. Add locales in the resources/localeList or app definition
|
|
33
40
|
|
|
34
41
|
## Development
|
|
35
42
|
This is a Kotlin Multiplatform project targeting Android, iOS.
|
|
36
|
-
|
|
37
|
-
* `/composeApp` is for code that will be shared across your Compose Multiplatform applications.
|
|
38
|
-
It contains several subfolders:
|
|
39
|
-
- `commonMain` is for code that’s common for all targets.
|
|
40
|
-
- Other folders are for Kotlin code that will be compiled for only the platform indicated in the folder name.
|
|
41
|
-
For example, if you want to use Apple’s CoreCrypto for the iOS part of your Kotlin app,
|
|
42
|
-
`iosMain` would be the right folder for such calls.
|
|
43
|
-
|
|
44
|
-
* `/iosApp` contains iOS applications. Even if you’re sharing your UI with Compose Multiplatform,
|
|
45
|
-
you need this entry point for your iOS app. This is also where you should add SwiftUI code for your project.
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
Learn more about [Kotlin Multiplatform](https://www.jetbrains.com/help/kotlin-multiplatform-dev/get-started.html)…
|