Tagged: Debugging

There are 16 items tagged #Debugging.
And there a lots of other tags to explore.

How to fix "libobjc.A.dylib is being read from process memory" error

If your app takes forever to run on a device and you get this error in the console log. I will share what works for me in this article.

How to fix "dyld: Library not loaded @rpath" error

You probably get this error when you try to add a third-party framework to your project. Let's learn one way to fix it.

How to test In-App purchases in Development

You can't use your Apple ID when making an in-app purchase during the development. Let's learn how to do it.

Find Callers of methods or variables in Xcode

Callers or Call Hierarchy shows you all the places where a method, function, or variable is used. You can easily find callers in Xcode.

Detecting if SwiftUI app is in Xcode Previews

Learn how to detect whether an app is running in Xcode Previews.

How to fix "You are not authorized to make purchases of this InApp in Sandbox at this time" error

You might encounter this error when testing an In-app purchase in Sandbox mode. Let's learn how to fix it.

How to fix "No exact matches in call to initializer" error in Swift

This error can happen in many places. Based on the message, it might not be obvious what is causing it and how to solve it. Let's learn how to fix it.

How to fix "The compiler is unable to type-check this expression in reasonable time" error

There might be several reasons that cause this error. I will share the solution that works for me.

How to use Proxyman with Flutter

If you use Proxyman with a Flutter app, you might not see any traffic from your Flutter Project. Here is how to fix it.

How to set UserDefaults value with Launch Arguments

Learn how to use a launch argument to override UserDefaults value and test your apps.

How to simulate location in Xcode and Simulator

Both Xcode and Simulator can simulate location, but they serve different purposes. The Simulator provided a quick and easy way to simulate location and movement. On the other hand, Xcode offers more customization. Let's learn the differences so you can pick the right tool for your needs.

How to do print debugging in SwiftUI

Learn how to add a print() in a SwiftUI view.

Better print debugging with Xcode breakpoints

Print debugging is the simplest form of debugging technique, but it possesses some drawbacks. Let's see how we can make it better by using Xcode breakpoints.

Easy way to detect a retain cycle in a view controller

A view controller is one component where memory leak usually takes place since it holds many pieces together. One of the easiest ways to detect them is to see if a view controller is not being deallocated. Let's see how Xcode breakpoint can help you find a leak.

Testing Remote Push Notification in iOS simulator

A new and easier way to test Apple push notification on iOS simulator.

Print unescaped string output in Swift

How to print object (po) in a debugger (lldb) without escape special characters.

See all tags.