Comments (3)
a PR with annotations would be great 👍
from lifetimetracker.
hmm weird, the code works fine in our objc example, can you try adding @objc attribution to the initializer in your local pod checkout and see if it helps, I didn't expect this to be needed but maybe ?
from lifetimetracker.
@krzysztofzablocki Apologies for the delay! I was able to reproduce this more reliably now that I understand it better. Adding the @objc does indeed fix the issue though.
The ExampleObjc project works fine because the pod itself is on Swift 3 as shown here.
If you run the migrator so that it converts LifetimeTracker to Swift 4 which will require no syntax change then you'll see the following deprecation warning:
This matches what is happening in my project since I have a mixed Obj-C/Swift 4 codebase which requires the explicit @objc annotations. I didn't run the migrator on the Pod when I installed it but it was automatically set to Swift 4.
I can make a PR to annotate all the public methods with @objc or should it be done on a per need basis?
from lifetimetracker.
Related Issues (20)
- crash when displaying the leaks details HOT 12
- Xcode 10.2 / iOS 12.2 crash
- Undefined symbols for architecture arm64:
- ViewController has called deinit, but still in couting. HOT 7
- Swift Package Manager Support for iOS HOT 6
- xcode 11 lifetimeTracker does not work HOT 3
- Real support for SwiftPackageManager HOT 4
- Not displaying HOT 15
- Undefined symbol: LifetimeTracker.LifetimeConfiguration.__allocating_init(maxCount: Swift.Int, groupName: Swift.String) -> LifetimeTracker.LifetimeConfiguration HOT 2
- Adding ability to control red/green colors to make it more accessibility-friendly HOT 2
- SwiftUIApp... HOT 2
- Release 1.8.1 on CocoaPods or add a note in the Readme that CocoaPods is no longer available HOT 2
- Supports staticlib (static library) needed HOT 2
- resolvedBundle can't be found in 1.8.1 tag HOT 3
- delete
- Localization strings not working in view
- Crash after startup HOT 2
- Dashboard never appears (both .bar and .circular) HOT 1
- Not working on SwiftUI project HOT 1
- Runtime crash while integrating through Tuist
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lifetimetracker.