UPGRADE YOUR SKILLS: Learn advanced Swift and SwiftUI on Hacking with Swift+! >>

Project 16 - HotProspects (from GitHub): QR Code button doesn't work a 2nd time unless switch tabs; console errors

Forums > 100 Days of SwiftUI

I had an issue with my HotProspects code after fininshing the project (HotProspects Wrap-up page).

So I downloaded the HotProspects code from GitHub (here) and still have the same issues. They are:

  1. The QR Code toolbar button works fine the first time, but tapping it a second time doesn't do anything. I have to switch tabs and then I can tap it again and it'll show the sheet.
  2. I get the following console errors. Some only appear when I tap Use a custom image and point it to a saved QR Code from the Me page (versus tapping the text to add a sample contact).
2023-03-06 17:55:09.394351-0700 HotProspects[51819:1687682] Metal API Validation Enabled
2023-03-06 17:55:09.617813-0700 HotProspects[51819:1687682] The filter 'CIPortraitEffectSpillCorrection' is not implemented in the bundle at /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/CoreImage/PortraitFilters.cifilter.
2023-03-06 17:55:56.884036-0700 HotProspects[51819:1687682] [TraitCollection] Class CKBrowserSwitcherViewController overrides the -traitCollection getter, which is not supported. If you're trying to override traits, you must use the appropriate API.
2023-03-06 17:55:57.090736-0700 HotProspects[51819:1689443] [AXRuntimeCommon] Unknown client: HotProspects

Oh, and there was also a [SceneConfiguration] Info.plist contained no UIScene configuration dictionary (looking for configuration named "(no name)") error, but I fixed that by adding a Scene Configuration property to the target Application Scene Manifest in the build target Info tab.

2      

Hacking with Swift is sponsored by Essential Developer

SPONSORED Join a FREE crash course for mid/senior iOS devs who want to achieve an expert level of technical and practical skills – it’s the fast track to being a complete senior developer! Hurry up because it'll be available only until April 28th.

Click to save your free spot now

Sponsor Hacking with Swift and reach the world's largest Swift community!

Archived topic

This topic has been closed due to inactivity, so you can't reply. Please create a new topic if you need to.

All interactions here are governed by our code of conduct.

 
Unknown user

You are not logged in

Log in or create account
 

Link copied to your pasteboard.