Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Dynamic framework issues with CocoaPods and Swift #22

@getaaron

Description

@getaaron

Is this correct?

  • All pods written in Swift will be built as dynamic frameworks
  • Dynamic frameworks only run on iOS 8 or later (iTunes Connect will reject apps if built for iOS 7)
  • Therefore, if authors of a project written in Swift want to provide iOS 7 support, they should instruct developers of iOS 7 apps to install these projects manually, not using CocoaPods

If this is correct, I have two suggestions:

  1. When running pod spec lint, this message:

    NOTE | ld: warning: embedded dylibs/frameworks only run on iOS 8 or later.

    should more clearly indicate the consequences

  2. CocoaPods 0.36 blog.cocoapods.org#59 should be updated to explicitly include this information, since it's a significant limitation.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions