Posts

Post not yet marked as solved
6 Replies
0 Views
I have the same issue. After the test, I found out that the problem was I move storeURL to shared container(App group), and then fetch CoreData in widget extension In most time, the app works fine. But when I change dataModel, The problem arises。 In Debug, when I run project, CoreData migrate store automatically and there is no problem, because I'm not running widget extension at this point. In Production, when I update app from an old version, CoreDataStack container loadPersistentStores failed some time. I think both app and extension fetch sqlite file at same time case migrate failed When I remove the code from the widget that accesses coreData, the problem goes away I hope I can help others who are going through the same problem as me
Post not yet marked as solved
4 Replies
0 Views
Post marked as solved
9 Replies
0 Views
In my case, I found Xcode source control caused the problem To fix this problem Xcode -> Preferences -> Source Control uncheck Enable Source control. Then restart Xcode, everything will be fine
Post marked as solved
18 Replies
0 Views
In my case, when I update to xcode13 and iOS15。 I have found that navigationBar and tabBar turns transparent。 My viewController is embed in UINavigationController After a series of tests, I found the Settings the backgroundColor of navigationController is best Way to fix this navigationController?.view.backgroundColor = .yourColor Once the color is set, everything is fine
Post marked as solved
4 Replies
0 Views
Change section.orthogonalScrollingBehavior to continuous or other behavior, It can cause this problem, I have report this bug to apple in feedback, but there is no response yet. let section = NSCollectionLayoutSection(group: group) section.orthogonalScrollingBehavior = .continuous
Post marked as solved
4 Replies
0 Views
Sorry for misleading others. Last day I manual install .cer file and test the code。 That mad me think I had sloved the problem,when I delete .cer profile ,connect to the vpn server auto disconnected immediately。 Still need help
Post marked as solved
4 Replies
0 Views
I have solved this problem. Just set the identityReference property, hoping to help others who encounter the same problem in the future p.identityReference = try! Data(contentsOf: Bundle.main.url(forResource: "ikev2vpnca", withExtension: "cer")!)