Posts

Post marked as solved
3 Replies
I have the same issue using TestFlight. Unfortunately, setting the CKSharingSupport to "Yes" does not solve problem for me. Using iOS16.2.
Post not yet marked as solved
8 Replies
Same problem here ever since I went to Xcode 14. My MacBook 2015 freezes first then starts heating up before crashing. I usually have to hole the power button down to shut it down before it heats up too much. I have posted this before but don’t see the post here??
Post not yet marked as solved
116 Replies
I have the same issue. Does Apple look at these questions? No solution posted?
Post not yet marked as solved
3 Replies
Same issue using MFMailComposeViewController. Message is sent successfully.
Post not yet marked as solved
14 Replies
I have the same issue but with either non-comsumable or subscription when trying to restore products. I have been through Apples sample code here - https://developer.apple.com/documentation/storekit/in-app_purchase/offering_completing_and_restoring_in-app_purchases . This sample project works fine except when restoring it only identifies the original purchase, so if there is an upgrade in the subscription it cannot be restored. I can only get one transaction out of it which contains the latest transaction number, latest transaction date, original purchased item ID and original purchase date (nothing in between). I am simulating it on xcode StoreKit only. Any help would be appreciated. I can't get the app on the store without a Restore button.
Post not yet marked as solved
1 Replies
It turns out that the errors were related to a class setup for view with gradient background. The class which seems to be unstable in the current xcode was as follows: import UIKit @IBDesignable class GradientView: UIView {   @IBInspectable var FirstColor: UIColor = UIColor.clear {     didSet{     updateView()     }}   @IBInspectable var SecondColor: UIColor = UIColor.clear {     didSet{       updateView()     }}     override class var layerClass: AnyClass {     get {       return CAGradientLayer.self     }   }   override func awakeFromNib() {     super.awakeFromNib()     self.layer.cornerRadius = 12     self.clipsToBounds = true     self.layer.borderWidth = 0.5  }   func updateView() {     let layer = self.layer as! CAGradientLayer     layer.colors = [FirstColor.cgColor, SecondColor.cgColor]     layer.startPoint = CGPoint(x:0.5,y:1.0)     layer.endPoint = CGPoint(x:0.5,y:0.0)   } } Using a different method for a gradient view class works fine. There seem to be many other issues with displaying storyboard graphics from the previous version of xcode, but none that produce errors, only lack of defintion of the view controllers... The gradient view class that worked is as follows: class viewGradient: UIView {   override func awakeFromNib() {     super.awakeFromNib()     let gradientLayer = CAGradientLayer()     gradientLayer.frame = self.bounds     gradientLayer.colors = [UIColor.white.cgColor,UIColor.lightGray.cgColor,UIColor.systemTeal.cgColor]     self.layer.insertSublayer(gradientLayer, at: 0)   }   }