Git Product home page Git Product logo

swift-framework's Introduction

Universal Framework for iOS using Swift

This is a demo code with the single purpose of reproducing a specific problem.

Compatibility

This project contains a Cocoa Touch Swift code built as a framework. The swift version is set to Swift Language Version = Swift 3.3.

App

This project uses the framework built by Compatibility project. The swift version is set to Swift Language Version = Swift 4.0.

Usage

Open Compatibility project and CMD + B it. The output will be placed in Compatibility/. Open App and CMD + B. It should already be configured to consume the .framework from the above compilation.

Problems found

When Compatibility is built using Xcode 9.3 (9E145) and App is using Xcode 9.2 (9C40b), App throws the following error: Module compiled with Swift 4.1 cannot be imported in Swift 4.0.3:

No compatibility

Changing Swift version between all possible combinations didn't work for me. The framework had to be consumed by a project being built in the same Xcode version.

swift-framework's People

Contributors

gbazilio avatar

Watchers

 avatar James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.