Skip to content

Commit ea15c89

Browse files
fix(ios): update to library framework built with Xcode 16 and not 26 (#165)
* fix: update dependency to OSCameraLib-iOS version built with correct Xcode version * chore(release): update to 4.2.0-OS63
1 parent e5085de commit ea15c89

24 files changed

+46
-135
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
66

77
The changes documented here do not include those from the original repository.
88

9+
## 4.2.0-OS63
10+
11+
- Fix: update to library framework built with Xcode 16 and not 26 (https://outsystemsrd.atlassian.net/browse/RMET-5021).
12+
913
## 4.2.0-OS62
1014

1115
- Feature: Adds `isPersistent` option to save recorded videos in persistent app data so that playVideo works properly after the app is closed (https://outsystemsrd.atlassian.net/browse/RMET-4501) and (https://outsystemsrd.atlassian.net/browse/RMET-4498).

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "cordova-plugin-camera",
3-
"version": "4.2.0-OS62",
3+
"version": "4.2.0-OS63",
44
"description": "Cordova Camera Plugin",
55
"types": "./types/index.d.ts",
66
"cordova": {

plugin.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
<plugin xmlns="http://apache.org/cordova/ns/plugins/1.0"
2222
xmlns:android="http://schemas.android.com/apk/res/android"
2323
id="cordova-plugin-camera"
24-
version="4.2.0-OS62">
24+
version="4.2.0-OS63">
2525
<name>Camera</name>
2626
<description>Cordova Camera Plugin</description>
2727
<license>Apache 2.0</license>
Binary file not shown.

src/ios/frameworks/OSCameraLib.xcframework/ios-arm64/OSCameraLib.framework/Headers/OSCameraLib-Swift.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#if 0
22
#elif defined(__arm64__) && __arm64__
3-
// Generated by Apple Swift version 6.2.1 effective-5.10 (swiftlang-6.2.1.4.8 clang-1700.4.4.1)
3+
// Generated by Apple Swift version 6.1.2 effective-5.10 (swiftlang-6.1.2.1.2 clang-1700.0.13.5)
44
#ifndef OSCAMERALIB_SWIFT_H
55
#define OSCAMERALIB_SWIFT_H
66
#pragma clang diagnostic push
Binary file not shown.

src/ios/frameworks/OSCameraLib.xcframework/ios-arm64/OSCameraLib.framework/Modules/OSCameraLib.swiftmodule/arm64-apple-ios.abi.json

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2855,13 +2855,6 @@
28552855
"printedName": "Sendable",
28562856
"usr": "s:s8SendableP",
28572857
"mangledName": "$ss8SendableP"
2858-
},
2859-
{
2860-
"kind": "Conformance",
2861-
"name": "SendableMetatype",
2862-
"printedName": "SendableMetatype",
2863-
"usr": "s:s16SendableMetatypeP",
2864-
"mangledName": "$ss16SendableMetatypeP"
28652858
}
28662859
]
28672860
},

src/ios/frameworks/OSCameraLib.xcframework/ios-arm64/OSCameraLib.framework/Modules/OSCameraLib.swiftmodule/arm64-apple-ios.private.swiftinterface

Lines changed: 2 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// swift-interface-format-version: 1.0
2-
// swift-compiler-version: Apple Swift version 6.2.1 effective-5.10 (swiftlang-6.2.1.4.8 clang-1700.4.4.1)
2+
// swift-compiler-version: Apple Swift version 6.1.2 effective-5.10 (swiftlang-6.1.2.1.2 clang-1700.0.13.5)
33
// swift-module-flags: -target arm64-apple-ios14.0 -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -enable-experimental-feature DebugDescriptionMacro -enable-bare-slash-regex -module-name OSCameraLib
4-
// swift-module-flags-ignorable: -no-verify-emitted-module-interface -formal-cxx-interoperability-mode=off -interface-compiler-version 6.2.1
4+
// swift-module-flags-ignorable: -no-verify-emitted-module-interface -interface-compiler-version 6.1.2
55
import AVFoundation
66
import AVKit
77
import CoreGraphics
@@ -28,9 +28,7 @@ import _SwiftConcurrencyShims
2828
public enum OSCAMRDirection : Swift.Int {
2929
case back
3030
case front
31-
#if compiler(>=5.3) && $NonescapableTypes
3231
public init?(rawValue: Swift.Int)
33-
#endif
3432
public typealias RawValue = Swift.Int
3533
public var rawValue: Swift.Int {
3634
get
@@ -64,17 +62,13 @@ public struct OSCAMRFactory {
6462
public static func createCameraWrapper(withDelegate delegate: any OSCameraLib.OSCAMRCallbackDelegate, and viewController: UIKit.UIViewController) -> any OSCameraLib.OSCAMRActionDelegate
6563
}
6664
public protocol OSCAMRCallbackDelegate : AnyObject {
67-
#if compiler(>=5.3) && $NonescapableTypes
6865
func callback(result: Swift.String?, error: OSCameraLib.OSCAMRError?)
69-
#endif
7066
}
7167
@_hasMissingDesignatedInitializers public class OSCAMRGalleryOptions {
7268
@objc deinit
7369
}
7470
@_hasMissingDesignatedInitializers public class OSCAMRPictureOptions : OSCameraLib.OSCAMRMediaOptions {
75-
#if compiler(>=5.3) && $NonescapableTypes
7671
public init(quality: Swift.Int, size: OSCameraLib.OSCAMRSize? = nil, correctOrientation: Swift.Bool, encodingType: OSCameraLib.OSCAMREncodingType, saveToPhotoAlbum: Swift.Bool, direction: OSCameraLib.OSCAMRDirection, allowEdit: Swift.Bool, returnMetadata: Swift.Bool, latestVersion: Swift.Bool) throws
77-
#endif
7872
@objc deinit
7973
}
8074
public enum OSCAMREncodingType : Swift.Int, Swift.CustomStringConvertible {
@@ -83,9 +77,7 @@ public enum OSCAMREncodingType : Swift.Int, Swift.CustomStringConvertible {
8377
public var description: Swift.String {
8478
get
8579
}
86-
#if compiler(>=5.3) && $NonescapableTypes
8780
public init?(rawValue: Swift.Int)
88-
#endif
8981
public typealias RawValue = Swift.Int
9082
public var rawValue: Swift.Int {
9183
get
@@ -116,14 +108,10 @@ public enum OSCAMRError : Swift.Int, Foundation.CustomNSError, Foundation.Locali
116108
case playVideoIssue
117109
case invalidEncodeResultMedia
118110
case generalIssue
119-
#if compiler(>=5.3) && $NonescapableTypes
120111
public var errorDescription: Swift.String? {
121112
get
122113
}
123-
#endif
124-
#if compiler(>=5.3) && $NonescapableTypes
125114
public init?(rawValue: Swift.Int)
126-
#endif
127115
public typealias RawValue = Swift.Int
128116
public var rawValue: Swift.Int {
129117
get

src/ios/frameworks/OSCameraLib.xcframework/ios-arm64/OSCameraLib.framework/Modules/OSCameraLib.swiftmodule/arm64-apple-ios.swiftinterface

Lines changed: 2 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// swift-interface-format-version: 1.0
2-
// swift-compiler-version: Apple Swift version 6.2.1 effective-5.10 (swiftlang-6.2.1.4.8 clang-1700.4.4.1)
2+
// swift-compiler-version: Apple Swift version 6.1.2 effective-5.10 (swiftlang-6.1.2.1.2 clang-1700.0.13.5)
33
// swift-module-flags: -target arm64-apple-ios14.0 -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -enable-experimental-feature DebugDescriptionMacro -enable-bare-slash-regex -module-name OSCameraLib
4-
// swift-module-flags-ignorable: -no-verify-emitted-module-interface -formal-cxx-interoperability-mode=off -interface-compiler-version 6.2.1
4+
// swift-module-flags-ignorable: -no-verify-emitted-module-interface -interface-compiler-version 6.1.2
55
import AVFoundation
66
import AVKit
77
import CoreGraphics
@@ -28,9 +28,7 @@ import _SwiftConcurrencyShims
2828
public enum OSCAMRDirection : Swift.Int {
2929
case back
3030
case front
31-
#if compiler(>=5.3) && $NonescapableTypes
3231
public init?(rawValue: Swift.Int)
33-
#endif
3432
public typealias RawValue = Swift.Int
3533
public var rawValue: Swift.Int {
3634
get
@@ -64,17 +62,13 @@ public struct OSCAMRFactory {
6462
public static func createCameraWrapper(withDelegate delegate: any OSCameraLib.OSCAMRCallbackDelegate, and viewController: UIKit.UIViewController) -> any OSCameraLib.OSCAMRActionDelegate
6563
}
6664
public protocol OSCAMRCallbackDelegate : AnyObject {
67-
#if compiler(>=5.3) && $NonescapableTypes
6865
func callback(result: Swift.String?, error: OSCameraLib.OSCAMRError?)
69-
#endif
7066
}
7167
@_hasMissingDesignatedInitializers public class OSCAMRGalleryOptions {
7268
@objc deinit
7369
}
7470
@_hasMissingDesignatedInitializers public class OSCAMRPictureOptions : OSCameraLib.OSCAMRMediaOptions {
75-
#if compiler(>=5.3) && $NonescapableTypes
7671
public init(quality: Swift.Int, size: OSCameraLib.OSCAMRSize? = nil, correctOrientation: Swift.Bool, encodingType: OSCameraLib.OSCAMREncodingType, saveToPhotoAlbum: Swift.Bool, direction: OSCameraLib.OSCAMRDirection, allowEdit: Swift.Bool, returnMetadata: Swift.Bool, latestVersion: Swift.Bool) throws
77-
#endif
7872
@objc deinit
7973
}
8074
public enum OSCAMREncodingType : Swift.Int, Swift.CustomStringConvertible {
@@ -83,9 +77,7 @@ public enum OSCAMREncodingType : Swift.Int, Swift.CustomStringConvertible {
8377
public var description: Swift.String {
8478
get
8579
}
86-
#if compiler(>=5.3) && $NonescapableTypes
8780
public init?(rawValue: Swift.Int)
88-
#endif
8981
public typealias RawValue = Swift.Int
9082
public var rawValue: Swift.Int {
9183
get
@@ -116,14 +108,10 @@ public enum OSCAMRError : Swift.Int, Foundation.CustomNSError, Foundation.Locali
116108
case playVideoIssue
117109
case invalidEncodeResultMedia
118110
case generalIssue
119-
#if compiler(>=5.3) && $NonescapableTypes
120111
public var errorDescription: Swift.String? {
121112
get
122113
}
123-
#endif
124-
#if compiler(>=5.3) && $NonescapableTypes
125114
public init?(rawValue: Swift.Int)
126-
#endif
127115
public typealias RawValue = Swift.Int
128116
public var rawValue: Swift.Int {
129117
get

0 commit comments

Comments
 (0)