Closed diederikh closed 1 day ago
Hi, you seem to be loading the InjectionIII client bundle with the InjectionNext app.
For InjectionIII you load "/Applications/InjectionIII.app/Contents/Resources/iOSInjection.bundle" and run the InjectionIII.app. For InjectionNext you don't load the bundle but use the InjectionNext Swift package instead with the InjectionNext app.
Gotcha. I was using Krzysztof's Inject package. I'll try with the InjectionNext package. Should I also use HotSwiftUI or is that already part of the InjectionNext package?
I've tried with the InjectNext package. The app connects now:
π₯ InjectionNext: iPhoneSimulator connection to app established, waiting for commands.
π₯ Platform connected: iPhoneSimulator
However updating an SwiftUI view yields this error:
π₯ Recompiling: /Users/diederik/Development/Medable/ios-app/App/PatientApp/Patient Journey/Views/ScheduleView.swift
π₯ β οΈ Recompile failed for: /Users/diederik/Development/Medable/ios-app/App/PatientApp/Patient Journey/Views/ScheduleView.swift
<unknown>:0: error: unknown argument: '-driver-show-incremental'
<unknown>:0: error: unknown argument: '-driver-show-job-lifecycle'
π₯ β οΈ Injection failed. Was your app connected?
Does it pick up the wrong swiftc?
Running swiftc on the command line with -driver-show-incremental
seems to work fine.
update: Cursor shows this error:
π₯ Current log: /Users/diederik/Library/Developer/Xcode/DerivedData/PatientApp-ayeuifvcmyfvpjegerknexupddya/Logs/Build/C07D369B-EF43-46E0-98C2-EB528364C40A.xcactivitylog
π₯ β οΈ Compiler output:
<unknown>:0: error: no such file or directory: '/Users/diederik/Library/Developer/Xcode/DerivedData/ModuleCache.noindex/Session.modulevalidation'
<unknown>:0: error: stat cache file '/Users/diederik/Library/Developer/Xcode/DerivedData/SDKStatCaches.noindex/iphonesimulator18.0-22A3362-db63dc9361471f152f572502bdbfe70a.sdkstatcache' not found
<unknown>:0: error: stat cache file '/Users/diederik/Library/Developer/Xcode/DerivedData/SDKStatCaches.noindex/iphonesimulator18.0-22A3362-db63dc9361471f152f572502bdbfe70a.sdkstatcache' not found
<unknown>:0: error: clang importer creation failed
π₯ β οΈ Recompilation failed
π₯ β οΈ Injection failed. Was your app connected?
It uses the swiftc in the version of Xcode you select. Which version of Xcode are you using? The first error I can probably resolve quite easily by stripping out those options. The second error, another user has reported and I'd like to get to the bottom of. In the line previous to the "Current log:" value it should have listed the complete command line being executed. Are you able to email that to GitHub at johnholdsworth dot com or post it here? P.S. You can use Inject or HotSwiftUI.
I'm using Xcode 16.0
Command:
π₯ Recompiling /Users/diederik/Development/Medable/ios-app/App/PatientApp/Patient Journey/Views/ScheduleView.swift π₯ Processing command: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-frontend -c -filelist /Users/diederik/Library/Developer/Xcode/DerivedData/PatientApp-ayeuifvcmyfvpjegerknexupddya/Build/Intermediates.noindex/PatientApp.build/Debug-iphonesimulator/PatientApp.build/Objects-normal/arm64/sources-3 -primary-file /Users/diederik/Development/Medable/ios-app/App/PatientApp/Patient\ Journey/Views/ScheduleView.swift -supplementary-output-file-map /Users/diederik/Library/Developer/Xcode/DerivedData/PatientApp-ayeuifvcmyfvpjegerknexupddya/Build/Intermediates.noindex/PatientApp.build/Debug-iphonesimulator/PatientApp.build/Objects-normal/arm64/supplementaryOutputs-243 -target arm64-apple-ios15.0-simulator -Xllvm -aarch64-use-tbi -enable-objc-interop -sdk /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator18.0.sdk -I /Users/diederik/Library/Developer/Xcode/DerivedData/PatientApp-ayeuifvcmyfvpjegerknexupddya/Build/Products/Debug-iphonesimulator -F /Users/diederik/Library/Developer/Xcode/DerivedData/PatientApp-ayeuifvcmyfvpjegerknexupddya/Build/Products/Debug-iphonesimulator/PackageFrameworks -F /Users/diederik/Library/Developer/Xcode/DerivedData/PatientApp-ayeuifvcmyfvpjegerknexupddya/Build/Products/Debug-iphonesimulator/PackageFrameworks -F /Users/diederik/Library/Developer/Xcode/DerivedData/PatientApp-ayeuifvcmyfvpjegerknexupddya/Build/Products/Debug-iphonesimulator/PackageFrameworks -F /Users/diederik/Library/Developer/Xcode/DerivedData/PatientApp-ayeuifvcmyfvpjegerknexupddya/Build/Products/Debug-iphonesimulator/PackageFrameworks -F /Users/diederik/Library/Developer/Xcode/DerivedData/PatientApp-ayeuifvcmyfvpjegerknexupddya/Build/Products/Debug-iphonesimulator/PackageFrameworks -F /Users/diederik/Library/Developer/Xcode/DerivedData/PatientApp-ayeuifvcmyfvpjegerknexupddya/Build/Products/Debug-iphonesimulator/PackageFrameworks -F /Users/diederik/Library/Developer/Xcode/DerivedData/PatientApp-ayeuifvcmyfvpjegerknexupddya/Build/Products/Debug-iphonesimulator/PackageFrameworks -F /Users/diederik/Library/Developer/Xcode/DerivedData/PatientApp-ayeuifvcmyfvpjegerknexupddya/Build/Products/Debug-iphonesimulator/PackageFrameworks -F /Users/diederik/Library/Developer/Xcode/DerivedData/PatientApp-ayeuifvcmyfvpjegerknexupddya/Build/Products/Debug-iphonesimulator/PackageFrameworks -F /Users/diederik/Library/Developer/Xcode/DerivedData/PatientApp-ayeuifvcmyfvpjegerknexupddya/Build/Products/Debug-iphonesimulator/PackageFrameworks -F /Users/diederik/Library/Developer/Xcode/DerivedData/PatientApp-ayeuifvcmyfvpjegerknexupddya/Build/Products/Debug-iphonesimulator/PackageFrameworks -F /Users/diederik/Library/Developer/Xcode/DerivedData/PatientApp-ayeuifvcmyfvpjegerknexupddya/Build/Products/Debug-iphonesimulator/PackageFrameworks -F /Users/diederik/Library/Developer/Xcode/DerivedData/PatientApp-ayeuifvcmyfvpjegerknexupddya/Build/Products/Debug-iphonesimulator/PackageFrameworks -F /Users/diederik/Library/Developer/Xcode/DerivedData/PatientApp-ayeuifvcmyfvpjegerknexupddya/Build/Products/Debug-iphonesimulator/PackageFrameworks -F /Users/diederik/Library/Developer/Xcode/DerivedData/PatientApp-ayeuifvcmyfvpjegerknexupddya/Build/Products/Debug-iphonesimulator/PackageFrameworks -F /Users/diederik/Library/Developer/Xcode/DerivedData/PatientApp-ayeuifvcmyfvpjegerknexupddya/Build/Products/Debug-iphonesimulator/PackageFrameworks -F /Users/diederik/Library/Developer/Xcode/DerivedData/PatientApp-ayeuifvcmyfvpjegerknexupddya/Build/Products/Debug-iphonesimulator/PackageFrameworks -F /Users/diederik/Library/Developer/Xcode/DerivedData/PatientApp-ayeuifvcmyfvpjegerknexupddya/Build/Products/Debug-iphonesimulator/PackageFrameworks -F /Users/diederik/Library/Developer/Xcode/DerivedData/PatientApp-ayeuifvcmyfvpjegerknexupddya/Build/Products/Debug-iphonesimulator/PackageFrameworks -F /Users/diederik/Library/Developer/Xcode/DerivedData/PatientApp-ayeuifvcmyfvpjegerknexupddya/Build/Products/Debug-iphonesimulator/PackageFrameworks -F /Users/diederik/Library/Developer/Xcode/DerivedData/PatientApp-ayeuifvcmyfvpjegerknexupddya/Build/Products/Debug-iphonesimulator/PackageFrameworks -F /Users/diederik/Library/Developer/Xcode/DerivedData/PatientApp-ayeuifvcmyfvpjegerknexupddya/Build/Products/Debug-iphonesimulator/PackageFrameworks -F /Users/diederik/Library/Developer/Xcode/DerivedData/PatientApp-ayeuifvcmyfvpjegerknexupddya/Build/Products/Debug-iphonesimulator/PackageFrameworks -F /Users/diederik/Library/Developer/Xcode/DerivedData/PatientApp-ayeuifvcmyfvpjegerknexupddya/Build/Products/Debug-iphonesimulator/PackageFrameworks -F /Users/diederik/Library/Developer/Xcode/DerivedData/PatientApp-ayeuifvcmyfvpjegerknexupddya/Build/Products/Debug-iphonesimulator/PackageFrameworks -F /Users/diederik/Library/Developer/Xcode/DerivedData/PatientApp-ayeuifvcmyfvpjegerknexupddya/Build/Products/Debug-iphonesimulator/PackageFrameworks -F /Users/diederik/Library/Developer/Xcode/DerivedData/PatientApp-ayeuifvcmyfvpjegerknexupddya/Build/Products/Debug-iphonesimulator/PackageFrameworks -F /Users/diederik/Library/Developer/Xcode/DerivedData/PatientApp-ayeuifvcmyfvpjegerknexupddya/Build/Products/Debug-iphonesimulator/PackageFrameworks -F /Users/diederik/Library/Developer/Xcode/DerivedData/PatientApp-ayeuifvcmyfvpjegerknexupddya/Build/Products/Debug-iphonesimulator/PackageFrameworks -F /Users/diederik/Library/Developer/Xcode/DerivedData/PatientApp-ayeuifvcmyfvpjegerknexupddya/Build/Products/Debug-iphonesimulator/PackageFrameworks -F /Users/diederik/Library/Developer/Xcode/DerivedData/PatientApp-ayeuifvcmyfvpjegerknexupddya/Build/Products/Debug-iphonesimulator/PackageFrameworks -F /Users/diederik/Library/Developer/Xcode/DerivedData/PatientApp-ayeuifvcmyfvpjegerknexupddya/Build/Products/Debug-iphonesimulator/PackageFrameworks -F /Users/diederik/Library/Developer/Xcode/DerivedData/PatientApp-ayeuifvcmyfvpjegerknexupddya/Build/Products/Debug-iphonesimulator/PackageFrameworks -F /Users/diederik/Library/Developer/Xcode/DerivedData/PatientApp-ayeuifvcmyfvpjegerknexupddya/Build/Products/Debug-iphonesimulator/PackageFrameworks -F /Users/diederik/Library/Developer/Xcode/DerivedData/PatientApp-ayeuifvcmyfvpjegerknexupddya/Build/Products/Debug-iphonesimulator/PackageFrameworks -F /Users/diederik/Library/Developer/Xcode/DerivedData/PatientApp-ayeuifvcmyfvpjegerknexupddya/Build/Products/Debug-iphonesimulator/PackageFrameworks -F /Users/diederik/Library/Developer/Xcode/DerivedData/PatientApp-ayeuifvcmyfvpjegerknexupddya/Build/Products/Debug-iphonesimulator/PackageFrameworks -F /Users/diederik/Library/Developer/Xcode/DerivedData/PatientApp-ayeuifvcmyfvpjegerknexupddya/Build/Products/Debug-iphonesimulator/PackageFrameworks -F /Users/diederik/Library/Developer/Xcode/DerivedData/PatientApp-ayeuifvcmyfvpjegerknexupddya/Build/Products/Debug-iphonesimulator/PackageFrameworks -F /Users/diederik/Library/Developer/Xcode/DerivedData/PatientApp-ayeuifvcmyfvpjegerknexupddya/Build/Products/Debug-iphonesimulator/PackageFrameworks -F /Users/diederik/Library/Developer/Xcode/DerivedData/PatientApp-ayeuifvcmyfvpjegerknexupddya/Build/Products/Debug-iphonesimulator/PackageFrameworks -F /Users/diederik/Library/Developer/Xcode/DerivedData/PatientApp-ayeuifvcmyfvpjegerknexupddya/Build/Products/Debug-iphonesimulator/PackageFrameworks -F /Users/diederik/Library/Developer/Xcode/DerivedData/PatientApp-ayeuifvcmyfvpjegerknexupddya/Build/Products/Debug-iphonesimulator/PackageFrameworks -F /Users/diederik/Library/Developer/Xcode/DerivedData/PatientApp-ayeuifvcmyfvpjegerknexupddya/Build/Products/Debug-iphonesimulator/PackageFrameworks -F /Users/diederik/Library/Developer/Xcode/DerivedData/PatientApp-ayeuifvcmyfvpjegerknexupddya/Build/Products/Debug-iphonesimulator/PackageFrameworks -F /Users/diederik/Library/Developer/Xcode/DerivedData/PatientApp-ayeuifvcmyfvpjegerknexupddya/Build/Products/Debug-iphonesimulator/PackageFrameworks -F /Users/diederik/Library/Developer/Xcode/DerivedData/PatientApp-ayeuifvcmyfvpjegerknexupddya/Build/Products/Debug-iphonesimulator/PackageFrameworks -F /Users/diederik/Library/Developer/Xcode/DerivedData/PatientApp-ayeuifvcmyfvpjegerknexupddya/Build/Products/Debug-iphonesimulator/PackageFrameworks -F /Users/diederik/Library/Developer/Xcode/DerivedData/PatientApp-ayeuifvcmyfvpjegerknexupddya/Build/Products/Debug-iphonesimulator/PackageFrameworks -F /Users/diederik/Library/Developer/Xcode/DerivedData/PatientApp-ayeuifvcmyfvpjegerknexupddya/Build/Products/Debug-iphonesimulator/PackageFrameworks -F /Users/diederik/Library/Developer/Xcode/DerivedData/PatientApp-ayeuifvcmyfvpjegerknexupddya/Build/Products/Debug-iphonesimulator/PackageFrameworks -F /Users/diederik/Library/Developer/Xcode/DerivedData/PatientApp-ayeuifvcmyfvpjegerknexupddya/Build/Products/Debug-iphonesimulator/PackageFrameworks -F /Users/diederik/Library/Developer/Xcode/DerivedData/PatientApp-ayeuifvcmyfvpjegerknexupddya/Build/Products/Debug-iphonesimulator/PackageFrameworks -F /Users/diederik/Library/Developer/Xcode/DerivedData/PatientApp-ayeuifvcmyfvpjegerknexupddya/Build/Products/Debug-iphonesimulator/PackageFrameworks -F /Users/diederik/Library/Developer/Xcode/DerivedData/PatientApp-ayeuifvcmyfvpjegerknexupddya/Build/Products/Debug-iphonesimulator/PackageFrameworks -F /Users/diederik/Library/Developer/Xcode/DerivedData/PatientApp-ayeuifvcmyfvpjegerknexupddya/Build/Products/Debug-iphonesimulator/PackageFrameworks -F /Users/diederik/Library/Developer/Xcode/DerivedData/PatientApp-ayeuifvcmyfvpjegerknexupddya/Build/Products/Debug-iphonesimulator/PackageFrameworks -F /Users/diederik/Library/Developer/Xcode/DerivedData/PatientApp-ayeuifvcmyfvpjegerknexupddya/Build/Products/Debug-iphonesimulator/PackageFrameworks -F /Users/diederik/Library/Developer/Xcode/DerivedData/PatientApp-ayeuifvcmyfvpjegerknexupddya/Build/Products/Debug-iphonesimulator/PackageFrameworks -F /Users/diederik/Library/Developer/Xcode/DerivedData/PatientApp-ayeuifvcmyfvpjegerknexupddya/Build/Products/Debug-iphonesimulator -F /Users/diederik/Development/Medable/ios-app/App -no-color-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -module-cache-path /Users/diederik/Library/Developer/Xcode/DerivedData/ModuleCache.noindex -profile-generate -profile-coverage-mapping -warnings-as-errors -swift-version 5 -enforce-exclusivity\=checked -Onone -D DEBUG -D DEBUG -D ENABLE_ENVIRONMENT_PICKER -D MD_DETECT_JAILBREAK_DISABLE -debug-time-function-bodies -enable-actor-data-race-checks -serialize-debugging-options -load-plugin-executable /Users/diederik/Library/Developer/Xcode/DerivedData/PatientApp-ayeuifvcmyfvpjegerknexupddya/Build/Products/Debug/CasePathsMacros\#CasePathsMacros -load-plugin-executable /Users/diederik/Library/Developer/Xcode/DerivedData/PatientApp-ayeuifvcmyfvpjegerknexupddya/Build/Products/Debug/DependenciesMacrosPlugin\#DependenciesMacrosPlugin -const-gather-protocols-file /Users/diederik/Library/Developer/Xcode/DerivedData/PatientApp-ayeuifvcmyfvpjegerknexupddya/Build/Intermediates.noindex/PatientApp.build/Debug-iphonesimulator/PatientApp.build/Objects-normal/arm64/PatientApp_const_extract_protocols.json -enable-experimental-feature DebugDescriptionMacro -enable-experimental-feature OpaqueTypeErasure -enable-bare-slash-regex -empty-abi-descriptor -validate-clang-modules-once -clang-build-session-file /Users/diederik/Library/Developer/Xcode/DerivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /Users/diederik/Development/Medable/ios-app/App -resource-dir /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift -enable-anonymous-context-mangled-names -file-compilation-dir /Users/diederik/Development/Medable/ios-app/App -Xcc -fmodule-map-file\=/Users/diederik/Library/Developer/Xcode/DerivedData/PatientApp-ayeuifvcmyfvpjegerknexupddya/Build/Intermediates.noindex/GeneratedModuleMaps-iphonesimulator/GoogleUtilities-NSData.modulemap -Xcc -fmodule-map-file\=/Users/diederik/Library/Developer/Xcode/DerivedData/PatientApp-ayeuifvcmyfvpjegerknexupddya/Build/Intermediates.noindex/GeneratedModuleMaps-iphonesimulator/GoogleUtilities-Logger.modulemap -Xcc -fmodule-map-file\=/Users/diederik/Library/Developer/Xcode/DerivedData/PatientApp-ayeuifvcmyfvpjegerknexupddya/Build/Intermediates.noindex/GeneratedModuleMaps-iphonesimulator/GoogleUtilities-Environment.modulemap -Xcc -fmodule-map-file\=/Users/diederik/Library/Developer/Xcode/DerivedData/PatientApp-ayeuifvcmyfvpjegerknexupddya/Build/Intermediates.noindex/GeneratedModuleMaps-iphonesimulator/third-party-IsAppEncrypted.modulemap -Xcc -fmodule-map-file\=/Users/diederik/Library/Developer/Xcode/DerivedData/PatientApp-ayeuifvcmyfvpjegerknexupddya/Build/Intermediates.noindex/GeneratedModuleMaps-iphonesimulator/GoogleUtilities-UserDefaults.modulemap -Xcc -fmodule-map-file\=/Users/diederik/Library/Developer/Xcode/DerivedData/PatientApp-ayeuifvcmyfvpjegerknexupddya/Build/Intermediates.noindex/GeneratedModuleMaps-iphonesimulator/nanopb.modulemap -Xcc -fmodule-map-file\=/Users/diederik/Library/Developer/Xcode/DerivedData/PatientApp-ayeuifvcmyfvpjegerknexupddya/Build/Intermediates.noindex/GeneratedModuleMaps-iphonesimulator/GoogleDataTransport.modulemap -Xcc -fmodule-map-file\=/Users/diederik/Library/Developer/Xcode/DerivedData/PatientApp-ayeuifvcmyfvpjegerknexupddya/Build/Intermediates.noindex/GeneratedModuleMaps-iphonesimulator/FirebaseSessionsObjC.modulemap -Xcc -fmodule-map-file\=/Users/diederik/Library/Developer/Xcode/DerivedData/PatientApp-ayeuifvcmyfvpjegerknexupddya/Build/Intermediates.noindex/GeneratedModuleMaps-iphonesimulator/FirebaseCoreExtension.modulemap -Xcc -fmodule-map-file\=/Users/diederik/Library/Developer/Xcode/DerivedData/PatientApp-ayeuifvcmyfvpjegerknexupddya/Build/Intermediates.noindex/GeneratedModuleMaps-iphonesimulator/FirebaseInstallations.modulemap -Xcc -fmodule-map-file\=/Users/diederik/Library/Developer/Xcode/DerivedData/PatientApp-ayeuifvcmyfvpjegerknexupddya/Build/Intermediates.noindex/GeneratedModuleMaps-iphonesimulator/FirebaseCore.modulemap -Xcc -fmodule-map-file\=/Users/diederik/Library/Developer/Xcode/DerivedData/PatientApp-ayeuifvcmyfvpjegerknexupddya/Build/Intermediates.noindex/GeneratedModuleMaps-iphonesimulator/FirebaseCrashlytics.modulemap -Xcc -fmodule-map-file\=/Users/diederik/Library/Developer/Xcode/DerivedData/PatientApp-ayeuifvcmyfvpjegerknexupddya/Build/Intermediates.noindex/GeneratedModuleMaps-iphonesimulator/libPhoneNumber.modulemap -Xcc -fmodule-map-file\=/Users/diederik/Library/Developer/Xcode/DerivedData/PatientApp-ayeuifvcmyfvpjegerknexupddya/Build/Intermediates.noindex/GeneratedModuleMaps-iphonesimulator/InjectionNextC.modulemap -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -ivfsstatcache -Xcc /Users/diederik/Library/Developer/Xcode/DerivedData/SDKStatCaches.noindex/iphonesimulator18.0-22A3362-db63dc9361471f152f572502bdbfe70a.sdkstatcache -Xcc -I/Users/diederik/Library/Developer/Xcode/DerivedData/PatientApp-ayeuifvcmyfvpjegerknexupddya/Build/Intermediates.noindex/PatientApp.build/Debug-iphonesimulator/PatientApp.build/swift-overrides.hmap -Xcc -iquote -Xcc /Users/diederik/Library/Developer/Xcode/DerivedData/PatientApp-ayeuifvcmyfvpjegerknexupddya/Build/Intermediates.noindex/PatientApp.build/Debug-iphonesimulator/PatientApp.build/PatientApp-generated-files.hmap -Xcc -I/Users/diederik/Library/Developer/Xcode/DerivedData/PatientApp-ayeuifvcmyfvpjegerknexupddya/Build/Intermediates.noindex/PatientApp.build/Debug-iphonesimulator/PatientApp.build/PatientApp-own-target-headers.hmap -Xcc -I/Users/diederik/Library/Developer/Xcode/DerivedData/PatientApp-ayeuifvcmyfvpjegerknexupddya/Build/Intermediates.noindex/PatientApp.build/Debug-iphonesimulator/PatientApp.build/PatientApp-all-non-framework-target-headers.hmap -Xcc -ivfsoverlay -Xcc /Users/diederik/Library/Developer/Xcode/DerivedData/PatientApp-ayeuifvcmyfvpjegerknexupddya/Build/Intermediates.noindex/PatientApp.build/Debug-iphonesimulator/PatientApp-48ae946882ebb4ed4cb565a622abf608-VFS-iphonesimulator/all-product-headers.yaml -Xcc -iquote -Xcc /Users/diederik/Library/Developer/Xcode/DerivedData/PatientApp-ayeuifvcmyfvpjegerknexupddya/Build/Intermediates.noindex/PatientApp.build/Debug-iphonesimulator/PatientApp.build/PatientApp-project-headers.hmap -Xcc -I/Users/diederik/Library/Developer/Xcode/DerivedData/PatientApp-ayeuifvcmyfvpjegerknexupddya/SourcePackages/checkouts/GoogleUtilities/GoogleUtilities/NSData+zlib/Public -Xcc -I/Users/diederik/Library/Developer/Xcode/DerivedData/PatientApp-ayeuifvcmyfvpjegerknexupddya/SourcePackages/checkouts/GoogleUtilities/GoogleUtilities/Logger/Public -Xcc -I/Users/diederik/Library/Developer/Xcode/DerivedData/PatientApp-ayeuifvcmyfvpjegerknexupddya/SourcePackages/checkouts/GoogleUtilities/GoogleUtilities/Environment/Public -Xcc -I/Users/diederik/Library/Developer/Xcode/DerivedData/PatientApp-ayeuifvcmyfvpjegerknexupddya/SourcePackages/checkouts/GoogleUtilities/third_party/IsAppEncrypted/Public -Xcc -I/Users/diederik/Library/Developer/Xcode/DerivedData/PatientApp-ayeuifvcmyfvpjegerknexupddya/SourcePackages/checkouts/GoogleUtilities/GoogleUtilities/UserDefaults/Public -Xcc -I/Users/diederik/Library/Developer/Xcode/DerivedData/PatientApp-ayeuifvcmyfvpjegerknexupddya/SourcePackages/checkouts/nanopb/spm_headers -Xcc -I/Users/diederik/Library/Developer/Xcode/DerivedData/PatientApp-ayeuifvcmyfvpjegerknexupddya/SourcePackages/checkouts/promises/Sources/FBLPromises/include -Xcc -I/Users/diederik/Library/Developer/Xcode/DerivedData/PatientApp-ayeuifvcmyfvpjegerknexupddya/SourcePackages/checkouts/GoogleDataTransport/GoogleDataTransport/GDTCORLibrary/Public -Xcc -I/Users/diederik/Library/Developer/Xcode/DerivedData/PatientApp-ayeuifvcmyfvpjegerknexupddya/SourcePackages/checkouts/firebase-ios-sdk/FirebaseSessions/SourcesObjC -Xcc -I/Users/diederik/Library/Developer/Xcode/DerivedData/PatientApp-ayeuifvcmyfvpjegerknexupddya/SourcePackages/checkouts/firebase-ios-sdk/FirebaseCore/Extension -Xcc -I/Users/diederik/Library/Developer/Xcode/DerivedData/PatientApp-ayeuifvcmyfvpjegerknexupddya/SourcePackages/checkouts/firebase-ios-sdk/FirebaseInstallations/Source/Library/Public -Xcc -I/Users/diederik/Library/Developer/Xcode/DerivedData/PatientApp-ayeuifvcmyfvpjegerknexupddya/SourcePackages/checkouts/firebase-ios-sdk/FirebaseCore/Sources/Public -Xcc -I/Users/diederik/Library/Developer/Xcode/DerivedData/PatientApp-ayeuifvcmyfvpjegerknexupddya/SourcePackages/checkouts/firebase-ios-sdk/CoreOnly/Sources -Xcc -I/Users/diederik/Library/Developer/Xcode/DerivedData/PatientApp-ayeuifvcmyfvpjegerknexupddya/SourcePackages/checkouts/firebase-ios-sdk/Crashlytics/Crashlytics/Public -Xcc -I/Users/diederik/Library/Developer/Xcode/DerivedData/PatientApp-ayeuifvcmyfvpjegerknexupddya/SourcePackages/checkouts/libPhoneNumber-iOS/libPhoneNumber -Xcc -I/Users/diederik/Library/Developer/Xcode/DerivedData/PatientApp-ayeuifvcmyfvpjegerknexupddya/SourcePackages/checkouts/InjectionNext/Sources/InjectionNextC/include -Xcc -I/Users/diederik/Library/Developer/Xcode/DerivedData/PatientApp-ayeuifvcmyfvpjegerknexupddya/Build/Products/Debug-iphonesimulator/include -Xcc -I/Users/diederik/Library/Developer/Xcode/DerivedData/PatientApp-ayeuifvcmyfvpjegerknexupddya/Build/Intermediates.noindex/PatientApp.build/Debug-iphonesimulator/PatientApp.build/DerivedSources-normal/arm64 -Xcc -I/Users/diederik/Library/Developer/Xcode/DerivedData/PatientApp-ayeuifvcmyfvpjegerknexupddya/Build/Intermediates.noindex/PatientApp.build/Debug-iphonesimulator/PatientApp.build/DerivedSources/arm64 -Xcc -I/Users/diederik/Library/Developer/Xcode/DerivedData/PatientApp-ayeuifvcmyfvpjegerknexupddya/Build/Intermediates.noindex/PatientApp.build/Debug-iphonesimulator/PatientApp.build/DerivedSources -Xcc -DDEBUG\=1 -Xcc -DENABLE_ENVIRONMENT_PICKER -import-objc-header /Users/diederik/Development/Medable/ios-app/App/PatientApp/Common/Axon-Bridging-Header.h -pch-output-dir /Users/diederik/Library/Developer/Xcode/DerivedData/PatientApp-ayeuifvcmyfvpjegerknexupddya/Build/Intermediates.noindex/PrecompiledHeaders -pch-disable-validation -module-name PatientApp -disable-clang-spi -target-sdk-version 18.0 -target-sdk-name iphonesimulator18.0 -external-plugin-path /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/lib/swift/host/plugins\#/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/swift-plugin-server -external-plugin-path /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/local/lib/swift/host/plugins\#/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/swift-plugin-server -plugin-path /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins -plugin-path /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/local/lib/swift/host/plugins -index-system-modules -o /var/folders/tg/fwdjcwt50lld1776xdplg8580000gn/T/eval3.o
Thanks for the log, I've created a new release candidate removing these spurious options if you'd like to give it a try https://github.com/johnno1962/InjectionNext/releases/tag/1.2.6RC6.
That build fixed the Xcode issue. Cursor still fails with a different error. I'll email you the logs for the Cursor one.
I wonder, can you try turning off the following build setting:
I've uploaded a fix of sorts for this .pch problem: https://github.com/johnno1962/InjectionNext/releases/tag/1.2.6RC8
After switching setting SWIFT_PRECOMPILE_BRIDGING_HEADER=NO it all works in Cursor with RC8. Thanks!
Great! Thanks for getting back. With luck, RC8 should work even without that option turned off.
When I try 1.2.6 RC5 with Xcode or Cursor I get an error in the logs when SwiftUI tries to inject:
Running InjectIII for the same project works fine. Is a different port used for Next?