Skip to content

Commit

Permalink
Introduce GliaWidgets framework as xcframework
Browse files Browse the repository at this point in the history
GliaWidgets-xcframework target has been introduced
to provide choice for integrator use GliaWidgets as a
Swift Package or xcframework.
  • Loading branch information
yurii-glia committed Mar 10, 2023
1 parent cace300 commit 64a6995
Show file tree
Hide file tree
Showing 7 changed files with 38 additions and 5 deletions.
2 changes: 1 addition & 1 deletion GliaWidgets/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<key>CFBundlePackageType</key>
<string>$(PRODUCT_BUNDLE_PACKAGE_TYPE)</string>
<key>CFBundleShortVersionString</key>
<string>0.10.8</string>
<string>0.10.9</string>
<key>CFBundleVersion</key>
<string>$(CURRENT_PROJECT_VERSION)</string>
</dict>
Expand Down
2 changes: 1 addition & 1 deletion GliaWidgets/StaticValues.swift
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@ final class StaticValues {
/// version cannot be changed by integrators, so this ensures that our code will
/// always have the correct version regardless of what our integrators do with
/// our plist files.
static let sdkVersion = "0.10.8"
static let sdkVersion = "0.10.9"
}
2 changes: 1 addition & 1 deletion GliaWidgetsTests/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<key>CFBundlePackageType</key>
<string>$(PRODUCT_BUNDLE_PACKAGE_TYPE)</string>
<key>CFBundleShortVersionString</key>
<string>0.10.8</string>
<string>0.10.9</string>
<key>CFBundleVersion</key>
<string>1</string>
</dict>
Expand Down
31 changes: 31 additions & 0 deletions Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@ let package = Package(
.library(
name: "GliaWidgets",
targets: ["GliaWidgetsSDK"]
),
.library(
name: "GliaWidgets-xcframework",
targets: ["GliaWidgetsSDK-xcframework"]
)
],
dependencies: [
Expand Down Expand Up @@ -38,6 +42,21 @@ let package = Package(
url: "https://github.com/salemove/ios-bundle/releases/download/0.35.6/SalemoveSDK.xcframework.zip",
checksum: "0a371206cd0e67fd21ca098f5af3f6da9c4438d679f98e75dd64102a0f853c8f"
),
.binaryTarget(
name: "PureLayoutXcf",
url: "https://github.com/salemove/ios-sdk-widgets/releases/download/0.10.8/PureLayoutXcf.xcframework.zip",
checksum: "93f00268ba710a0ee513be7cef94a385637bfb76c292942cc5f062a7b2f0037b"
),
.binaryTarget(
name: "LottieXcf",
url: "https://github.com/salemove/ios-sdk-widgets/releases/download/0.10.8/LottieXcf.xcframework.zip",
checksum: "9f2340bfb15f734ebd3a4e79d67ce3581822aa5ceec3a37a38ebaa505bf1a8a3"
),
.binaryTarget(
name: "GliaWidgetsXcf",
url: "https://github.com/salemove/ios-sdk-widgets/releases/download/0.10.8/GliaWidgetsXcf.xcframework.zip",
checksum: "3deacedffc912751d8a597d56d17b33b20191679c10d7c909222a0baefb6a137"
),
.target(
name: "GliaWidgets",
dependencies: [
Expand All @@ -63,6 +82,18 @@ let package = Package(
"WebRTC",
"GliaWidgets"
]
),
.target(
name: "GliaWidgetsSDK-xcframework",
dependencies: [
"SalemoveSDK",
"GliaWidgetsXcf",
"GliaCoreDependency",
"TwilioVoice",
"WebRTC",
"PureLayoutXcf",
"LottieXcf"
]
)
]
)
1 change: 1 addition & 0 deletions Sources/GliaWidgetsSDK-xcframework/GliaWidgetsSDK.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
struct GliaWidgetsSDK { }
2 changes: 1 addition & 1 deletion TestingApp/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<key>CFBundlePackageType</key>
<string>$(PRODUCT_BUNDLE_PACKAGE_TYPE)</string>
<key>CFBundleShortVersionString</key>
<string>0.10.8</string>
<string>0.10.9</string>
<key>CFBundleURLTypes</key>
<array>
<dict>
Expand Down
3 changes: 2 additions & 1 deletion bitrise.yml
Original file line number Diff line number Diff line change
Expand Up @@ -401,4 +401,5 @@ trigger_map:
workflow: pull-request
meta:
bitrise.io:
stack: osx-xcode-13.3.x
stack: osx-xcode-14.2.x-ventura
machine_type_id: g2-m1.4core

0 comments on commit 64a6995

Please sign in to comment.