Post

Replies

Boosts

Views

Created

Xcode Automatic signing fails
Hey guys, new kid on the bloc here. I'm trying to learn Xcode/swift but when I'm trying to test my app on an iPhone device I get a generic error "command CodeSign failed with a nonzero exit code". After clean build folder I get this error "The specified item could not be found in the keychain." Indeed when I look in keychain there is no certificate. It's trying to create one but fails and goes in an endless loop. Using another Apple ID to test, has no issues, it's just my main Apple ID.
2
0
769
Jan ’22
Get Tab Bar Items to load as coloured pictures and not greyed out pictures
Morning ya'll. I've designed a tab bar and managed to customise it with custom tab bar items but i can't figure out how you get the tab bar items to load in their original picture color when view is loaded. My code looks like this: class GamePage: UIViewController {     override func viewDidLoad() {         super.viewDidLoad()         tabBarItem.image = tabBarItem.image?.withRenderingMode(.alwaysOriginal)                  tabBarItem.selectedImage = tabBarItem.selectedImage?.withRenderingMode(.alwaysOriginal)              } which gives this outcome: after clicking on the tab bar items i get the desired effect, but what i want is when the app launches and the first view is loaded to have the tab bar items in color like so:
6
0
2.9k
Jan ’22