Post

Replies

Boosts

Views

Activity

Code signing error when building an application with login item on xcode cloud
When building xcode project of an application with login item included/embedded (another target), locally it works without problems. But when building on xcode cloud, we are getting the error: ITMS-90286: Invalid code signing entitlements - Your application bundle’s signature contains code signing entitlements that aren’t supported on macOS. Specifically, the “XXX.***.***” value for the com.apple.application-identifier key in “Path_to_login_Item” isn’t supported. This value should be a string that starts with your Team ID, followed by a dot (“.”), followed by the bundle ID. If there are no capabilities added to the login item's target (only com.apple.security.inherit and App Sandbox), the project builds without errors. But our login item needs to access a database in app group container and sync its data with iCloud, so after adding iCloud and App Group entitlements, building on xcode cloud fails with the error written above. Locally it builds and runs without problems. So, what should be done to fix this issue when building on xcode cloud?
2
0
201
Jun ’25
NSDateFormatter MM/dd/yy problem with 2000 january 1
Am I doing something wrong or is it a bug? I am getting 21000 year when parsing 01/01/00 string to date using the "MM/dd/yy" format: NSDateFormatter *dateFormatter = [[NSDateFormatter alloc] init]; [dateFormatter setDateFormat:@"MM/dd/yy"]; NSDate *originalDate = [NSDate dateWithTimeIntervalSinceReferenceDate:-24 * 60 * 60 * 366]; NSString *jan01String = [dateFormatter stringFromDate:originalDate]; NSDate *jan01Date = [dateFormatter dateFromString:jan01String]; NSLog(@"originalDate: %@, jan01String: %@, jan01Date: %@", originalDate, jan01String, jan01Date);output:2016-07-14 15:44:49.723 NSDateFormatterTests[5414:1537640] originalDate: 2000-01-01 00:00:00 +0000, jan01String: 01/01/00, jan01Date: 12099-12-31 22:00:00 +0000
Topic: UI Frameworks SubTopic: AppKit Tags:
3
0
905
Oct ’21