Skip to content

Commit fce4b90

Browse files
authored
Revert "Version 1.0.0 🥳🎊 (#257)" (#261)
This reverts commit 3caea10.
1 parent 3caea10 commit fce4b90

File tree

176 files changed

+153
-8488
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

176 files changed

+153
-8488
lines changed

.github/PULL_REQUEST_TEMPLATE.md

-10
This file was deleted.

.github/Release-note.yml

-51
This file was deleted.

.github/workflows/Deployment.yml

-98
This file was deleted.

.gitignore

-9
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,6 @@
33
.DS_Store
44
.AppleDouble
55
.LSOverride
6-
.env
7-
8-
# Auth
9-
*.key
10-
*.p8
11-
*.p12
12-
*.cer
136

147
# Icon must end with two
158
Icon
@@ -75,5 +68,3 @@ Derived/
7568

7669
### Tuist managed dependencies ###
7770
Tuist/Dependencies
78-
79-
.mise.toml

.gitmodules

-3
This file was deleted.

Gemfile

-4
This file was deleted.

Makefile

-19
This file was deleted.

Project.swift

+9-67
Original file line numberDiff line numberDiff line change
@@ -14,24 +14,15 @@ protocol ProjectFactory {
1414
class iBoxFactory: ProjectFactory {
1515
let projectName: String = "iBox"
1616
let bundleId: String = "com.box42.iBox"
17-
let iosVersion: String = "15.0"
1817

1918
let dependencies: [TargetDependency] = [
20-
.external(name: "SnapKit"),
21-
.external(name: "SwiftSoup"),
22-
.external(name: "SkeletonView"),
23-
.target(name: "iBoxShareExtension")
24-
]
25-
26-
let iBoxShareExtensionDependencies: [TargetDependency] = [
2719
.external(name: "SnapKit")
2820
]
2921

30-
private let appInfoPlist: [String: Plist.Value] = [
22+
let infoPlist: [String: Plist.Value] = [
3123
"ITSAppUsesNonExemptEncryption": false,
32-
"CFBundleDisplayName": "iBox",
3324
"CFBundleName": "iBox",
34-
"CFBundleShortVersionString": "1.0.0",
25+
"CFBundleShortVersionString": "1.2.1",
3526
"CFBundleVersion": "1",
3627
"UILaunchStoryboardName": "LaunchScreen",
3728
"UIApplicationSceneManifest": [
@@ -45,72 +36,23 @@ class iBoxFactory: ProjectFactory {
4536
]
4637
]
4738
],
48-
"CFBundleURLTypes": [
49-
[
50-
"CFBundleURLName": "com.url.iBox",
51-
"CFBundleURLSchemes": ["iBox"],
52-
"CFBundleTypeRole": "Editor"
53-
]
54-
],
55-
"NSAppTransportSecurity": [
56-
"NSAllowsArbitraryLoadsInWebContent": true
57-
]
39+
"UIUserInterfaceStyle": "Light"
5840
]
5941

60-
private let shareExtensionInfoPlist: [String: Plist.Value] = [
61-
"CFBundleDisplayName": "iBox.Share",
62-
"CFBundleShortVersionString": "1.0.0",
63-
"CFBundleVersion": "1",
64-
"NSExtension": [
65-
"NSExtensionAttributes": [
66-
"NSExtensionActivationRule": [
67-
"NSExtensionActivationSupportsWebPageWithMaxCount": 1,
68-
"NSExtensionActivationSupportsWebURLWithMaxCount": 1,
69-
"SUBQUERY": [
70-
"extensionItems": [
71-
"SUBQUERY": [
72-
"attachments": [
73-
"ANY $attachment.registeredTypeIdentifiers UTI-CONFORMS-TO 'public.data'": "TRUE"
74-
],
75-
"@count": 1
76-
]
77-
],
78-
"@count": 1
79-
]
80-
]
81-
],
82-
"NSExtensionPointIdentifier": "com.apple.share-services",
83-
"NSExtensionPrincipalClass": "$(PRODUCT_MODULE_NAME).CustomShareViewController"
84-
]
85-
]
86-
87-
func generateTarget() -> [ProjectDescription.Target] {
88-
let appTarget = Target(
42+
func generateTarget() -> [ProjectDescription.Target] {[
43+
Target(
8944
name: projectName,
9045
destinations: .iOS,
9146
product: .app,
9247
bundleId: bundleId,
93-
deploymentTargets: .iOS(iosVersion),
94-
infoPlist: .extendingDefault(with: appInfoPlist),
48+
deploymentTargets: .iOS("15.0"),
49+
infoPlist: .extendingDefault(with: infoPlist),
9550
sources: ["\(projectName)/Sources/**"],
9651
resources: "\(projectName)/Resources/**",
9752
dependencies: dependencies
9853
)
99-
100-
let shareExtensionTarget = Target(
101-
name: "\(projectName)ShareExtension",
102-
destinations: .iOS,
103-
product: .appExtension,
104-
bundleId: "\(bundleId).ShareExtension",
105-
deploymentTargets: .iOS(iosVersion),
106-
infoPlist: .extendingDefault(with: shareExtensionInfoPlist),
107-
sources: ["ShareExtension/Sources/**"],
108-
resources: ["ShareExtension/Resources/**"],
109-
dependencies: iBoxShareExtensionDependencies
110-
)
111-
112-
return [appTarget, shareExtensionTarget]
113-
}
54+
]}
55+
11456

11557
}
11658

0 commit comments

Comments
 (0)