mirror of
https://github.com/JohnEstropia/CoreStore.git
synced 2026-01-11 20:00:30 +01:00
Xcode 7.3, branch iOS 7 doesn't compile #43
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 @stremsdoerfer on GitHub (Mar 23, 2016).
With the latest version of Xcode and Swift 2.3, the library doesn't compile anymore. I get "Ambiguous use of init" whenever i use the From, for instance:
transaction.deleteAll(From(CDNotification))Just saw that a similar error has been fixed on the develop branch, will you consider fixing it on the iOS 7 as well?
@JohnEstropia commented on GitHub (Mar 23, 2016):
@JustaLab Yup, I haven't updated the iOS 7 branch for XCode 7.3 yet. Let me make a fix within the day
@JohnEstropia commented on GitHub (Mar 24, 2016):
@JustaLab The master and develop branches now both support iOS 7. Check out the CoreStore iOS7 XCode scheme. Tell me if you have any issues.
BTW, I'll be deleting the ios_support_alpha branch in the near future so please update when you can.
@stremsdoerfer commented on GitHub (Mar 30, 2016):
@JohnEstropia Awesome thanks for your time! I've switch to latest tag. It looks like it's all working fine with iOS 7. Do you plan on making it available with CocoaPods?
@JohnEstropia commented on GitHub (Mar 31, 2016):
Great, thanks for confirming!
I'll push the podspec then later in the day.@JohnEstropia commented on GitHub (Mar 31, 2016):
Oh right, I remember now. The latest 1.6.1 tag already supports iOS 7 but I cannot change the pod min version to iOS 7 because dynamic frameworks do not work in iOS 7.
Since Swift files can only be distributed through CocoaPods using frameworks, I suggest you try Carthage or git submodules instead. But even then, you still cannot link the "CoreStore iOS7" scheme to your project, you need to include the .swift files directly to your App's build target.
This is true for both CoreStore and GCDKit. I'll update the README to make this clearer.
@stremsdoerfer commented on GitHub (Mar 31, 2016):
OK, no problem, I added it as a submodule indeed.
Thanks!