Post not yet marked as solved
I am running the WWDC21 sample application "CoreDataCloudkitDemo" with two different Apple IDs to test the Cloudkit sharing feature.
I use two simulators and one real device, where the latter has the same ID as one of the simulators.
While creating invites via "Copy link" works on all three installations, accepting invites only works on the real device.
Trying to open an invite (by copying the link in the one and pasting it into Safari in the other) always results in a web page stating that "iCloud has stopped responding" and "Unable to find applicationIdentifier for the containerId = [my ID] and fileExtension = undefined".
Is this a simulator bug in Xcode 13.2 or is there anything I can do about it?
Other iCloud features (including login via Safari to icloud.com) work in both simulators.
Is there a way to open invite URLs in a simulator (as there is no functioning iMessage or Mail app) other than Safari's URL input field? Doing so does not work in the real device either, but clicking it in e.g. iMessage works.
Edit: Pasting the link into a ToDo item and opening it from there works even in the simulator - so is it just a Safari issue?
Post not yet marked as solved
I am building iOS apps that use Bluetooth LE via CoreBluetooth and make calls over ATS/HTTPS, both of which make use of encryption, which requires a declaration in AppStoreConnect. AppStoreConect then links to this document:https://help.apple.com/app-store-connect/#/devc3f64248fwhich states that for ATS/HTTPS or "encryption limited to that within the Apple operating system" (the latter should be applicable for Bluetooth), "No documentation required in App Store Connect.", but I should "Submit a Self Classification Report to the U.S. Bureau of Industry and Security (BIS) directly."So I end up with "App Uses Non-Exempt Encryption : No" and tried to create such a report, which basically consists of a simple spreadsheet listing some product details, but now I am totally lost trying to figure out what to use for these three colums, in particular the first one:ECCNAUTHORIZATION TYPEITEM TYPEThere are documents that discuss possible values for these entries, but they are harder to decypher than the crypto in question here...😕Is there a simple table or official statement which tells what to use for the very basic case of an app that is exclusively using HTTPS and other built-in crypto, such as Bluetooth, Wifi, etc.? Has anyone ever figured out the proper entries for this common case?
When working with a table view controller, an unnamed section is generated by the NSFetchedResultsController for those items in my CoreData model that lack a certain relationship ('belongsToCategory').In fact, this is almost exactly the behavior I want - I would rather use a special name instead of an empty one, but I can easily rename the empty section name on the fly in tableView(_:titleForHeaderInSection:).But how do I get rid of the error message in the log in the first place? CoreData: error: (NSFetchedResultsController) A section returned nil value for section name key path 'belongsToCategory.name'. Objects will be placed in unnamed sectionCan I override some method or anything in order to return a default name if the relationship is not set?
Post not yet marked as solved
Correct me if I am wrong, but the only working way to set custom row heights appears to be implementing this method in the table view controller:override func tableView(_ tableView: UITableView, heightForRowAt indexPath: IndexPath) -> CGFloat{
return 123.4 // custom height
}Now here's a chicken-and-egg problem:I want to set custom row heights in the storyboard designer / interface builder. I can successfully retrieve these height values from the static cells in the viewDidLoad method if I wire them to some IBOutlet. But I cannot access the indexPath for the cells at this point, making it impossible to set up a table with indexPaths and associated heights.On the other hand, inside "heightForRowAt indexPath" I have (at least initially, for the the very first drawing of the table) no access to the cells (they do not exist in the table, yet), i.e. I cannot read their custom height - all that I have are the indexPaths. I could read them from a pre-built table, but see above: there is no way to build such a table.Is there really no other way than to hard code index paths and associated heights in "heightForRowAt indexPath"? If so, then what is the point of graphically designing the height if it is completely unusable? Or what am I doing wrong?