plaid / plaid-link-ios

Plaid Link iOS SDK
https://plaid.com/docs/link/ios
MIT License
133 stars 88 forks source link

Failed to build module #11

Closed lazyvar closed 3 years ago

lazyvar commented 3 years ago

Getting the following error when attempting to archive a release build:

failed to build module 'LinkKit' from its module interface; the compiler that produced it, 'Apple Swift version 5.3 (swiftlang-1200.0.29.2 clang-1200.0.30.1)', may have used features that aren't supported by this compiler, 'Apple Swift version 5.3.1 (swiftlang-1200.0.41 clang-1200.0.32.8)'

Is it possible the compiled framework is non-compatible with Swift version 5.3.1? Using version Plaid version 2.0.9.

agoldis commented 3 years ago

I am just getting

dyld: Library not loaded: @rpath/LinkKit.framework/LinkKit
  Referenced from: /private/var/containers/Bundle/Application/3D44B544-CE8D-4CBA-8A0A-D5AA44480404/xxx-staging.app/xxx-staging
  Reason: image not found
afh commented 3 years ago

@lazyvar that is a possibility. Which Xcode version are you using? I'd like to double-check.

@agoldis Can you provide more details about your setup and give a list of detailed steps on how to reproduce the issue based on this repositories example code?

lazyvar commented 3 years ago

Using Xcode Version 12.3 (12C33)

lazyvar commented 3 years ago

@afh Was on cocoapods 1.9.3, updating to the latest fixed this issue for me.