title: Xcode Flutter Plugin 'no such module'
body: <p>I'm trying to write a Flutter Plugin incorporating Snapchat's SDK, however, the plugin file keeps giving me the error 'no such module SCSDKCoreKit'</p>
  <p>This is my pod spec in <code>plugin/ios</code></p>
  <pre><code>Pod::Spec.new do |s|
    s.name             = 'snapkit'
    s.version          = '0.0.1'
    s.summary          = 'A new flutter plugin project.'
    s.description      = &lt;&lt;-DESC
  A new flutter plugin project.
                         DESC
    s.homepage         = 'http://example.com'
    s.license          = { :file =&gt; '../LICENSE' }
    s.author           = { 'Your Company' =&gt; 'email@example.com' }
    s.source           = { :path =&gt; '.' }
    s.source_files = 'Classes/**/*'
    s.dependency 'Flutter'
    s.dependency 'SnapSDK'
    s.platform = :ios, '12.0'
    s.preserve_paths = 'SCSDKCoreKit.framework', 'SCSDKLoginKit.framework', 'SCSDKBitmoji.framework', 'SCSDKCreativeKit.framework'
    s.xcconfig = { 'OTHER_LDFLAGS' =&gt; '-framework SCSDKCoreKit -framework SCSDKLoginKit -framework SCSDKBitmoji -framework SCSDKCreativeKit' }
    s.vendored_frameworks = 'SCSDKCoreKit.framework', 'SCSDKLoginKit.framework', 'SCSDKBitmoji.framework', 'SCSDKCreativeKit.framework'
  
    # Flutter.framework does not contain a i386 slice.
    s.pod_target_xcconfig = { 'DEFINES_MODULE' =&gt; 'YES', 'EXCLUDED_ARCHS[sdk=iphonesimulator*]' =&gt; 'i386' }
    s.swift_version = '5.0'
  end
  </code></pre>
  <p>I then ran <code>pod install</code> in <code>plugin/example/ios</code> and embed the SDK in Xcode
  <a href="https://i.stack.imgur.com/bXIv7.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/bXIv7.png" alt="SDK Embed" /></a></p>
  <p>I can successfully import the SDK in <code>Runner/AppDelegate.swift</code> but get the error when trying to import it in <code>Development Pods/plugin/../../example/ios/.symlinks/plugins/plugin/ios/Classes/SwiftPlugin.swift</code></p>
  <p>I am quite new to Swift but any help would be amazing, thanks!</p>