 maliborskaya
		
			maliborskaya
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		
			on 
    
	
		
		
		23 Jan 2024
	
		
		08:00 AM
	
	
	
	
	
	
	
	
	
	
	
	
	
	
 - edited on 
    
	
		
		
		23 Jan 2024
	
		
		08:49 AM
	
	
	
	
	
	
	
	
	
	
	
	
	
	
 by 
				
		 MaciejNeumann
		
			MaciejNeumann
		
		
		
		
		
		
		
		
	
			
		
We're still working on improving the SwiftUI instrumentation process for mobile applications. If you face any issues while instrumenting SwiftUI controls, please contact a Dynatrace product expert via live chat within your Dynatrace environment and provide the log file of the affected build. You can find the log file of the most recent build at dynatrace_instrumented/current/instrumentation.log. Log files of previous builds are located in time-stamped archives under dynatrace_instrumented.
If you've run into an issue with the Dynatrace SwiftUI instrumentor and it hasn't been restored automatically, perform the steps described below.
DTSwiftInstrumentor process if it still exists.DTSwiftInstrumentor restore . if you installed the instrumentor via Homebrew.dynatrace/DTSwiftInstrumentor restore . if you installed the instrumentor manuallyOur SwiftUI instrumentor binary has crashed. Please contact a Dynatrace product expert via live chat within your Dynatrace environment and provide the log file of the affected build.
When the SwiftUI instrumentor starts, it checks whether other instances of the instrumentor are already running. When user script sandboxing is enabled or when you use a project created in Xcode 15+ (where this feature is on by default), this check doesn't work out of the box, and the instrumentor can't initialize.
To solve this issue, disable user script sandboxing (ENABLE_USER_SCRIPT_SANDBOXING project flag).