Coder Social home page Coder Social logo

MacCatalyst support about swift-log HOT 7 CLOSED

apple avatar apple commented on May 19, 2024
MacCatalyst support

from swift-log.

Comments (7)

weissi avatar weissi commented on May 19, 2024

I think this is an SDK bug in Xcode unfortunately. Please file a Feedback Request for this.

from swift-log.

weissi avatar weissi commented on May 19, 2024

If that turns out to be true, then it's good that it's "just" and SDK bug because SDK bugs can be fixed by using a newer Xcode release, I don't think the bug is in the OS itself (which would be a bigger issue).

from swift-log.

weissi avatar weissi commented on May 19, 2024

@innoreq yes, I think the issue is the presence of those:

$ find /Applications/Xcode.app/ -name 'Logging.framework' -type d
/Applications/Xcode.app//Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks/Logging.framework
/Applications/Xcode.app//Contents/Developer/Platforms/WatchOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/watchOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks/Logging.framework
/Applications/Xcode.app//Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/System/Library/Frameworks/Logging.framework

despite the fact that they don't actually exist on the OSes if I'm not mistaken. I don't think Logging.framework should actually be part of any SDKs but clearly they are in Xcode 11.0.

from swift-log.

weissi avatar weissi commented on May 19, 2024

@innoreq hmm, actually, I just tried that and it works just fine for me. See the gif below where I create an iOS app with swift-log which I then use for Catalyst just fine:

ezgif-5-469770c97da1

from swift-log.

weissi avatar weissi commented on May 19, 2024

@innoreq I would suggest to start with a normal Xcode app project and to then add the swift-log dependency through File -> Swift Packages -> Add Package Dependency. Like this:

ezgif-5-460f405cae89

from swift-log.

weissi avatar weissi commented on May 19, 2024

@innoreq is this still an issue?

from swift-log.

weissi avatar weissi commented on May 19, 2024

I think this is done.

from swift-log.

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.