caiyue1993/IceCream

Is it possible to use prebuilt Realm framework along with IceCream?

owenzhao opened this issue · 1 comments

Currently, there are three suggested methods to install IceCream. I tried all of them.

SPM

SPM took long time and failed with could not downloading the core of Realm. I thought it must be something related to the great wall, so we may forget it here.

Carthage

The suggested way was old fashioned. Modern frameworks uses xcframework and it IceCream couldn't compile when I tried.

CocoaPods

CocoPods works fine. However, Cocoapods download and the Realm and ReamSwift as well, so it take very long time to recompile those targets as well.

Is that possible that we could just use the xcframework that Realm prebuilt and build only the IceCream part only? That will save one minute each time we build.

I couldn't install it either -- I only tried SPM, as I was just looking to evaluate IceCream, and it looks to me like maybe it's not current with the latest Realm, based on the output "Failed to resolve dependencies"
Dependencies could not be resolved because root depends on 'realm-core' 11.13.0 and root depends on 'IceCream' 2.0.2..<3.0.0. 'IceCream' >= 1.13.1 practically depends on 'realm-core' {5.23.6, 5.23.8} because 'realm-cocoa' 4.3.1..<5.0.0-alpha.1 depends on 'realm-core' 5.23.8 and 'IceCream' >= 1.13.1 depends on 'realm-cocoa' 4.1.1..<5.0.0. 'realm-cocoa' {4.1.0..<4.3.1, 5.0.0-alpha.1..<5.0.0} practically depends on 'realm-core' 5.23.6 because no versions of 'realm-cocoa' match the requirement 5.0.0-alpha.1..<5.0.0 and 'realm-cocoa' 4.1.0..<4.3.1 depends on 'realm-core' 5.23.6.