How do I run a terminal command in a Swift script? (e.g. xcodebuild)

If you would like to use command line arguments “exactly” as you would in command line (without separating all the arguments), try the following. (This answer improves off of LegoLess’s answer and can be used in Swift 5) import Foundation func shell(_ command: String) -> String { let task = Process() let pipe = Pipe() … Read more

“Too many symbol files” after successfully submitting my apps

This happens if you are including debug information of your libraries with the project archive but are not including binaries. Open the Organizer window in Xcode Right-click on an archive that had this issue and select “Show in Finder”. Right-click on the archive file and select “Show Package Contents” In the “dSYMs” folder you will … Read more

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