Posts

Sort by:
Post not yet marked as solved
0 Replies
11 Views
Hi I have an App that uses SwiftData + CloudKit as a private database to sync across users' devices. Is there a way to enable sharing and collaboration capabilities with other users by using Cloudkit + CoreData? To reduce the complexity of the Shared Object Graph, I envision treating the object graph as an Object (Document). In this way, the cloud's implementation of the sharing DB is simplified. The App will take care of the integrity and security of the document. Ideally, I would love this capability in a multi-peer-to-peer local network, but I have yet to find a Conflict-free Replicated Document library to use. In summary, I want to use SwiftData for the CRUD operations in the data objects running in the local App and treat the Object Graph as a document for sharing with other users. Any guidance or any code examples will be appreciated. Thank you!
Posted
by
Post not yet marked as solved
0 Replies
14 Views
Hi, Has anyone found a way to send a push notification based on beacon region entry/exit? Since iOS 17, CLBeacionRegion which inherits CLRegion that made this possible is now deprecated and replaced by CLMonitor.CLBeaconIdentityCondition. CLMonitor.CLBeaconIdentityCondition does not only work properly on the latest version of iOS, it also lacks such features like sending push notifications based on region entry/exit. Even UNLocationNotificationTrigger only accepts CLRegion which is not possible to create one using existing classes that are not deprecated.
Posted
by
Post not yet marked as solved
0 Replies
18 Views
in Swift languange, CVMetalTextureCacheCreateTextureFromImage return CVMetalTexture, and CVMetalTexture is Swift class, so. it doesn't need to call CVBufferRelease manually. My question is : should I use a variable to keep strong reference until GPU finished (until addCompleteHandler callback ) ? cvmetaltexturecachecreatetexture
Posted
by
Post not yet marked as solved
0 Replies
14 Views
I have not tested on the lower version but it seems like it is not functioning properly on iOS 17.4. It does work with CircularGeographicCondition but not with BeaconIdentityCondition. I am testing with this example code by Apple. I have typed proper UUID of my iBeacon device but it is never discovered. Some other posts say that it has not been working since iOS 17.3.1. Anyone having the same issue with me?
Posted
by
Post not yet marked as solved
0 Replies
18 Views
Adding a second "DocumentGroup" to a document based SwiftUI auto converts the "New" menu item into a submenu, with one item "New Document". I'd like to add a second item to that submenu, to create a new instance of my second doc type. Googling around finds one solution, but that doesn't work as I'd expect it to with Ventura 13.6.5 and Xcode 15.2. The solution linked to below, adds a menuitem under the "Open Recent" menu, not in the "New" submenu. https://github.com/Asperi-Demo/4SwiftUI/blob/master/Answers/Handle_different_document_types.md Changing the position to "before", also doesn't add it to the menu, and if you replace ".newItem", you then have to manually handle the Open dialog and the Open Recent menu. So what am I missing?
Posted
by
Post not yet marked as solved
0 Replies
21 Views
Hello, I have uploaded a new version 1.1.5 of my mac apple store desktop app using the MacOS Transporter program. The app was uploaded successfully, except with a warning message: "Cannot be used with TestFlight because the signature for the bundle at “RenderTune.app” is missing an application identifier but has an application identifier in the provisioning profile for the bundle. Bundles with application identifiers in the provisioning profile are expected to have the same identifier signed into the bundle in order to be eligible for TestFlight." (90886) However when I browse my builds, there is no version for 1.1.5 that I can delete. So is there anyway I can upload and publish version 1.1.5 or is it forever lost? I can't just skip versions, I need to be able to increment by one and release version 1.1.5. But transporter won't let me.
Posted
by
Post not yet marked as solved
0 Replies
26 Views
I found this older post, which modifies the cursor size via AppleScript. I managed to update it to work in Ventura and Sonoma, but only in a kludgy manner. Here's the working code: set theSystemVersion to system version of (system info) tell application "System Settings" reveal anchor "AX_CURSOR_SIZE" of pane id "com.apple.Accessibility-Settings.extension" delay 1.0 tell application "System Events" if (text 1 thru 2 of theSystemVersion) is "13" then set contentView to group 2 of scroll area 1 of group 1 of group 2 of splitter group 1 of group 1 of window "Display" of application process "System Settings" else set contentView to group 3 of scroll area 1 of group 1 of list 2 of splitter group 1 of list 1 of window "Display" of application process "System Settings" end if set theSlider to slider 1 of contentView set stash to value of theSlider if value of theSlider is 1.0 then --set value of theSlider to 4.0 repeat while value of theSlider is less than 4 increment theSlider end repeat say "Big Mouse" using "Ralph" else --set value of theSlider to 1.0 repeat while value of theSlider is greater than 1 decrement theSlider end repeat say "Tiny Mouse" using "Ralph" end if stash end tell end tell The problem is the two commented out lines: In the original post, those commands work to set the slider to an exact value. In Ventura and Sonoma, they do nothing at all—no errors, just nothing. The script runs fine, but it won't change the cursor size. The only way I got it to work is via the method you see here—repeatedly incrementing or decrementing the value of theSlider until it was either 4 or 1. (The setting of 'stash' seems completely unnecessary, but I left it there anyway.) Does anyone know why the command to set a specific slider value is failing? I'd like to be able to set it in one pass, as this method is slow and ugly. thanks!
Posted
by
Post not yet marked as solved
0 Replies
41 Views
I'm trying to do something so seemingly basic, yet I can't get it to work and I'm flummoxed. In a basic, vanilla SwiftUI app for tvOS, embed a single Text element with a very long string (hundreds of lines) in it: struct ContentView: View { var body: some View { ScrollView(.vertical) { Text(veryLargeString) .focusable() } } } Then fire up the app on tvOS, and it will not scroll. No matter what I do. Pressing arrow keys, swiping fast with my thumb, and nothing. It will not move. Ironically, in the Xcode SwiftUI Preview window—it does scroll, so that's always a fun tease. What I do know is that the focus engine is throwing a few errors, so it's leading me to believe the issue is with how I have the focusable element attached. I'm using a combination of -UIFocusLoggingEnabled YES as well as listening for UIFocusSystem.movementDidFailNotification. Unfortunately since this is SwiftUI, the notification failure and debugging logs aren't really all that actionable. Help appreciated!
Posted
by
Post not yet marked as solved
0 Replies
33 Views
With today's 3-18-24 announcement by Nvidia at GTC24, that Omniverse can be streamed to the Vision Pro... does anyone know when it will be available in the VisionOS App Store? i.e., a native app for the Vision Pro. NOTE: There currently only appears to be an OV iPad app available.
Posted
by
Post not yet marked as solved
0 Replies
26 Views
In the process of accessing DEXT by applications, for the sake of simplicity in configuration, I used com.apple.developer.driverkit.allow-any-userclient-access in DEXT. However, for the sake of security in DEXT, I want to identify applications within DEXT and restrict access only to applications developed by my own team. How can this be implemented? Are there any APIs in DEXT that can be used to obtain information about applications for identification purposes? Thanks!
Posted
by
Post not yet marked as solved
0 Replies
53 Views
Hello, I’ve got some questions about the privacy manifest. On March 18, we built our company's app with Xcode 14, submitted it for review, and it passed. However, we did not make any adjustments for the privacy manifest and yet did not receive any related emails. Our app utilizes APIs like UserDefaults and file stamps. We've got permission from our users to use tracking, so we turned on Xcode15 instruments to check the network, but there were no faults identified in the points of interest. It looks like we’re engaged in tracking activities, possibly with tools like Firebase. Can someone who knows about this please give me an answer?
Posted
by
Post not yet marked as solved
0 Replies
32 Views
Hello Everyone, I have published my app few months back . The app does not show up in search when I search with the app name . It's a social media app and i provided the right key words . FYI- But when I search the app with combining the company name and app name it shows up. I am in contact with apple support for last 1 month and all the time , i get the an answer that the engineers are woking on it. They even suggested me to include the app name in the Key words, which I did , but no results. Today the supervisor suggests that support team might not be able to do much and I have to revisit my settings. I don't know what else to change other than the key words. . He also highlighted that since Language EN was chosen and the my app name is not an english word, could be also the reason for it not showing up in the search. Can someone please help to provide a solution to this.
Posted
by
Post not yet marked as solved
1 Replies
42 Views
With SCNetworkReachabilityCreateWithAddress now depreciated I'm having to use NWPathMonitor to determine if I have a good connection to access some HTML and JSON files. I have this working just fine if the network connection is down but if the network connection comes back up it detects an event but still shows the status as unsatisfied. I can't seem to capture or pickup that when I've got a good connection again so I can proceed with the right status. Here is my current code. Any suggestions would be appreciated: import Network import Combine class NetworkStatus: ObservableObject { static let shared = NetworkStatus() private var monitor: NWPathMonitor? private var queue = DispatchQueue(label: "NetworkMonitor") @Published var isConnected: Bool = false private init() { monitor = NWPathMonitor() startMonitoring() } deinit { stopMonitoring() } func startMonitoring() { monitor?.pathUpdateHandler = { [weak self] path in DispatchQueue.main.async { let status = path.status == .satisfied self?.isConnected = status print(">>> \(path.status)") } } monitor?.start(queue: queue) } func stopMonitoring() { monitor?.cancel() monitor = nil } }
Posted
by
Post not yet marked as solved
1 Replies
37 Views
Hi all, I deployed a static site and two of my imgs are not appearing on some iPhones. It's not showing up on my iPhone 15 Pro but it's appearing on an iPhoneSE and androids. When I long click them, they actually show up in preview and can even open the images in a different tab, so they're just transparent. Does anyone have any idea why this is happening?
Posted
by
Post not yet marked as solved
0 Replies
32 Views
Hi everyone, I can't select pricing and countries countries and prices come up as not found I have tried in many different browsers but I keep getting the same error
Posted
by
Post not yet marked as solved
0 Replies
26 Views
Many unique app names are taken by apps that are not on the App Store. It would be nice if Apple could provide a convenient way to forward requests to the developers of those apps to remove or rename their app. This could appear in a developer's App Store Connect page as a notification on the unreleased app.
Posted
by

TestFlight Public Links

Get Started

Pinned Posts

Categories

See all