Right now in our project we have the Package.swift file defined with these binary targets as per the documentation… https://developer.genesys.cloud/commdigital/digital/webmessaging/mobile-messaging/messenger-mobile-sdk/ios/swift-package-manager
This all seems to load. But for now, these targets are not actually pulled into the main app target at all.
The module that we have that will do this eventually is defined like…
<See picture in reply 1>
If I run the app like this then everything is fine. Everything works in the app. All good.
As soon as I either:
- Uncomment the above lines (adding the Genesys SDKs to the InAppChat module) or…
- Link the main app target to the Genesys SDKs (as shown below)
<See picture in reply 2>
And run the app.
Then before the app even gets past start up I get this crash…
<See picture in reply 3>
The crash logs show the following…
dyld[15999]: Symbol not found: _BCFormFieldComments
Referenced from: <859AE0D9-5DDA-3742-BF45-FE942D372199> /<Redacted>/GenesysCloudBold.framework/GenesysCloudBold
Expected in: <CCB88758-024E-3575-B18B-4F5D36907C22> /<Redacted>/GenesysCloudCore.framework/GenesysCloudCore
So it looks like something is trying to load dynamically in the Genesys SDK that isn’t available.
For ease of copying this is the Package.swift code with the versions and Checksums…
.binaryTarget(
name: "GenesysCloud",
url: "https://genesysdx.jfrog.io/artifactory/genesys-cloud-ios.prod/GenesysCloud/GenesysCloud_version_t1.10.0_commit_2b755728aac5bb2fd31b9ae9f76313549a4a452b.zip",
checksum: "605a44fd8e177ea3bdb1a5e354cec989af1e3433d4289c72f5e0aa577b5bd5c3"
),
.binaryTarget(
name: "GenesysCloudBold",
url: "https://genesysdx.jfrog.io/artifactory/genesys-cloud-ios.prod/GenesysCloudBold/GenesysCloudBold_version_t1.10.0_commit_659a44aae2ab30706cb6c0cf102a3a5315a0e886.zip",
checksum: "7064844d50c8e67512066546035da6e852906ad68f94040abdab1e6054a9236e"
),
.binaryTarget(
name: "GenesysCloudBot",
url: "https://genesysdx.jfrog.io/artifactory/genesys-cloud-ios.prod/GenesysCloudBot/GenesysCloudBot_version_t1.10.0_commit_7a1a05e6ce6af676fd508596e3856b68a795c348.zip",
checksum: "86c4ffb376da6a4c9b0774a09e6eee0a4a0f239102b1ec9b78dc528e93e6376e"
),
.binaryTarget(
name: "GenesysCloudCore",
url: "https://genesysdx.jfrog.io/artifactory/genesys-cloud-ios.prod/GenesysCloudCore/GenesysCloudCore_version_t1.10.0_commit_a92e922bc42b65f03e30f24ae1849a81b8742519.zip",
checksum: "93c67bc05bb53a88be0943b945476e62dce31acd600474f1f00699577d54ed4b"
),
.binaryTarget(
name: "GenesysCloudMessenger",
url: "https://genesysdx.jfrog.io/artifactory/genesys-cloud-ios.prod/GenesysCloudMessenger/GenesysCloudMessenger_version_t1.10.0_commit_540bcf644c43042d244470eacccb8d6c5912b213.zip",
checksum: "951bf4c292dbf257ca4ea9dad6270403a15802af77b3d0f92656be11b6f224f7"
),
.binaryTarget(
name: "MessengerTransport",
url: "https://genesysdx.jfrog.io/artifactory/TransportSDK/MessengerTransport.xcframework-2.7.2.zip",
checksum: "970802b29b791a5e037d45cd4c6fc3aa7fda502a3081c2cadead141807ded9ea"
),
Please could you advise on the best course of action?
Thanks very much.