Skip to content

Commit e75fd9d

Browse files
authored
Xcode15 3.1.1 (#21)
* Add External ASR Interfaces * update xcode 15 compatibility * update xcode 15 and PrivacyInfo * update version number
1 parent 82569d7 commit e75fd9d

81 files changed

Lines changed: 7862 additions & 14321 deletions

File tree

Some content is hidden

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

.DS_Store

0 Bytes
Binary file not shown.

CHANGELOG.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,16 @@
22

33
This project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
44

5+
## [3.1.1] - (08/05/24)
6+
### Enhanncement
7+
- Xcode 15 compatibility
8+
9+
## [3.0.0] - (26/12/23)
10+
### Bug Fixes
11+
- Add External ASR Interfaces
12+
- Remove Reverie internal support
13+
- Update Demo
14+
515
## [2.1.0] - (26/07/23)
616
### Bug Fixes
717
- Fixed Crashes

Example/.DS_Store

0 Bytes
Binary file not shown.

Example/Demo_Manual/.DS_Store

0 Bytes
Binary file not shown.

Example/Demo_pod/.DS_Store

0 Bytes
Binary file not shown.

Example/Demo_pod/Demo_pod.xcodeproj/project.pbxproj

Lines changed: 24 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -7,33 +7,37 @@
77
objects = {
88

99
/* Begin PBXBuildFile section */
10+
160ECAA02B33038B00336207 /* ReverieModule.swift in Sources */ = {isa = PBXBuildFile; fileRef = 160ECA9F2B33038B00336207 /* ReverieModule.swift */; };
11+
160ECAA22B33058600336207 /* Ext-Str.swift in Sources */ = {isa = PBXBuildFile; fileRef = 160ECAA12B33058600336207 /* Ext-Str.swift */; };
1012
3B6C2EEA255E6F3400041CFF /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 3B6C2EE9255E6F3400041CFF /* AppDelegate.swift */; };
1113
3B6C2EEE255E6F3400041CFF /* ViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 3B6C2EED255E6F3400041CFF /* ViewController.swift */; };
1214
3B6C2EF1255E6F3400041CFF /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 3B6C2EEF255E6F3400041CFF /* Main.storyboard */; };
1315
3B6C2EF3255E6F3500041CFF /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 3B6C2EF2255E6F3500041CFF /* Assets.xcassets */; };
1416
3B6C2EF6255E6F3500041CFF /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 3B6C2EF4255E6F3500041CFF /* LaunchScreen.storyboard */; };
15-
F05F0435C3EA96E085571579 /* Pods_Demo_pod.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = FBAC2578F07DF904B3DBF306 /* Pods_Demo_pod.framework */; };
17+
A63B9B1B0455EC79E6DFE95F /* Pods_Demo_pod.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 0DC7B181D6FCD3CD5519117A /* Pods_Demo_pod.framework */; };
1618
/* End PBXBuildFile section */
1719

1820
/* Begin PBXFileReference section */
19-
1F319F094E624C93181E1F49 /* Pods-Demo_pod.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Demo_pod.debug.xcconfig"; path = "Target Support Files/Pods-Demo_pod/Pods-Demo_pod.debug.xcconfig"; sourceTree = "<group>"; };
21+
0DC7B181D6FCD3CD5519117A /* Pods_Demo_pod.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_Demo_pod.framework; sourceTree = BUILT_PRODUCTS_DIR; };
22+
160ECA9F2B33038B00336207 /* ReverieModule.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ReverieModule.swift; sourceTree = "<group>"; };
23+
160ECAA12B33058600336207 /* Ext-Str.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "Ext-Str.swift"; sourceTree = "<group>"; };
2024
3B6C2EE6255E6F3400041CFF /* Demo_pod.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = Demo_pod.app; sourceTree = BUILT_PRODUCTS_DIR; };
2125
3B6C2EE9255E6F3400041CFF /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = "<group>"; };
2226
3B6C2EED255E6F3400041CFF /* ViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ViewController.swift; sourceTree = "<group>"; };
2327
3B6C2EF0255E6F3400041CFF /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = "<group>"; };
2428
3B6C2EF2255E6F3500041CFF /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = "<group>"; };
2529
3B6C2EF5255E6F3500041CFF /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = "<group>"; };
2630
3B6C2EF7255E6F3500041CFF /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
27-
EABA6280484988EAB0250349 /* Pods-Demo_pod.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Demo_pod.release.xcconfig"; path = "Target Support Files/Pods-Demo_pod/Pods-Demo_pod.release.xcconfig"; sourceTree = "<group>"; };
28-
FBAC2578F07DF904B3DBF306 /* Pods_Demo_pod.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_Demo_pod.framework; sourceTree = BUILT_PRODUCTS_DIR; };
31+
3EAB9AA7222175D042A80499 /* Pods-Demo_pod.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Demo_pod.debug.xcconfig"; path = "Target Support Files/Pods-Demo_pod/Pods-Demo_pod.debug.xcconfig"; sourceTree = "<group>"; };
32+
A02CBD115AC1E84DF75414E0 /* Pods-Demo_pod.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Demo_pod.release.xcconfig"; path = "Target Support Files/Pods-Demo_pod/Pods-Demo_pod.release.xcconfig"; sourceTree = "<group>"; };
2933
/* End PBXFileReference section */
3034

3135
/* Begin PBXFrameworksBuildPhase section */
3236
3B6C2EE3255E6F3400041CFF /* Frameworks */ = {
3337
isa = PBXFrameworksBuildPhase;
3438
buildActionMask = 2147483647;
3539
files = (
36-
F05F0435C3EA96E085571579 /* Pods_Demo_pod.framework in Frameworks */,
40+
A63B9B1B0455EC79E6DFE95F /* Pods_Demo_pod.framework in Frameworks */,
3741
);
3842
runOnlyForDeploymentPostprocessing = 0;
3943
};
@@ -46,7 +50,7 @@
4650
3B6C2EE8255E6F3400041CFF /* Demo_pod */,
4751
3B6C2EE7255E6F3400041CFF /* Products */,
4852
E55155D0F0265B3DB2F18A09 /* Pods */,
49-
7404FC5D31AAB5C7D7096ED0 /* Frameworks */,
53+
C9501C54AAFF3F58FFC0626C /* Frameworks */,
5054
);
5155
sourceTree = "<group>";
5256
};
@@ -63,6 +67,8 @@
6367
children = (
6468
3B6C2EE9255E6F3400041CFF /* AppDelegate.swift */,
6569
3B6C2EED255E6F3400041CFF /* ViewController.swift */,
70+
160ECA9F2B33038B00336207 /* ReverieModule.swift */,
71+
160ECAA12B33058600336207 /* Ext-Str.swift */,
6672
3B6C2EEF255E6F3400041CFF /* Main.storyboard */,
6773
3B6C2EF2255E6F3500041CFF /* Assets.xcassets */,
6874
3B6C2EF4255E6F3500041CFF /* LaunchScreen.storyboard */,
@@ -71,19 +77,19 @@
7177
path = Demo_pod;
7278
sourceTree = "<group>";
7379
};
74-
7404FC5D31AAB5C7D7096ED0 /* Frameworks */ = {
80+
C9501C54AAFF3F58FFC0626C /* Frameworks */ = {
7581
isa = PBXGroup;
7682
children = (
77-
FBAC2578F07DF904B3DBF306 /* Pods_Demo_pod.framework */,
83+
0DC7B181D6FCD3CD5519117A /* Pods_Demo_pod.framework */,
7884
);
7985
name = Frameworks;
8086
sourceTree = "<group>";
8187
};
8288
E55155D0F0265B3DB2F18A09 /* Pods */ = {
8389
isa = PBXGroup;
8490
children = (
85-
1F319F094E624C93181E1F49 /* Pods-Demo_pod.debug.xcconfig */,
86-
EABA6280484988EAB0250349 /* Pods-Demo_pod.release.xcconfig */,
91+
3EAB9AA7222175D042A80499 /* Pods-Demo_pod.debug.xcconfig */,
92+
A02CBD115AC1E84DF75414E0 /* Pods-Demo_pod.release.xcconfig */,
8793
);
8894
path = Pods;
8995
sourceTree = "<group>";
@@ -95,11 +101,11 @@
95101
isa = PBXNativeTarget;
96102
buildConfigurationList = 3B6C2EFA255E6F3500041CFF /* Build configuration list for PBXNativeTarget "Demo_pod" */;
97103
buildPhases = (
98-
B535517F4E0FEC6FC4041F30 /* [CP] Check Pods Manifest.lock */,
104+
FE9D4A6CFE33E5BBC5BED563 /* [CP] Check Pods Manifest.lock */,
99105
3B6C2EE2255E6F3400041CFF /* Sources */,
100106
3B6C2EE3255E6F3400041CFF /* Frameworks */,
101107
3B6C2EE4255E6F3400041CFF /* Resources */,
102-
3D2DBA8DA4C9321C1628B356 /* [CP] Embed Pods Frameworks */,
108+
2C8B9AB79D07AB42E6FAB286 /* [CP] Embed Pods Frameworks */,
103109
);
104110
buildRules = (
105111
);
@@ -156,7 +162,7 @@
156162
/* End PBXResourcesBuildPhase section */
157163

158164
/* Begin PBXShellScriptBuildPhase section */
159-
3D2DBA8DA4C9321C1628B356 /* [CP] Embed Pods Frameworks */ = {
165+
2C8B9AB79D07AB42E6FAB286 /* [CP] Embed Pods Frameworks */ = {
160166
isa = PBXShellScriptBuildPhase;
161167
buildActionMask = 2147483647;
162168
files = (
@@ -173,7 +179,7 @@
173179
shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-Demo_pod/Pods-Demo_pod-frameworks.sh\"\n";
174180
showEnvVarsInLog = 0;
175181
};
176-
B535517F4E0FEC6FC4041F30 /* [CP] Check Pods Manifest.lock */ = {
182+
FE9D4A6CFE33E5BBC5BED563 /* [CP] Check Pods Manifest.lock */ = {
177183
isa = PBXShellScriptBuildPhase;
178184
buildActionMask = 2147483647;
179185
files = (
@@ -204,6 +210,8 @@
204210
files = (
205211
3B6C2EEE255E6F3400041CFF /* ViewController.swift in Sources */,
206212
3B6C2EEA255E6F3400041CFF /* AppDelegate.swift in Sources */,
213+
160ECAA02B33038B00336207 /* ReverieModule.swift in Sources */,
214+
160ECAA22B33058600336207 /* Ext-Str.swift in Sources */,
207215
);
208216
runOnlyForDeploymentPostprocessing = 0;
209217
};
@@ -347,7 +355,7 @@
347355
};
348356
3B6C2EFB255E6F3500041CFF /* Debug */ = {
349357
isa = XCBuildConfiguration;
350-
baseConfigurationReference = 1F319F094E624C93181E1F49 /* Pods-Demo_pod.debug.xcconfig */;
358+
baseConfigurationReference = 3EAB9AA7222175D042A80499 /* Pods-Demo_pod.debug.xcconfig */;
351359
buildSettings = {
352360
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
353361
ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor;
@@ -368,7 +376,7 @@
368376
};
369377
3B6C2EFC255E6F3500041CFF /* Release */ = {
370378
isa = XCBuildConfiguration;
371-
baseConfigurationReference = EABA6280484988EAB0250349 /* Pods-Demo_pod.release.xcconfig */;
379+
baseConfigurationReference = A02CBD115AC1E84DF75414E0 /* Pods-Demo_pod.release.xcconfig */;
372380
buildSettings = {
373381
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
374382
ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor;
Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
//
2+
// Ext-Str.swift
3+
// Demo_pod
4+
//
5+
// Created by Ketan Doiphode on 20/12/23.
6+
//
7+
8+
import Foundation
9+
10+
extension String {
11+
12+
/// Converts string json to Dictionary
13+
/// - Returns: returns dictionary object if json is valid
14+
func toJSON() -> [String: Any]? {
15+
if let data = self.data(using: .utf8) {
16+
do {
17+
return try JSONSerialization.jsonObject(with: data, options: []) as? [String: Any]
18+
} catch {
19+
print(error.localizedDescription)
20+
}
21+
}
22+
return nil
23+
}
24+
25+
/// Retrieves stores value against provided key
26+
/// - Parameter key: string key
27+
init?(key: String) {
28+
guard let str = UserDefaults.standard.string(forKey: key) else {
29+
return nil
30+
}
31+
self.init(str)
32+
}
33+
34+
/// Stores string value in `UserDefaults`
35+
/// - Parameter key: Key against stored value
36+
func storeUserDefault(key: String) {
37+
UserDefaults.standard.set(self, forKey: key)
38+
UserDefaults.standard.synchronize()
39+
}
40+
41+
42+
/// Validates if string is valid URL
43+
/// - Returns: Validation result
44+
func isValidUrl() -> Bool {
45+
let urlRegEx = "^(https?://)?(www\\.)?([-a-z0-9]{1,63}\\.)*?[a-z0-9][-a-z0-9]{0,61}[a-z0-9]\\.[a-z]{2,6}(/[-\\w@\\+\\.~#\\?&/=%]*)?$"
46+
let urlTest = NSPredicate(format:"SELF MATCHES %@", urlRegEx)
47+
let result = urlTest.evaluate(with: self)
48+
return result
49+
}
50+
}

0 commit comments

Comments
 (0)