Can I access my own reminders programmatically? Those who appear on https://www.icloud.com/reminders/ ?
Is CloudKit the right way to do this?
Any pointer to do it? When I read ClouKit documentation, it seems aimed at making an app with many users. I just want to access my own data.
Thanks
Selecting any option will automatically load the page
Post
Replies
Boosts
Views
Activity
I have an 120 GB encrypted sparsebundle on a USB Key. I access it via a recent mac book pro with latest os. The USB Key is a good brand, USB 3, 128 GB.
When mounting the sparsebundle from the USB Key, access to it is extremely slow.
Is it expected ? Can I do something about it (change file system ? Not use sparsebundle, but encrypt key instead - if that's possible) ?
Thanks !
I need to have data persistence between runs of my UI tests (for an iOS app). I know this might seem an anti-pattern, but I have to work with that for reasons beyond my control.
I use XCTest / XCUITest in Xcode, to run the test on an iOS app on a
real device (not a simulator). Several devices will be used, but not
simultaneously, and should start with the state the previous one
finished on.
I have explored a few options, but none work.
The simplest thing for me to have would be to save the state in a file on my mac and for this file to be modified directly by the test. However, as far as I can tell, this is not possible. The test cannot access files on the mac itself during the test, but only the files on the device.
I can have a file in the test directory on my mac, copy it (via a build copy phase) to the real device. Access it from the device, modify it. And lastly, copy it back at the end of the test to the computer. I’ve managed to do all this l, except the last phase. I have looked into XCTAttachements. The problem is that some tests can be stopped manually (via the square DONE button in xcode, and in that case "tearDown" will not be called).
Unless someone has a better idea, what is the safest, most resilient way to copy back a file from the device to the mac, at the end of each test run (regardless of success or failure)? Is there a way to intercept the calls to the square Done button?
Thanks!
When loading a network extension, I see the following error, raised by the trustd process, in the console :Entitlement com.apple.application-identifier=RUXT127L01.com.team.AppName.NetworkExtension is ignored because of invalid application signature or incorrect provisioning profile
Entitlement com.apple.security.application-groups=(
"RUXT127L01.com.team.AppName"
) is ignored because of invalid application signature or incorrect provisioning profileHowever, I believe my appGroups and bundle identifiers are correctly set in the Entitlements :com.apple.application-identifier
RUXT127L01.com.team.AppName.NetworkExtension
com.apple.developer.team-identifier
RUXT127L01
com.apple.security.application-groups
RUXT127L01.com.team.AppName
com.apple.security.get-task-allowAlso, when I run "codesign -d -vvvv" or "codesign -d --entitlements" on the systemextension, everything looks fine.Does anyone have any idea what could be off? Or any suggesting of where to look?Note that the system extension seems to work fine anyway, and allows XPC communications.
The following piece of code works all fine if I disable the sandbox, but it fails if I enable the sandbox: // Get a code reference.
var codeOpt: SecCode? = nil
var err = SecCodeCopyGuestWithAttributes(nil, [kSecGuestAttributeAudit : sourceAppAuditToken] as NSDictionary, [], &codeOpt)
guard err == errSecSuccess, let code = codeOpt else {
return nil
}
// Check the validity of the signature
var errorDescription : Unmanaged? = nil
err = SecCodeCheckValidityWithErrors(code, [], nil, &errorDescription)
guard err == errSecSuccess else {
return nil
}What entitlement do I need on the sandbox to allow this ?