Posts

Post marked as solved
1 Replies
547 Views
Hi, The last two apps I created report the same error: <CKError 0x283e221f0: "Bad Container" (1014); "Couldn't get container configuration from the server for container "iCloud.bundleID""> Since the bundleID and the iCloud container are the same text, I figure there must be something wrong in the profile or certificate. No? My other apps are working as expected. I have the entitlement checked in the identifier, identical to the apps that are working. Any idea? Thanks. Blessings, --Mark
Posted Last updated
.
Post not yet marked as solved
2 Replies
1.7k Views
Hi, The canvas shows correctly all updates to the code, but when the run button is clicked, the keyboard is not working. I have tried a new project, deleted the simulator plist in the preferences, of course, cleaned and built again. Nothing works, and it is driving me nuts. I run the code on a device or a simulator, works as expected, just not in the canvass. Thought? Thanks so much! Blessings, --Mark
Posted Last updated
.
Post not yet marked as solved
0 Replies
441 Views
Hi the Log is showing the following error after the app adds data to Core Data from a sheetView: CoreData: error: CoreData+CloudKit: -[NSCloudKitMirroringDelegate tearDown:]_block_invoke(782): <NSCloudKitMirroringDelegate: 0x28379abc0>: Told to tear down with reason: Store Removed I can't seem to find a reference to what is going on. Can someone point me in the right direction? Thanks. Blessings, --Mark
Posted Last updated
.
Post marked as solved
4 Replies
709 Views
Hi All, I am stumped. An app IO created a while ago works fine with WIFI but no longer will work with cellular data. It has never had this problem, and all the cellular and data are on. Any ideas will be greatly appreciated. Thanks. Blessings, --Mark
Posted Last updated
.
Post not yet marked as solved
1 Replies
515 Views
Hey all, I submitted a build, noticed a show stopper, canceled the review of that build, now I have been waiting for hours for the cancellation to "process." This has always been automatic before. Any clue how long this takes> I want to get the corrected build into review. Thanks. Blessings, --Mark
Posted Last updated
.
Post marked as solved
6 Replies
1.4k Views
Hi all, Can anyone tell me why the following code works perfectly when it runs the first time, or when the app reloads? It does not however change the VC background image, although I can see it step through the code. The image does load correctly when the app is swiped away and reloaded. I am stumped. Any thoughts would be much appreciated. Blessings, --Mark if CacheManager.getIsUserBackGround() { &#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9; &#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;//get a refrerence to the the documents for the app &#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;let fileManager = FileManager.default &#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;//get the path from Constants &#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;let imagePath = Constants.getImage() &#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9; &#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9; &#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;//check if not nil, and if not set the background pict &#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;if imagePath != "" { &#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;if fileManager.fileExists(atPath: imagePath!) { &#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9; &#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;DispatchQueue.main.async { &#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;let backgroundImage = UIImageView(frame: UIScreen.main.bounds) &#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;backgroundImage.image = UIImage(contentsOfFile: imagePath!)! &#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;backgroundImage.contentMode = UIView.ContentMode.scaleAspectFill &#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;self.view.insertSubview(backgroundImage, at: 0) &#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;} &#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9; &#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;}else{ &#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;DispatchQueue.main.async { &#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;print("error") &#9;&#9;//&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;Alerts.showAlert(title: "Attention", message: "A user selected image from the Photos Library has not been saved. \n \n Tap the Gear icon on the 'Lists' screen and select the 'Set background from Photos' option to save an image.", vc: self) &#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;} &#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9; &#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;} &#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;}
Posted Last updated
.