GitHub Gist: star and fork amonshiz's gists by creating an account on GitHub. برچسبها: BetterTouchTool، دانلود نرم افزار BetterTouchTool 2.071، دانلود نرم افزار BetterTouchTool 2.071 برای مک، دانلود نرم افزار BetterTouchTool 2.071 مک با لینک مستقیم، دانلود نرم افزار مدیریت ترک پد، دانلود نرم افزار.
TL;DR
It seems BetterTouchTool has a conflict with the iOS simulator in specific user interactions.
Bettertouchtool 2 071 4The Problem
I have been following along with the excellent and free “Developing iOS 10 Apps with Swift” course on iTunes U (otherwise known as the Stanford course “CS193P, Developing Apps for iOS, Winter 2017”.
I have been working on Programming Project 4: Smashtag Mentions, which involves reading data from Twitter and displaying them on UITableViews. I have checked off most of the required tasks, but ran into a problem today when I opened up my project. My previously working app now crashed almost immediately after starting up. An example trace:
Being new to Swift, Xcode, and iOS development, that was an unfortunate start to my day. Instead of continuing on from my mostly finished assignment, I now had to decipher this trace, and figure out what went wrong.
After some failed initial hopes that this was yet another ephemeral Xcode bug, it seemed there was a real problem here. Cleaning, re-building did nothing to fix the error. Wiping the (simulated) device and re-deploying the app did not help. Downloading and trying on an iOS 10.1 device also did not work.
My Google-fu was failing, so I had to try and solve this on my own. I traced that the exception was triggered after some user interaction. The view I was interacting with was an initially empty UITableView with a search UITextField at the top. It seemed the exception was getting consistently triggered when my focus entered this text field. Interestingly, moving this text field to the bottom of the table prevented the error.
I decided to build a new project from scratch, in case something I had done on the storyboard or my app code was triggering the issue. Sure enough, the simplest app with only a UITableView and UITextField in the header would trigger this exception. Great…but what next?
After some flailing, and not getting anywhere, I thought I might try the latest Xcode 8.3 beta, and see if that got me anywhere. Plus, it was time for dinner.
The BreakthroughBettertouchtool 2 071 1
After downloading and installing the latest Xcode 8.3 beta 5, I encountered the same error. So I would have to try a different approach.
![]()
It seemed the crash was related to user interaction, keyboard/mouse input into the simulator. Maybe another utility on my system was interfering with the simulator?
I looked at my Status menu and noticed BetterTouchTool sitting there. I quit. Ran my app, and the exception was gone.
Bettertouchtool 2 071 2Bettertouchtool 2 071 6
Opened back up BetterTouchTool, put the focus in the simulator, and the exception was back.
Bettertouchtool 2 071 3
Well, it seems BetterTouchTool 2.071 (608) has some conflict with the iOS simulator. I will have to do some more experimenting to see exactly what the conflict is, and if there is a specific setting that is causing the issue. For now though, I will continue with BetterTouchTool turned off.
Comments are closed.
|
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |