AgentforceSDK fails at runtime because LiveKit.framework is missing from embedded frameworks
Description
When integrating AgentforceSDK via CocoaPods, the application builds successfully, but crashes at runtime with a dyld error:
dyld: Library not loaded: @rpath/LiveKit.framework/LiveKit
Referenced from:
.../NetworkProd.app/Frameworks/AgentforceSDK.framework/AgentforceSDK
Reason:
tried:
.../NetworkProd.app/Frameworks/LiveKit.framework/LiveKit
(no such file)
Environment
- Xcode: [version]
- iOS Deployment Target: [version]
- CocoaPods: [version]
- AgentforceSDK:
15.33.5
- AgentforceService:
6.1.3
- AgentforceVoice:
2.1.7
- LiveKitClient:
2.15.1
- LiveKitUniFFI:
0.0.6
- LiveKitWebRTC:
144.7559.10
Steps to reproduce
- Add AgentforceSDK using CocoaPods:
pod 'AgentforceSDK', '15.33.5'
- Run:
- Build and run the application on iOS Simulator.
Expected behavior
LiveKit.framework should be included in the generated app bundle:
NetworkProd.app/
└── Frameworks/
├── AgentforceSDK.framework
├── LiveKit.framework
├── LiveKitUniFFI.framework
└── LiveKitWebRTC.framework
The app should launch successfully.
Actual behavior
AgentforceSDK.framework contains a runtime dependency:
@rpath/LiveKit.framework/LiveKit
confirmed with:
otool -L Pods/AgentforceSDK/AgentforceSDK.xcframework/ios-arm64_x86_64-simulator/AgentforceSDK.framework/AgentforceSDK
Output:
@rpath/LiveKit.framework/LiveKit
@rpath/LiveKitUniFFI.framework/LiveKitUniFFI
@rpath/LiveKitWebRTC.framework/LiveKitWebRTC
However, after CocoaPods installation:
find Pods -name "LiveKit.framework"
returns no result.
The Pods directory only contains:
Pods/LiveKitWebRTC/LiveKitWebRTC.xcframework
Pods/LiveKitUniFFI/RustLiveKitUniFFI.xcframework
but no:
Pods/LiveKitClient/LiveKit.framework
Investigation
Podfile.lock correctly resolves:
LiveKitClient (2.15.1)
- LiveKitUniFFI (= 0.0.6)
- LiveKitWebRTC (= 144.7559.10)
However, the LiveKit.framework binary required by AgentforceSDK is not delivered or embedded into the final application.
This suggests one of the following:
- The
AgentforceSDK podspec declares a dependency on LiveKitClient, but the required LiveKit.framework is not exposed through the podspec.
- The
LiveKitClient podspec/package does not correctly declare its vendored framework.
- CocoaPods integration is missing an embed phase entry for
LiveKit.framework.
Additional information
AgentforceSDK.framework binary architectures:
Both architectures contain the same dependency:
@rpath/LiveKit.framework/LiveKit
Request
Could you please verify the AgentforceSDK CocoaPods specification and dependency packaging?
Specifically:
- Is
LiveKit.framework expected to be provided by LiveKitClient?
- Should AgentforceSDK's podspec explicitly include
LiveKit.framework as a vendored framework dependency?
- Is there a recommended CocoaPods configuration to ensure LiveKit.framework is copied into the application bundle?
Thank you.
AgentforceSDK fails at runtime because LiveKit.framework is missing from embedded frameworks
Description
When integrating
AgentforceSDKvia CocoaPods, the application builds successfully, but crashes at runtime with adylderror:Environment
15.33.56.1.32.1.72.15.10.0.6144.7559.10Steps to reproduce
Expected behavior
LiveKit.frameworkshould be included in the generated app bundle:The app should launch successfully.
Actual behavior
AgentforceSDK.frameworkcontains a runtime dependency:confirmed with:
Output:
However, after CocoaPods installation:
returns no result.
The Pods directory only contains:
but no:
Investigation
Podfile.lockcorrectly resolves:However, the
LiveKit.frameworkbinary required byAgentforceSDKis not delivered or embedded into the final application.This suggests one of the following:
AgentforceSDKpodspec declares a dependency onLiveKitClient, but the requiredLiveKit.frameworkis not exposed through the podspec.LiveKitClientpodspec/package does not correctly declare its vendored framework.LiveKit.framework.Additional information
AgentforceSDK.frameworkbinary architectures:Both architectures contain the same dependency:
Request
Could you please verify the AgentforceSDK CocoaPods specification and dependency packaging?
Specifically:
LiveKit.frameworkexpected to be provided byLiveKitClient?LiveKit.frameworkas a vendored framework dependency?Thank you.