2,723 questions
2
votes
1
answer
64
views
Saving password in passwords app is NOT working if I have password and confirm password textfield Swift IOS 26
I am implementing a "save password" feature on sign up, where I have 3 text fields: Username, password and confirm password.
My problem is if I remove "confirm password" text field,...
1
vote
1
answer
63
views
How to send sms in python from icloud account to koodo texto msg.koodomobile.com
it is possible to send email as plain text from python code to mms koodomobile?
Here is an example, it doesn’t return me any errror like it is working, if I try an normal hotmail adress to the sender ...
2
votes
1
answer
75
views
SwiftUI iCloud Drive app folder not showing in Files app
I’m building a SwiftUI app that integrates with iCloud Drive. The goal is for the app’s Documents folder to appear in the user’s iCloud Drive, just like other apps that expose their folders.
I have ...
0
votes
0
answers
80
views
"Invalid bundle ID for container" error when using multiple bundle identifiers for Debug and Release builds
Background:
My app successfully uses CloudKit syncing, and syncing works reliably in general.
I'm using multiple .xcconfig files to distinguish between Debug and Release builds.
These define ...
0
votes
1
answer
122
views
The folder “iCloud Drive” can’t be opened
This is copied from Reddit, but I have a feeling this is a more suitable place to ask.
................
I started copying a very large folder to iCloud using Carbon Copy Cloner on my M4 Mac Mini and ...
0
votes
0
answers
57
views
trying to get events from icloud calendar using java/com.github.caldav4j
Using Java, I am trying to use com.github.caldav4j to download events from my iCloud calendar.
Using caldav4j i am successfully getting the principal_url and got a list of calendars and got the ...
0
votes
1
answer
119
views
Avoid duplicate CKRecords when syncing SwiftData with CloudKit
The app I'm working on aims to show its users one unique Item per day. The Item has an associated ItemText and ItemImage. All Items are created when the user installs the app (see the create() ...
0
votes
0
answers
63
views
SwiftData Migration Plan for deleting a Model no longer need, iCloud Sync is enabled
I don't know how do I write a migration plan for this if it's required, is this a lightweight migration or a complex migration
@Model
class ParkModel {
var items: [String]?
init(items: [...
1
vote
1
answer
125
views
What is a ubiquity container in iCloud Documents storage?
I have an app that stores user created JSON files successfully saving and loading to the local application documents directory. This directory is visible to the user. I would like to allow the user to ...
2
votes
0
answers
43
views
Check if Desktop/Documents are synched to iCloud
How do I check if the Desktop/Documents folders are synched to iCloud on macOS?
My application writes large databases files. When Desktop/Documents are synched to iCloud writing to the database ...
0
votes
0
answers
59
views
Apple Sign-In Callback Not Triggering - "PayloadTooLargeError: request entity too large" in Node.js
I am implementing Sign in with Apple in my Node.js application, but the callback function is not being triggered after entering credentials. Instead, I receive the following error:
...
0
votes
0
answers
51
views
Share iCloud Drive folder with Swift
Is it possible to programmatically create a shared iCloud Drive folder and then generate a link for external users to access it?
For instance, myApp utilizes iCloud Drive for storing certain files. ...
1
vote
1
answer
59
views
List view is not updating when iCloud is activated
The following code is working perfectly fine when iCloud is deactivated.
A meeting object is saved to the DB and the list on ContentView is updated properly.
But when I activate iCloud the list is not ...
0
votes
1
answer
238
views
Considerations for iCloud Drive/iCloud Support in Flutter Apps
I've been doing some research on setting up and enabling iCloud Drive or iCloud backup of user files in my Flutter app. The idea is that the user, with iCloud enabled, can switch to another device and ...
0
votes
0
answers
158
views
MacOS: trying to load evicted file from launch'd shell script, leading to resource deadlock error
On MacOS Sonoma (14.5) with iCloud synchronization switched on, I am trying to access or load a file in a (bash) shell script. Simply via:
cat DSC_0001.jpg >/dev/null
(Note that this simple line ...
1
vote
0
answers
48
views
Why is data not encrypted on icloud.developer.apple.com when i am using encrypted field
Here is my sample code of integration with iCloud
let dbName = "GroceryItem1"
let fieldName = "todoTitle1"
@objc func saveItem(name: String) {
let record = CKRecord(...
0
votes
0
answers
48
views
Email form getting randomly submitted by some weird Cloudflare caching?
I have a bizarre situation that my team and I haven't been able to put our finger on. I have a DNN-based website. I have a custom module that acts as a simple contact form. This contact form module ...
0
votes
0
answers
256
views
How to Create a New Folder in iCloud Documents Inside My App Name in Swift/SwiftUI?
I want to create a new folder in iCloud Documents inside my app's folder. I used the following code, and I have added iCloud from Xcode's Signing & Capabilities. However, I am getting the ...
2
votes
0
answers
62
views
CKUserIdentity `nameComponents` is Empty
My App requires that the user has and allows iCloud access. With that access I expect to be able to access the users name. Yet, the following code produces an empty nameComponents result from ...
1
vote
1
answer
238
views
Why isn't SwiftData updating the items in a ForEach loop when synced with iCloud but it does if just used with a List
I have an app that uses SwiftData which is set to be synced with iCloud.
When I run the app in the simulator and on an actual device simultaneously and then amend the customer name on the simulator ...
1
vote
1
answer
292
views
How to upload a file to iCloud in iOS .NET MAUI?
I have a project on iOS that you can visualize, download pdf from a service and I would like them to be uploaded and saved in a folder, that can be created, but I don't have much idea how to ...
0
votes
1
answer
158
views
API available to Swift that provides the Apple ID associated with the current macOS user?
Is there any API available to Swift that provides the name (which should be an email address, AFAIK) of the Apple ID associated with the current macOS user?
The following command line seems to provide ...
1
vote
0
answers
474
views
Improving iCloud Sync Speed for SwiftData in iOS and watchOS Apps
I'm developing an iOS app (for iPhone and iPad) with a watchOS companion app using SwiftData and iCloud. I've set up the following:
SwiftData model with optional/default parameters
iCloud capability ...
0
votes
1
answer
104
views
Does the Apple CloudKit dashboard only show developer data?
I am creating an iOS app.
I saved the data using Realm, but I found CloudKit while I was looking into it because I thought there were many inconveniences with the backup.
I understand that CloudKit ...
2
votes
1
answer
683
views
Fatal error: 'try!' expression unexpectedly raised an error: SwiftData.SwiftDataError(_error: SwiftData.SwiftDataError._Error.loadIssueModelContainer)
I'm getting this error:
Fatal error: 'try!' expression unexpectedly raised an error: SwiftData.SwiftDataError(_error: SwiftData.SwiftDataError._Error.loadIssueModelContainer)
I'm able to reproduce ...
0
votes
1
answer
86
views
How can we reliably detect when a user runs out of iCloud storage?
I am using NSPersistentCloudKitContainer, to integrate CoreData with CloudKit.
What I want to achieve is to prompt the user to go to iCloud settings to manage their storage when there is a sync error, ...
0
votes
1
answer
210
views
Local Core Data Backup/Restore iCloud conflict “ Told to tear down with reason: Stores Changed”
I have a backup / restore function for Core Data defined like this:
import CoreData
import FirebaseCrashlytics
import Foundation
extension NSPersistentCloudKitContainer {
enum ...
0
votes
0
answers
188
views
Fatal: bad object refs/heads/main 2 error: https://github.com/xxx did not send all necessary objects
I am using windows 11 (64 bits), on a galaxy book2 360, Texstudio and Gihub. I am cloning the github repository on my cloud. It works for one day and suddenly I receive the message in the title. ...
0
votes
1
answer
27
views
Error adding private sharing PCS to public sharing PCS for share
I am attempting to use the open ai image API and send images. Unfortunately, they don't let you send image data directly, instead, you have to save and share the image to the cloud, and send their ...
1
vote
0
answers
43
views
App memory (documents & data) increases every single call to iCloud?
i have an issue where my application's 'documents & data' increases every call to icloud for my "countries" objects. I have simplified the entire process down to the block of code below ...
2
votes
1
answer
644
views
iOS: What does the "Document Storage" setting actually mean for my app? How do I honour it?
I have an app that is successfully storing documents such that they show up in the user's iCloud Drive folder and are synced across devices. I can see my app's folder in the Files app under iCloud ...
2
votes
0
answers
134
views
Xcode doesn't match the entitlement com.apple.developer.ubiquity-kvstore-identifier
Hi I'm also having similar problem with this issue. I found that the Apple website said to "Update your entitlements plist with the full KVS value in your provisioning profile." https://...
0
votes
1
answer
2k
views
How do I access iCloud mail programmatically using Python?
I am working on a Python application where I need to access and retrieve emails from iCloud mail. From some searching there doesn't seem to be any official API provided by iCloud. Is there some other ...
1
vote
0
answers
114
views
SwiftData synced to iCloud with one-to-many relationship between 2 models results in a crash when each model contains a reference to the other [duplicate]
I’m having an issue when two of my SwiftData models have a one-to-many relationship and I have them synced via CloudKit.
To be clear, I’ve met all of the requirements to make it iCloud friendly and ...
-2
votes
1
answer
1k
views
How to sync sqlite database with iCloud?
I have searched weeks and found a lot similar questions, but they are all a few years ago. I don't know if it can work in now days.
I have a sqlite file in app group container, and I wanna sync it ...
2
votes
0
answers
2k
views
Accessing iCloud Calendar API from a NodeJS server
I am trying to build an app (JavaScript) to confirm the appointments of a doctor automatically by reading the iCloud Calendar events from a specific day and then confirming such appointments.
I have ...
0
votes
0
answers
63
views
VBA how to event handle ItemAdd & ItemChange both (in Outlook Calendar) for iCloud Calendar folder
This question is based on the StackOverflow question VBA how to event handle ItemAdd & ItemChange both (for Outlook 2016 Calendar)?.
That question asks how to display a msgbox every time a new ...
0
votes
1
answer
41
views
Understand different servers (v50, v95) in CloudKit Latency Telemetry
I'm migrating to CloudKit from Firebase, the database isn't in production yet. Trying to improve the asset downloading speed I opened Telemetry, and under Latency i found this data:
12/31/2023, 8:00:...
0
votes
1
answer
69
views
Can an iOS app collect and merge data from multiple Apple IDs using iCloud?
I am writing an iOS app whose primary benefit will require collecting user app experience data over many (10 to 10,000) different users, each with their own Apple ID account (Think something like Waze ...
1
vote
0
answers
48
views
Downloading from iCloud, files truncated, fine from other sources
I'm using this code which is a mildly doctored version of an online tutorial. I understand the parts, but when I run it, the downloads happen, I get an error-free completion message. But the resulting ...
5
votes
1
answer
572
views
Selecting which data models sync with iCloud SwiftData
So I am trying to sync only some of my Models with iCloud and others kept locally in the default.store. I am having a world of issues so before I start looking for the needle in my haystack. I would ...
0
votes
0
answers
90
views
iCloud is disabled for my iOS app but for share extension iCloud is enabled
I'm testing disabling iCloud for my app (https://support.apple.com/en-gb/HT207689) and it's disabled in my main app but when I use the share extension it's always enabled. I would think that disabling ...
2
votes
0
answers
364
views
Move airdropped file from iCloud Downloads folder to our own app's folder
in order to update the firmware of embedded device through my app, I need to airdrop the xml firmware file from my mac to my app which can be built in iPad and iPhone.
After receiving the file, under ...
1
vote
0
answers
295
views
How to request permission for Cloukit container in IOS 17?
I have some boilerplate code for when I'm working with iCloud. But recently with the IOS update many functions I've used are depreciated. Xcode tells me to read the "Sharing CloudKit Data with ...
1
vote
0
answers
332
views
Display iCloud sync status to user
I am using Core Data and iCloud sync setup with NSPersistentCloudKitContainer. When the user opens the app on a second device for the first time, it takes some time before the iCloud fetches all the ...
0
votes
0
answers
34
views
How to run release code instead of debug?
I have an app which uses iCloud on VisionOS and it correctly accesses the debug iCloud folders but cannot see my real iCloud folder.
I have logged into iCloud on the sim and can open the folder from ...
4
votes
0
answers
852
views
How to get Flutter app to be available for iCloud backup
I'm building a mobile app with flutter that uses Hive to save user data. I'd like my iOS app to back up all this data in the user's iCloud backup. I have my app published and running on a real device. ...
0
votes
1
answer
1k
views
iOS 17.0, Sign in with Apple, Error Domain=AKAuthenticationError Code=-7091 "(null)" and error 1000
In my app I am Signing in with Apple which works just fine.
Checklist:
Sign in with Apple capabilities added for both Debug and Release.
Please note that some of these are also configured for ...
0
votes
0
answers
1k
views
How to scrape iMessages in Python?
Recently, I've tried completing a project that involves sending a message from my iPhone to my Macbook. This by taking usage of the new shortuts feature on iPhone. (Note that my MacBook has to be able ...
0
votes
0
answers
97
views
iCloud container name is not displayed proper in development App
In the application iCloud integration but in the container, it displays the name of the bundle that owns the container.
Configuration iCloud capability from developer account
Enable iCloud ...