WebimMobileWidget and all of its
dependencies, prebuilt as xcframeworks.
.package( url: "https://github.com/mc2soft/webim-widget-xcframework", from: "2.0.3" )and in your target's dependencies:
.product( name: "WebimWidget", package: "webim-widget-xcframework" )Imports stay the same — module names are unchanged:
import WebimMobileWidget
import WebimMobileSDKTags mirror WebimMobileWidget versions: tag 2.0.3 is built from widget version 2.0.3.
Requires iOS 18 or later. The binaries are built with Xcode 27 (Swift 6.4), so the consuming app must be built with Xcode 27 or later as well.
CODESIGN_IDENTITY="Apple Distribution: …" Scripts/build-and-release.sh 2.0.4 --publishThe script builds the frameworks for device and simulator, packages them, signs them,
computes checksums, updates Package.swift and publishes a release once you confirm.
A build takes about four minutes.
Without --publish the script only builds — the archives end up in build/.
- Xcode 27 or later. If
xcode-select -ppoints to Command Line Tools or to another Xcode, pass the right one viaDEVELOPER_DIR:DEVELOPER_DIR=/Applications/Xcode.app/Contents/Developer Scripts/build-and-release.sh … - xcodegen (
brew install xcodegen). - gh, authenticated for
mc2soft— only needed with--publish. - An Apple Distribution certificate with its private key in the login keychain.
App Store Connect requires binary dependencies that contain SDKs from Apple's
list of commonly used third-party SDKs
to be signed; SnapKit bundled here is on that list. An unsigned build is rejected with
ITMS-91065: Missing signature.
The script signs every framework slice and every .xcframework with the certificate
given in CODESIGN_IDENTITY and verifies each signature; without that variable, or if
the certificate is not in the keychain, the script stops before building.
CODESIGN_IDENTITY accepts the full certificate name or its SHA-1 hash. List the
available ones with:
security find-identity -v -p codesigningUse a certificate of the team that ships the app. A development certificate works for local builds but is not accepted by App Store Connect. Once a release is published, keep signing new versions with the same team: Xcode records the signer of each xcframework in the app and warns when it changes.
To check the signature of a published archive:
codesign --verify --strict --verbose WebimWidgetBundle.xcframework
codesign -dvv WebimWidgetBundle.xcframework/ios-arm64/WebimWidgetBundle.frameworkThe repository's own code is under MIT. Licenses of the projects bundled into the binaries (MIT and BSD-3-Clause) are collected in THIRD-PARTY-LICENSES.md.