Skip to content

Commit c2ca8e1

Browse files
author
Sergey Moskvin
committed
Increase the library version
1 parent 28d951e commit c2ca8e1

5 files changed

Lines changed: 19 additions & 4 deletions

File tree

Example/AppDelegate.swift

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,15 @@ final class AppDelegate: UIResponder, UIApplicationDelegate {
1515
// MARK: - Life Cycle
1616

1717
func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool {
18+
DispatchQueue.main.async {
19+
guard let url = URL(string: "https://apple.com") else {
20+
return
21+
}
22+
23+
let task = URLSession.shared.dataTask(with: url) { _, _, _ in }
24+
task.resume()
25+
}
26+
1827
return true
1928
}
2029

Example/Example.xcodeproj/project.pbxproj

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -402,6 +402,7 @@
402402
"$(inherited)",
403403
"@executable_path/Frameworks",
404404
);
405+
MARKETING_VERSION = 1.2;
405406
PRODUCT_BUNDLE_IDENTIFIER = debug45.PermissionWizard.Example;
406407
PRODUCT_NAME = "$(TARGET_NAME)";
407408
SUPPORTS_MACCATALYST = YES;
@@ -426,6 +427,7 @@
426427
"$(inherited)",
427428
"@executable_path/Frameworks",
428429
);
430+
MARKETING_VERSION = 1.2;
429431
PRODUCT_BUNDLE_IDENTIFIER = debug45.PermissionWizard.Example;
430432
PRODUCT_NAME = "$(TARGET_NAME)";
431433
SUPPORTS_MACCATALYST = YES;

Example/Info.plist

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
<key>CFBundlePackageType</key>
1616
<string>$(PRODUCT_BUNDLE_PACKAGE_TYPE)</string>
1717
<key>CFBundleShortVersionString</key>
18-
<string>1.0</string>
18+
<string>$(MARKETING_VERSION)</string>
1919
<key>CFBundleVersion</key>
2020
<string>1</string>
2121
<key>LSApplicationCategoryType</key>
@@ -75,6 +75,10 @@
7575
<string>Please allow access to your tracking</string>
7676
<key>UIApplicationSupportsIndirectInputEvents</key>
7777
<true/>
78+
<key>UIBackgroundModes</key>
79+
<array>
80+
<string>fetch</string>
81+
</array>
7882
<key>UILaunchStoryboardName</key>
7983
<string>LaunchScreen</string>
8084
<key>UIMainStoryboardFile</key>

PermissionWizard.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Pod::Spec.new do |spec|
22

33
spec.name = 'PermissionWizard'
4-
spec.version = '1.1'
4+
spec.version = '1.2'
55

66
spec.summary = '🔮 An ultimate tool for system permissions management'
77

Source/PermissionWizard.xcodeproj/project.pbxproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -575,7 +575,7 @@
575575
"@executable_path/Frameworks",
576576
"@loader_path/Frameworks",
577577
);
578-
MARKETING_VERSION = 1.1;
578+
MARKETING_VERSION = 1.2;
579579
PRODUCT_BUNDLE_IDENTIFIER = debug45.PermissionWizard;
580580
PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)";
581581
SKIP_INSTALL = YES;
@@ -604,7 +604,7 @@
604604
"@executable_path/Frameworks",
605605
"@loader_path/Frameworks",
606606
);
607-
MARKETING_VERSION = 1.1;
607+
MARKETING_VERSION = 1.2;
608608
PRODUCT_BUNDLE_IDENTIFIER = debug45.PermissionWizard;
609609
PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)";
610610
SKIP_INSTALL = YES;

0 commit comments

Comments
 (0)