UnicodeDecodeError: ‘ascii’ codec can’t decode byte 0xe5 in position 0: ordinal not in range(128)
AttributeError: ‘module’ object has no attribute ‘setdefaultencoding’
1 | import sys |
UnicodeDecodeError: ‘ascii’ codec can’t decode byte 0xe5 in position 0: ordinal not in range(128)
AttributeError: ‘module’ object has no attribute ‘setdefaultencoding’
1 | import sys |
/usr/lib/libauto.dylib: mach-o, but not built for iOS simulator
1 | sudo mkdir '/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 9.3.simruntime/Contents/Resources/RuntimeRoot/usr/lib/swift' |
https://developer.apple.com/documentation/xcode\_release\_notes/xcode\_10\_2\_1\_release_notes
1 | itunes auth |
1 | brew update |
1 | ./autogen.sh: line 6: libtoolize: command not found |
raspberry locale: Cannot set LC_CTYPE to default locale: No such file or directory
1 | Edit /etc/locale.gen and uncomment the line with en_US.UTF-8 |
usbmux debug
1 | sudo mv /var/run/usbmuxd /var/run/usbmux_real |
pyenv
1 | pyenv |
swift Localizable strings
1 | #fastlane |
Swift build time optimizations
1 , Nil Coalescing Operator
2 ,ArrayOfStuff + [Stuff]
3, Ternary operator
4, Casting CGFloat to CGFloat
5, Round()
https://github.com/RobertGummesson/BuildTimeAnalyzer-for-Xcode
https://medium.com/@RobertGummesson/regarding-swift-build-time-optimizations-fc92cdd91e31?
http://hyyy.me/2016/12/01/SwfitCompileTimeSpeedingUp/