Comments (10)
Hi, I've not had any problems with 15.2 as yet. There are a few things you can try though. Start by closing and re-opening your project to clear out old build logs and perhaps a build clean. Injection also has a cache though it should invalidate automatically. You can remove it using rm /tmp/*builds.plist
or rebooting. Is this a project that contains Objective-C?
from injectioniii.
I fixed the problem! It turned out that it was caused by import Dispatch
. I replaced it with import Foundation
and now it works great :). Thank you for the support!
from injectioniii.
Interesting!
from injectioniii.
@johnno1962 btw. this file (/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator17.2.sdk/usr/include/Dispatch/module.modulemap
) exists but it's lowercased dispatch
, so probably that's the bug.
from injectioniii.
Aha, so you must be using "standalone" injection or the App Store version of the app which compiles in the simulator which is case sensitive. If you use one of the GitHub releases of the app this shouldn't occur.
from injectioniii.
Yes, I used the one from the App Store. What are the differences between these two?
from injectioniii.
The only difference is the sandbox which means compilation has to be delegated to the simulator.
from injectioniii.
Is then the GitHub version faster?
from injectioniii.
I don't think so though I've never checked. The simulator just has this peculiarity. They must have renamed the directory with Xcode 15.2. I wonder if this issue will come up again and if so if there anything I can do about it.
from injectioniii.
Can you post the contents of the command.sh
file it mentions or email it to me at github at johnholdsworth.com?
from injectioniii.
Related Issues (20)
- 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
- Could not bind service socket: Address already in use HOT 5
- Is support arm mac??? HOT 19
- ld: building for 'iOS', but linking in object file built for 'visionOS-simulator' HOT 5
- dlopen() error: Library not loaded: @rpath/libswift_Concurrency.dylib HOT 15
- SwiftUI `onChange` is not called after injection HOT 1
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.