Repository navigation
What's changed
A test-and-documentation revision on the same native line: MarketingCloudSDK.xcframework stays
11.0.2, AppGroupSDK.xcframework 1.0.0, the core pin SFMCSDK.Net.iOS 4.0.1.2, and the
binding's projected API is byte-for-byte what 11.0.2.2 shipped. What changed is what the tests
prove and what the documentation claims.
Fixed
- The README quick-start did not compile.
SetMarketingCloudServerUrltakes anNSUrl, not a
string, and there is noSfmc_setContactKeymember — the binding projects the selector as
SetContactKey, and at v11 the contact key is a core identity edit anyway. The snippet now shows
theSFMCSdk.Identity.Editform, and it was compiled against the packed binding before landing. - The AppGroupSDK load check could not fail. It probed for
AGSAppGroupCoordinator, a guessed
name that does not exist, and on not finding it logged "presence is proven by dyld not failing" and
continued — so the framework could have been missing entirely and the check would still have
passed. It now probesSFMCAppDeviceInfo, whichAppGroupSDK-Swift.hdeclares as a real exported
ObjC class (SWIFT_CLASS_NAMED("AppDeviceInfo")), and a null handle is a failure. - The initialization smoke test asserted nothing. Its credential-free fallback was
state.Contains("pushfeature"), and the core reports that module whether or not a push config was
ever supplied — so it passed against a bare stub. It now parses the state JSON and asserts the
modulesobject, thepushfeatureentry and its per-module shape, which fails on a real upstream
rename or restructure. The reported status is logged verbatim. - The README-version check ignored the core pin. Its pattern only matched this repository's own
package ids, so aSFMCSDK.Net.iOSpin in the README could name any version at all. It is now
checked againstSfmcCorePackageVersion. - The device-test app shared its bundle id with the sibling SFMCSDK.Net.iOS repository
(com.sbokatuk.sfmcsdknet.devicetests), so installing one replaced the other on a shared simulator
and a local run of both repositories' suites could launch the wrong app. This one is now
com.sbokatuk.mcsdknet.devicetests, matching its own sample's prefix.
Documentation
- The README claimed the simulator tests prove "the module-configured
initializeSdkcompletion
fires with real statuses". They do not, and cannot without credentials: measured on 11.0.2, an
unprovisioned tenant leaves every module reading"status": "inactive", the completion block never
fires, and nothing in either state JSON reflects the configuration that was passed. The README and
the test suite's own summary now say what is actually proven, and name what belongs to the manual
checklist instead. - Removed copy-paste residue from the sibling DatadogNet repository: a
.gitignorecomment about
"eleven Datadog xcframeworks", a/Binding/entry described as Objective Sharpie scratch output
(this repository's headline rule is that Sharpie is never used), a duplicatedartifacts/block,
and aNuGet.configcomment naming DatadogNet packages.
Upgrading
Nothing to do — no API changed. 11.0.2.2 consumers can stay on it; the difference is in this
repository's own tests and documentation.
Full changelog: v11.0.2.2...v11.0.2.3
Packages
Bound against MarketingCloudSDK-iOS 11.0.2, targeting net8.0-ios18.0, net9.0-ios18.0 and net10.0-ios26.0.
The first three components of
11.0.2.3are the MarketingCloudSDK version; the fourth is
this repository's binding revision, which advances when the bindings or packaging change
while the native binaries stay put.
| Package | Wraps | NuGet |
|---|---|---|
MarketingCloudSDK.Net.AppGroupSDK.iOS |
AppGroupSDK |
11.0.2.3 |
MarketingCloudSDK.Net.iOS |
MarketingCloudSDK |
11.0.2.3 |
dotnet add package MarketingCloudSDK.Net.iOS --version 11.0.2.3
Licensing
The binding code is MIT; the bundled native binaries are BSD-3-Clause, as built and
published by Salesforce. Each package ships both texts under licenses/.