Closed Perjan closed 3 weeks ago
Here is the error log as well. Error-InjectionNext.txt
This is Xcode 16.1 right? Can you try turning off the "Undefined behaviour Sanitizer" in your scheme?
I turned it off. Now it works. Thanks John. The app runs fine on the device.
It's a strange problem. I have a project which by chance replicates what you've seem in Xcode 15 as well when you build for device with "Undefined behaviour Sanitizer" but, when I tried to prepare a replicating project for Apple I couldn't get it to fail and can't see what the difference would be. ¯\_(ツ)_/¯. Any other strange problems with InjectionNext let me know!
I am working on Xcode 16.1. Maybe having frameworks that also have InjectionNext and Inject as dependencies might trigger it?
I tried adding a framework but it doesn't seem to be that. Seems to be a very odd edge case in the build system related to the InjectionLite or DLKit Swift Packages which I have a smallish replicating project which doesn't build for simulator or device, so I raised FB15653175.
I integrated InjectionNext yesterday after transitioning from InjectionIII. So far I loved it when building on the simulator.
Unfortunately it doesn't allow the project to build on a real device.
App Structure
What I tried
This is the build error.
Please @johnno1962 help me solve it, because this is blocking me from submitting to the App Store. Thanks.