Coding with Titans

so breaking things happens constantly, but never on purpose

HowTo: Find and mark all FIXME / TODO in Xcode project

This time it won’t be a guide I came up myself from scratch. Recently I joined a totally new Swift project and wanted to quickly understand, what it does. Then I had an idea of navigating and finding issues, that were left there by my fellow previous developers. Those specially marked lines are usually left there and aren’t meant to be brought to light. Mentally they can be ignored for years by their creators. Read more →

Binary XCFramework

During WWDC2019 Apple introduced a new binary package, that AAaaaaaaaaaaa Now, new version of Swift Package Manager can distribute those binary packages. Video and internationalized https://medium.com/@anuragajwani/how-to-build-universal-ios-frameworks-using-xcframeworks-4c2790cfa623 https://www.appcoda.com/xcframework/ https://instabug.com/blog/ios-binary-framework/ https://medium.com/@anuragajwani/how-to-distribute-compiled-universal-ios-xcframeworks-using-swift-package-manager-8eaf8395985f https://medium.com/@anuragajwani/how-to-build-universal-ios-static-libraries-using-xcframework-a3f70f998c38 https://medium.com/onfido-tech/distributing-compiled-swift-frameworks-via-cocoapods-8cb67a584d57 Creating XCFramework using SwiftPM is impossible today. https://github.com/apple/swift-package-manager/blob/main/Documentation/Usage.md @obj for non NSObject child classes is supported only from iOS 13.0+ –> https://forums.swift.org/t/xcframework-requires-to-target-ios-13-for-inter-framework-dependencies-with-objective-c-compatibility-tested-with-xcode-11-beta-7/28539 Issue with Realm + Obj-C cooperation –> https://github.com/realm/realm-cocoa/issues/3073 Looking for a good guide about using Swift Packages Manager and examples with Xcode - take a look here. Read more →

Flutter for iOS and Push Notifications warning

After publishing a Flutter app to App Store I received following email: Dear Developer, We identified one or more issues with a recent delivery for your app, "pl.codetitans.app" 1.2.3 (4). Your delivery was successful, but you may wish to correct the following issues in your next delivery: ITMS-90078: Missing Push Notification Entitlement - Your app appears to register with the Apple Push Notification service, but the app signature's entitlements do not include the 'aps-environment' entitlement. Read more →

MacBook Pro Late 2011 new charger

That’s right, it’s late 2020 and my kids inherited and are very happy to still use this little gem - MacBook Pro from 2011. This equipment has it’s own history as I did upgraded it several times during its lifetime by installing Windows 10 on it, placing more RAM, fixing keyboard issues and even inserting 2nd SSD (instead of the optical DVD drive). But as times fly, there are materials that didn’t age nicely. Read more →

macOS privileges on USB drive

Ever since I bought a MacMini 2014 I was dreaming of using it as NAS in my home network. It could potentially serve as well as GitHub.com or GitLab.com build agent or maybe as a TeamCity server, but basic things first. What I needed at the beginning was more space! And I am not talking just about a bit of it, what I had in mind was a huge room to store my personal images, MP3s, yet eBooks and audioBooks collections or art assets purchased on HumbleBundle. Read more →

Fix keyboard in Windows 10 on MacBook Pro (Early 2011)

Due to corona-virus pandemic my kids stayed at home and started distance learning. I was already practicing remote work from longer period and their appearance came as unfunny disturbance. They started occupying my critical devices each morning just to check if something new to do was assigned to them by teachers. I really found this video matching my situation. Then they were playing with some on-line courses… Instead of going and buying some used or post-leasing equipment (as suggested here) I came out with an idea of letting my kids play and do their homeworks on an old MacBook Pro 13'' from 2011. Read more →

Extending MacBook memory over the limit

Even though my 13-inch MacBook Pro (early-2011) seems to be pretty old I still like to work on it. Unfortunately running Windows 10 and two instances of Visual Studio 2015 kills it slowly. Mostly because of lack of memory and continuous usage of the swap file. And totally by accident I found out that Apple cheated users in this spec of an equipment saying it can support only up to 8GB of RAM. Read more →

Windows 10 on Early 2011 MacBook Pro

Yes, that’s correct. It’s possible to install and have perfectly running copy of Windows 10 on this extremely old early-2011 MacBook Pro, even though Apple latest BootCamp 6 doesn’t officially support this hardware. ⚠️ [Update 2017-05-08]: Additionally I was able to extend its memory to 16GB and replace the internal drive with Samsung SSD 860 Evo to give it maximum performance. Was it easy? YES! and NO! (explained in Long Story below) Read more →