Post

Replies

Boosts

Views

Activity

SPM resource file is not accessible from Catalyst app
Hi 👋, We have a SPM in which we included a caf file, is copied to the bundle through the following code resources: [ .copy("Resources/silence.caf") ] The SwiftUI iOS app has no problem reading the caf file from bundle path file:///Users/{name}/Library/Developer/CoreSimulator/Devices/B75B8483-D213-4CB9-B30B-462047FA9E1E/data/Containers/Bundle/Application/A9D40BBE-7F25-4145-A750-85E6C19202E1/{app-name}.app/{spm-name}.bundle/silence.caf But the Catalyst app fails to read saying No such file or directory, but it does exist. CMD + Shift + G fails as well and I had to right click - show content on the .app folder. file:///Users/{name}/Library/Developer/Xcode/DerivedData/{project-name}-ccnjwvhsanbnmkhdqdcgyipagqsg/Build/Products/Debug%20(Staging)-maccatalyst/{app-name}.app/Contents/Resources/{spm-name}.bundle/Contents/Resources/silence.caf I hope this does not sound confusing. Is this expected behaviour? What would be the fix to make it work for Mac Catalyst app? Environment Mac OS - 13.0.1 Xcode - 14.2 swift-driver version: 1.62.15 Apple Swift version 5.7.2 (swiftlang-5.7.2.135.5 clang-1400.0.29.51)
0
0
741
Dec ’22
Voice Over accessibility: UITableView
In our app, we display contacts in UITableView. Let us say I have 300 contacts in my AddressBook, and all of them will be displayed in this table. Below this table, I have a UIButton to perform some action like invite selected contacts. With Voice Over enabled, when I get to the UITableView, it doesn't let me to proceed to the UIButton, unless I go over all 300 contacts. Is there a solution to override this and make it more friendly to the visually impaired users?
2
0
3.4k
Nov ’20