mirror of
https://github.com/JohnEstropia/CoreStore.git
synced 2026-01-14 07:33:28 +01:00
Getting compile errors in xcode 13 #378
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @laeroah on GitHub (Oct 21, 2021).
Getting compile errors in xcode 13, Internals.DiffableDataUIDispatcher.DiffResult.swift:
'let' property 'pointer' may not be initialized directly; use "self.init(...)" or "self = ..." instead
Initializer for class 'Internals.DiffableDataUIDispatcher.DiffResult.IndicesReference' is '@inlinable' and must delegate to another initializer
...
etc
@JohnEstropia commented on GitHub (Oct 21, 2021):
@laeroah Thanks for reporting. May I ask how you import CoreStore into your project? I'm guessing Swift Package Manager?
@laeroah commented on GitHub (Oct 21, 2021):
thanks for the prompt response. I'm using cocoapod.
@JohnEstropia commented on GitHub (Oct 21, 2021):
I don't see this issue. Can you show me your Pod file declaration and the CoreStore version you are using?
@laeroah commented on GitHub (Oct 21, 2021):
pod 'CoreStore', '~> 8.1.0'
full Podfile:
@JohnEstropia commented on GitHub (Oct 21, 2021):
Can you try doing a clean build? (deleting the DerivedData, etc.)
If you still get errors afterwards please send the relevant compiler error logs.
@laeroah commented on GitHub (Oct 22, 2021):
Hi John, the issue seems to be with
Build libraries for distributionoption. I'm working on a library release that needs library evolution support. Not being able to build CoreStore withBuild libraries for distributionturned on compromises it. Is it possible to have an update to address this? thank you!@bonebox commented on GitHub (Jan 25, 2022):
Any update on this? Having the same issue.
@JohnEstropia commented on GitHub (Jan 25, 2022):
I'm sorry, I'm still not sure what the issue here. We have several projects using CoreStore with Xcode 13.x and Cocoapods without any issues. Can you try removing the
post_installscript from your Podfile? I'm not sure howBUILD_LIBRARY_FOR_DISTRIBUTIONbehaves, but your main app should be the one dictating the architecture and bitcode settings anyway.@JohnEstropia commented on GitHub (Jan 25, 2022):
Following some discussions here, it might be worth trying to set
BUILD_LIBRARY_FOR_DISTRIBUTIONfor all your Podfile dependencies