Giter Club home page Giter Club logo

Comments (3)

neuralmer avatar neuralmer commented on September 17, 2024 3

As far as supporting Xcode 12.2, I am seeing warnings about the targeted version of iOS. The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 14.2.99. My project is targeting iOS 12.0, and I believe that this 8.0 setting is from Mockingbird, perhaps Mockingbird's Package.swift since I am including it via Swift Package Manager.

from mockingbird.

neuralmer avatar neuralmer commented on September 17, 2024 1

I am trying out Mockingbird, and I too am using Xcode 12.2 / Swift 5.3.1. I am running into problems trying to do any stubbing: given is not in scope. Adding import Mockingbird fixed this -- I was able to call mock() without this and didn't realize it was necessary in order to call given(): I don't see the import step mentioned in the instructions.

I have installed Mockingbird using Swift Package Manager, setting the commit to use to be 064f866. Since v0.16.1 isn't released some of the installation instructions won't work. I manually updated the MockingbirdSupport directory, but it doesn't look like there were any changes to the support files. I updated the mockingbird binary. I reinstalled Mockingbird in the test target. Doing these things, this test build appears to work correctly (I am able to mock, stub, and verify for a very simple example).

I do however get a warning: Module 'Mockingbird' was not compiled with library evolution support; using it means binary compatibility for 'MyXCFrameworkTests' can't be guaranteed. Is there a reason why library evolution support is not enabled?

from mockingbird.

andrewchang-bird avatar andrewchang-bird commented on September 17, 2024

Hereโ€™s some artifacts built with Swift 5.3: https://github.com/birdrides/mockingbird/actions/runs/366959884

Let me know if this works for you; will cut a patch by end of week.

from mockingbird.

Related Issues (20)

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.