developer resources
Codebales holds an ever growing number of solutions to problems that we have experienced in our day to day code writing
Selected filter
131
results
Andrew Fletcher
•
Today while in Terminal, I ran a regular script pod update. However, this time I received the following error
[!] CDN: trunk URL couldn't be downloaded: https://raw.githubusercontent.com/CocoaPods/Specs/master/Specs/d/a/2/Alamofire/5.1.0/Alamofire.podspec.json Response: Timeout was reachedI read on GitHub that it could be a cache issue, so I ran:
sudo rm -rf ~/.cocoapods/repoNo change.
Instead of attempting a pod update, I changed the command to pod install. Worked a treat....
Andrew Fletcher
•
How to apply a gradient tint over a background image?
Set the background...
Andrew Fletcher
•
To copy the content of a directory /source to another existing directory...
Andrew Fletcher
•
First transfer the drupal-8.8.x.tar.gz file to your directory
Via your ssh...
Andrew Fletcher
•
To get your ip address in Terminal on OSX on WIFI
ipconfig getifaddr en0Whereas...
Andrew Fletcher
•
Working on formatting the date in Xcode, and you come across the situation where you need to check or test the date format. NSDateFormatter is a great site to check your date format string. I wanted to transform the 2019-08-15 10:34:49+1000 to Aug 15, 12:34 AM.
let dateFormatter = DateFormatter()
dateFormatter.dateFormat = "MMM d, h:mm a"
let dateFormatted = dateFormatter.string(from: run.timestamp!)dateFormatted prints Aug 15, 12:34...
Andrew Fletcher
•
Adding a floating decimal point for n number of places is quite easy to achieve....
Andrew Fletcher
•
To create a .pem file, is quick once you have your .p12 certificate. I...
Andrew Fletcher
•
During the process of building the app, there are warnings about the code....
Andrew Fletcher
•
https://github.com/kylebrowning/waterwheel.swift
After a short amount searching...
Andrew Fletcher
•
If you have this error, the core issue is the dyld issue.
dyld
dyld is a shared library (dylib).
The error is a product where the library path cannot be found at run time. Most likely you have installed a framework to your project and there is an issue in the standard location (such as /Library/Frameworks) on your build and the framework that you have added.
When I had this issue, I researched and researched but found no solutions for my issue. So I reviewed...