All Questions
1,646 questions
-1
votes
0
answers
168
views
do not track this hang and Hang detected: (debugger attached, not reporting) Xcode 16.2 debugging messages
Why am I getting this message in Xcode 16.2 when I am debugging my iOS project? I think this is slowing down the debugging process Xcode is running.
App is being debugged, do not track this hang
Hang ...
0
votes
0
answers
34
views
While running iOS build for debug getting Pid issue ...This pid numbers keep getting changes
While running iOS build for debug getting Pid issue ...This pid numbers keep getting change and build keep failing . How to resolved this , Thanks in Adv
Selected dev provision profile and trying to ...
0
votes
0
answers
27
views
Testing my React-Native app Offline/Online with Network Link Conditioner
I put you in context, I'm developing an React-Native app to send forms to a database, users can submit forms offline, when then connection is reactivated the form is sent, there are several steps in ...
0
votes
0
answers
24
views
React Native - iOS. failed to build ios project, "xcodebuild" exited with error code 65. to debug build logs further when run app
I am trying to run my already running android react-native project in mac device.
first time I flow :
cd ios
pod install
cd ..
npx react-native run-android
It gives me the above error, when I recreate ...
1
vote
0
answers
92
views
How can I see how many times a function has been called when viewing a thread in Xcode?
In Xcode it shows me the thread for a bad memory access, but I want a way to find out how many times the loops/ functions along the way have been successfully called before that point from any earlier ...
1
vote
0
answers
52
views
Attach lldb debugger to the compiled program's executable when the main executable is not the compiled program
I am building an MPI C project in Xcode. In order to do run it, I had to:
Specify /path/to/mpiexec in Edit Scheme -> Run -> Info -> Executable, instead of the "default" one, say ...
0
votes
1
answer
57
views
Is there a way to print the current line number in XCode? [duplicate]
Does XCode have some sort of macro which outputs the current line number?
For trouble shooting I add a few print() statements, and currently manually insert the line number. Something like this:
print(...
1
vote
1
answer
276
views
CUICatalog: Invalid asset name supplied: ''
When I run my app in the iOS Simulator I can see the following error messages in Xcode Console:
It happens when I navigate to a specific view. Looking online I found 2 reasons why this could happen:
...
2
votes
0
answers
135
views
Update Interfaces in the Simulator (without SwiftUI)
I have this example:
class ViewController: UIViewController {
override func viewDidLoad() {
super.viewDidLoad()
// Line where the breakpoint will be placed
view....
0
votes
0
answers
15
views
Is this an Xcode bug?
The xcode debugger jumps unexpectedly from line 11 to line 16 (past return!) in this C++ code and back to
line 11, when I do "step over" or "step in". (This is the minimal working ...
1
vote
1
answer
148
views
Touchlab Xcode-plugin is not working with complex KMP Project
I've got a huge KMP project. min version iOS 14, xCode 15.2
For debugging purpose Kotlin code injected as a local pod: as a src not a binary file. Pod named KotlinShared.
Unfortunately this plugin ...
0
votes
1
answer
48
views
Why in Xcode debugger and instruments some memory is just "malloc(48 bytes)"
This, but meanwhile, other objects have fully qualified ObjectiveC class names, Swift class names, etc.
Why are some allocations written as "malloc(48 bytes)", while others aren't? Does this ...
1
vote
0
answers
372
views
React native "Can't merge pod_target_xcconfig for pod targets"
when I try to run pod install, I get this in my logs "[!] Can't merge pod_target_xcconfig for pod targets: ["expo-dev-menu", "Main", "SafeAreaView", "Vendored&...
1
vote
1
answer
289
views
'Flutter/Flutter.h' file not found IOS
I am currently developing a Flutter app for IOS and Android but I suddenly started having this error :
I already tried removing ios folder and do a flutter create like said in this question : error: &...
0
votes
1
answer
95
views
How to change StackTrace to Code Edit in xcode source editor area
Xcode runtime enabling breakpoints goes to stack trace in main source code editing area where we could not see the source code to debug.
I'm using Xcode 15 and SwiftUI.
How can we change it to source ...