debugging issue with real device doesn't working
00:20 17 Mar 2026

good morning everyone.

I'm trying to debug my application on my real iPad and iPhone but I still have with it.

  1. NSXPCConnection: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS26.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSXPCConnection.h:14:2 File '/Users/myname/Library/Developer/Xcode/DerivedData/ModuleCache.noindex/3DV92RN2RZ0SK/XPC-1MMP54LPSD7RZ.pcm' is not a valid precompiled module file: file too small to contain AST file magic

  2. resource_bundle_accessor: /Users/myname/Library/Developer/Xcode/DerivedData/gestionale2-dtmrdinbqxgzmphhlorjynlfijvuc/Build/Intermediates.noindex/gRPC.build/Debug-iphoneos/grpcppWrapper.build/DerivedSources/resource_bundle_accessor.h:1:9 Could not build module 'Foundation'

how can I solve this problem?

thanks

ios swift debugging