Hi all. I have a multiplatform project targeting a...
# multiplatform
b
Hi all. I have a multiplatform project targeting android and ios. For ios, the ios target is itself a Framework, and the
shared
multiplatform module is integrated via cocoapods in the “usual” way (project was created using the Android Studio template). So, my ios module has a
Podfile
like this:
Copy code
target 'ios' do
  use_frameworks!
  platform :ios, '14.1'

  pod 'shared', :path => '../shared'
end
So far so good. I can consume code from the
shared
module in my ios swift code and use it. I have then compiled the
ios
xcode project into an XCFramework and deployed it via Cocoapods. I then pull the framework into a consumer app with cocoapods and everything seems to work. But when I try to run it on a simulator/device, it crashes with an error
Library not loaded: shared.framework/shared
Not sure how to resolve that?