Compile errors with recent XCode Update - ios

I recently update XCode to 13.2.1 but my project now has compilation errors in place where never exist before. This is related to the library GRDB.swift for local DB.
I will appreciate any help. Thanks in advance.

I have resolved the issue by splitting the DB filters into multiple read db queue and appending all the results to a big one array of results. Maybe this is not the best practice for it but works for now and I will optimize in the future. Thanks everyone for help.
Especial thanks to #jnpdx for the idea

Related

LZString decompression in swift

I am having a web service which gives LZCompressed string in my iOS app. To decompress the LZ string I have tried the following solutions.
https://github.com/takagi-denki/lzstring-swift
https://github.com/TapMesh/LZCompression
Both are working for me when I am decompressing small strings. But when I am getting LZStrings with larger size both of these are not working. (The crash I faced is added in the github issues section. Also I have added the crash details in the screenshot)
Any better suggestion for LZString conversion from iOS project? Thanks in advance.
I did some changes in the code takagi-denki have published in GitHub and fixed the issue. The bug free code can access from here https://github.com/mohammedabdulbasithk/lz-string-swift
I have added submitted a PR to fix this issue for now.
For the time being while the PR is not approved, you can use a forked copy of the Package here.
SPM Package

Add-Migrations: Value does not fall within expected range

This happens in the package manager console. What does the red text mean?
After I run the command, the migration file is generated, but it's empty.
I can't find an answer anywhere else. I'm very frustrated. I've done a research in google but that error happens in many situations different than this one.
The solution to this problem was to "downgrade" Entity Framework to 6.1.3. I guess the cause was a bug with the beta version. I was using: 6.2.0 beta.
Thank you guys for pointing this out! Thank you Gert Arnold. You rock!

How to use opencv2.framework in ios correctly

I have tried many times to use opencv in my ios project, but it just failed.
After I download the framework from the website, I load the framework to my xcode project, and then it just shows the following problem, I really don't know why and have been mad about it.
check out this link. This should help you!
http://fyhao.com/2015/01/computer-and-it/tutorial/tutorial-on-setup-opencv-on-ios/
Best regards,
N. Medeiros

Xcode not autocompleting Parse methods

I'm using a lot of parse method/blocks like the one below.
[self.currentUser.profileImage getDataInBackgroundWithBlock:(nullable PFDataResultBlock(nullable )block]
Xcode used to autocomplete these blocks. Is this something that was broken with the last xcode updates? Is anyone having this problem and how did you fix it?
Thanks for the help!

Xcode 6.1 running on Mavericks Code Completion is broken

I have tried deleting my derived data and restarting Xcode, and it works for a few seconds, until the Indexing is complete and then it's broken again.
Does anyone have any recommendations on how to fix this?
I searched in the apple developer forums and there are a lot of other users having the same issue. They say to go back to a previous version of Xcode 6 but I don't know where to find one, so any advice on that would be much appreciated as well.
I never realized how much I rely on Code Completion, I am pretty much stuck until I get this fixed.
PLEASE HELP!
This issue was resolved by upgrading to Xcode6.1.1

Resources