-
-
Notifications
You must be signed in to change notification settings - Fork 153
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Swift Package Manager Support for iOS #62
Comments
hey, any chance you could make a pr with that change? happy to merge it |
@krzysztofzablocki Definitely. I just wanted to wait for your reactions ;-) |
@ReneLindhorst if you can, the best way would be to tweak podspec so that only iOS target imports files under iOS folder, then MacOS still works just without dashboard (you can still log leaks on mac os) |
@krzysztofzablocki Currently the podspec is only configured for iOS and not at all for macOS: |
I think you can leave the swiftpm to only support iOS but just tweak podspec to support both iOS and Mac ? |
That's "fixed". Thanks @krzysztofzablocki |
Is far as I can see it is currently not possible to integrate the
LifetimeTracker
using the Swift Package Manager into an iOS application. ThePackage.swift
tries to only include the iOS specific UI using the#if os(iOS) ... #else ... #endif
but as the manifest is compiled for the host platform (see here), this doesn't work as expected.As the CocoaPods integration currently doesn't support macOS and there is no macOS "dashboard" #18, I would suggest to remove the
#if os(iOS)
condition and make the SwiftPM integration at least work for iOS.The text was updated successfully, but these errors were encountered: