Module Compiled with Swift X.1 Cannot Be Imported in Swift X.0.2

Module compiled with swift X.1 cannot be imported in Swift X.0.2

It is likely that you are including 3rd party frameworks/libraries. Those are what need to be updated/recompiled. If you are using Carthage or Pods you should just rebuild those libraries and make them available to your app. The problem isn't your code. When you compile it, it will compile to 3.1

FacebookShare causing compiler error after update

Regarding docs of FBSDKShareLinkContent these properties have been deprecated:

@deprecated contentDescription is deprecated from Graph API 2.9.
For more information, see https://developers.facebook.com/docs/apps/changelog#v2_9_deprecations.

@deprecated contentTitle is deprecated from Graph API 2.9.
For more information, see https://developers.facebook.com/docs/apps/changelog#v2_9_deprecations

@deprecated imageURL is deprecated from Graph API 2.9.
For more information, see https://developers.facebook.com/docs/apps/changelog#v2_9_deprecations

You should probably use quote and contentURL instead of them.

As a temporary solution, you can unblock the file LinkShareContent.swift and directly remove above lines until Facebook releases any update.

Compile Error using Parse and Facebook Frameworks in Xcode 6.3 (Swift)

After updating Parse to version 1.7.4, this problem fixed itself. Hopefully this helps other people who faced the same problem as me!



Related Topics



Leave a reply



Submit