johnno1962 / InjectionNext

Fourth evolution of Code Injection for Xcode
MIT License
66 stars 2 forks source link

recompile fails on visionOS device #23

Closed kevinw closed 1 month ago

kevinw commented 1 month ago

My project live reloads in the simulator, but in the headset I get:

ld: warning: search path '/private/var/folders/sm/gg9j_8_14b59btxfvq6bynzw0000gn/T/AppTranslocation/9393DAE9-1792-4CF8-AFE9-443F4474139F/d/InjectionNext.app/Contents/Frameworks' not found
ld: warning: search path '/private/var/folders/sm/gg9j_8_14b59btxfvq6bynzw0000gn/T/AppTranslocation/9393DAE9-1792-4CF8-AFE9-443F4474139F/d/InjectionNext.app/Contents/Frameworks' not found
ld: building for 'macOS', but linking in object file (/private/tmp/injectionNext_0.o) built for 'visionOS'
clang: error: linker command failed with exit code 1 (use -v to see invocation)

Is there code assuming "if not iOS, then macOS" somewhere?

kevinw commented 1 month ago

Nevermind, I missed the part in the docs about needing to run it twice. I think the first time the network access dialog makes it fail to connect.