Command CompileSwiftSources failed with a nonzero exit code XCode 13

I had this problem surface in Xcode 13.0. Mohamed Tarek‘s solution worked for me, but… I was using cocoapods, so I needed a solution not blown away by pod install; or more specifically fixed with pod install. Adding the following to the bottom of the Podfile resolved it. post_install do |installer| installer.pods_project.targets.each do |target| target.build_configurations.each … Read more

Where is Info.plist in Xcode 13? (missing, not inside project navigator)

It’s a “feature.” You don’t need it anymore. From the Release Notes: Projects created from several templates no longer require configuration files such as entitlements and Info.plist files. Configure common fields in the target’s Info tab, and build settings in the project editor. These files are added to the project when additional fields are used. … Read more

Xcode 13.3 beta 3: “swift package init” shows warning: “~/Library/org.swift.swiftpm/collections.json has been deprecated” but dunno how to use new one

I faced this problem after I installed Xcode 14.0. Deleting org.swift.swiftpm worked for me: Make sure that anything related to SPM is not running including Xcode. Close them all before you delete anything. Go to directory and delete the entire org.swift.swiftpm directory (Not only collection directory, but the whole org.swift.swiftpm directory) and if there is … Read more

iOS 15 Navigation Bar Transparent

To use your own colour scheme, use the following: Swift // White non-transucent navigatio bar, supports dark appearance if #available(iOS 15, *) { let appearance = UINavigationBarAppearance() appearance.configureWithOpaqueBackground() UINavigationBar.appearance().standardAppearance = appearance UINavigationBar.appearance().scrollEdgeAppearance = appearance } Objective-c if (@available(iOS 15.0, *)) { UINavigationBarAppearance *navBarAppearance = [[UINavigationBarAppearance alloc] init]; navBarAppearance.backgroundColor = [UIColor redColor]; [navBarAppearance configureWithOpaqueBackground]; [UINavigationBar appearance].standardAppearance … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)