Comments (14)
Yep you are right :) i just have to add the framework the the tvOS target.
from injectioniii.
Hi, It's been a while. This is very strange indeed. Do you think this is a regression? Have you tried the new 4.6.4 release candidate? Does this problem date back to 4.6.3 where I changed caching by any chance? I'd be very interested in tracking this down.
from injectioniii.
Hi,
You should add the current version in the app (maybe in the update check), it can help.
BTW i have tested with the 4.6.4 version, same problem.
I also noticed that after a "Clean build folder" and a complete build, the injection works from the first time, but after a relaunch, same problem.
I can share a remote screen with you if it can help, we had already done it several times
from injectioniii.
TeamViewer? That would be very interesting. I don't think anybody else has reported this problem. What version of Xcode/InjectionIII is this (App, HotReloading Swift Package etc)? Surprised 4.6.4 is still doing it, it should be using a cache,
from injectioniii.
Thanks for raising this issue, an interesting caching bug for large projects. I've updated the 4.6.4 pre-release of the app if you want to kick the tires (after removing the HotReloading project).
from injectioniii.
I've push a few versions of the InjectionIII app since we talked and the final change was to make it silently retry without using the cache if these pesky file list files get deleted by housekeeping on the Mac after a couple of days. If you could give the current release candidate a try and get back to me if there is a problem I'd appreciate it otherwise I'll make it the main release tomorrow.
from injectioniii.
Hi,
The version you patched with me still had the problem (less frequent) but the prerelease version looks ok, I have been testing for several hours and I don't have the problem anymore 👍🏻
from injectioniii.
Great, thanks for letting me know, raising this issue and your help resolving it. I introduced more use of caching a couple of months ago and hopefully this is the last of the problems it created. The last commit to 4.6.4 that invalidates the cache and retries on failure feels like the right solution.
from injectioniii.
Hi,
I don't want to open a new issue just for that, i have tested your SwiftUI-Kit sample project and the injection doesn't works when i build it for tvOS
from injectioniii.
Has the HotReloading Swift Package been added to the tvOS target? Probably not, try removing the package and reading it to the target you want to use.
from injectioniii.
Hi again, I have a new release candidate https://github.com/johnno1962/InjectionIII/releases/tag/4.7.3 where there were some minor changes related to these pesky -filelists which are used in large projects. Any chance you could download it and give it a try to make sure I haven't regressed something? Please remote /tmp/*_builds.plist and /tmp/filelists/* for a real test.
from injectioniii.
Hi,
Tested for 2 days now, i have see nothing special, i still have some crashs on some swiftUI views but nothing less or more compared with the latest version. So this RC is ok for me 👍🏻
from injectioniii.
Thanks for letting me know. Do tell me more about these crashes... You're calling .eraseToAnyView() religiously at the end of every view body? Otherwise it can crash when you insert interface elements or alter some modifiers. This is because this changes the concrete type for the opaque/some return value and it's memory. layout.
from injectioniii.
Final 4.7.3 release is out if you want to upgrade. There were an assortment of minor fixes and enhancements as they say.
from injectioniii.
Related Issues (20)
- Fatal error: NSArray element failed to match the Swift Array Element type HOT 1
- EXC_BAD_ACCESS after add var in swift class HOT 2
- Injection doesn't work with Xcode 15.2 HOT 10
- Multiple frameworks/targets issue HOT 3
- error: no such module 'FirebaseFirestoreInternalWrapper' HOT 4
- Error loading, when using mac target HOT 3
- Crash on reload every time HOT 6
- Loading .dylib has failed HOT 15
- EOF received from server.. HOT 2
- Setting up for macOS app dev HOT 21
- Is there a way to make injected macOS app not become active when it's reloaded? HOT 2
- Re-compilation failed HOT 5
- InjectionClient/Could not connect: Connection refused 🔥 HOT 18
- Hello, I reported the error when I used the real machine to debug, looking forward to your answer, thank you HOT 6
- Meaning of colors HOT 2
- It doesn't work on Xcode 15.3 iOS 17.4 HOT 14
- It doesn't work on xcode 15.3 (15E204a) HOT 7
- Loading .dylib has failed HOT 1
- TCA ObservableState crash HOT 3
- Unknown argument: -interposable HOT 2
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 injectioniii.