App is crashing because of instantiateViewController() and it seems to affect iOS13 users only.
let homeTabBarController = storyboard?.instantiateViewController(identifier: "home") as! HomeTabBarController
HomeTabBarController is a subclass UITabBarController.
Post
Replies
Boosts
Views
Activity
I updated my iPhone to the latest iOS15 Developer Beta 5 and noticed that the UITabBar's barTintColor is no longer working.
I am running Xcode Version 13.0 beta 4 (13A5201i). When I run on the emulator it has the correct barTintColor.
But when I run it on my iPhone (IOS15 Developer Beta 5) this is the result on my UITabBar.
But both screenshots has the same code.
tabBar.barTintColor = UIColor(red: 0.141, green: 0.165, blue: 0.216, alpha: 1)
If anyone can make sense out of this would be great.
When using Xcode's Preview or Simulator, I noticed that my M2 Air will overheat. This hasn't happened before in Ventura or Xcode 14.
I was implementing SwiftData on my app and everything works on emulator (both iOS and iPadOS). But when I try to run it on my device, it threw an error
dyld[548]: Symbol not found: _$s9SwiftData15PropertyOptionsC6uniqueACvgZ
Referenced from: <5E19B2FA-C3D5-353E-AEE7-7B31B7BE56B4> /private/var/containers/Bundle/Application/F7269758-C6E1-46DA-A6E2-8AD5EBB54CFF/MyApp.app/MyApp
Expected in: <8B52C2B3-931A-3736-B357-ECF87A41F3EB> /System/Library/Frameworks/SwiftData.framework/SwiftData
My devices are on iOS 17 Beta 6 and Xcode 15 beta 6.