profile picture

2 pages tagged with "iOS"

Dangerous Objective C to Swift Conversions

March 26, 2023 - 619 words - 4 mins
I have a pretty high confidence converting Java to Kotlin. One of the reasons is because Android Studio has a tool to show the resulting bytecode (which then can be decompiled back to Java). But not so much when converting Objective C file to Swift. There were some unexpected behaviors that I try t… read more

Debug iOS Crashlytics

July 03, 2022 - 323 words - 2 mins
I was recently made confused by the famous unclear EXC_BREAKPOINT error on Crashlytics for an iOS project. The code SomeAPI below was converted from Objective C to Swift. The error log was Crashed: com.apple.main-thread EXC_BREAKPOINT 0x000000010457c8f4 Crashed: com.apple.main-thread 0 ExampleApp … read more