Post

Replies

Boosts

Views

Activity

Xcode 12.1 Segmentation fault 11
I have quite big project, which is cocoadpods based and part of the code is incapsulated into frameworks (for instance Network framework). The project builds fine in Xcode 11. But under Xcode 12.1 I get segmentation error. Pods, frameworks are build by themself fine, but my iOS application which uses them doesn't build. I tried clean build, removed derivedData, checked for use of Self in extension. at least in one of mentioned by complier error files. No luck . Logs are located here: "https://www.dropbox.com/s/xljin33qebkkxdl/Log.zip?dl=1 "
0
0
466
Nov ’20
iOS 12.4.6, iPhone6 physical shake isn't detected
Hi,In my app I have VC where shake is handled, i.e motionBegan.... , motionEnded are handled.Now, after updating iPhone 6 until iOS 12.4.6 I see that physical shake isn't detected.However, when I am using Assistant Touch on device or "shake key" in the simulator, it works fine.I even created a sample project (Link on dropbox)Here is VC:class ViewController: UIViewController { override func viewDidAppear(_ animated: Bool) { super.viewDidAppear(animated) let result = becomeFirstResponder() assert(result && isFirstResponder) } override func viewDidDisappear(_ animated: Bool) { super.viewDidDisappear(animated) resignFirstResponder() } override var canBecomeFirstResponder: Bool { return isViewLoaded && view.window != nil } override func motionBegan(_ motion: UIEvent.EventSubtype, with event: UIEvent?) { super.motionBegan(motion, with: event) guard motion == .motionShake else { return } debugPrint("Motion began !!!") } override func motionEnded(_ motion: UIEvent.EventSubtype, with event: UIEvent?) { super.motionEnded(motion, with: event) guard motion == .motionShake else { return } debugPrint("Motion motionEnded !!!") } }Seems that it's a bug, isn't it?
0
0
291
Jun ’20