Xcode 7.3, branch iOS 7 doesn't compile #43

Closed
opened 2025-12-29 15:22:54 +01:00 by adam · 6 comments
Owner

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?

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?
adam added the fixed label 2025-12-29 15:22:54 +01:00
adam closed this issue 2025-12-29 15:22:54 +01:00
Author
Owner

@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 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
Author
Owner

@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.

@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.
Author
Owner

@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?

@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?
Author
Owner

@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): Great, thanks for confirming! ~~I'll push the podspec then later in the day.~~
Author
Owner

@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.

@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.
Author
Owner

@stremsdoerfer commented on GitHub (Mar 31, 2016):

OK, no problem, I added it as a submodule indeed.
Thanks!

Le 30 mars 2016 à 17:06, John Estropia notifications@github.com a écrit :

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.


You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub https://github.com/JohnEstropia/CoreStore/issues/56#issuecomment-203691142

@stremsdoerfer commented on GitHub (Mar 31, 2016): OK, no problem, I added it as a submodule indeed. Thanks! > Le 30 mars 2016 à 17:06, John Estropia notifications@github.com a écrit : > > 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. > > — > You are receiving this because you were mentioned. > Reply to this email directly or view it on GitHub https://github.com/JohnEstropia/CoreStore/issues/56#issuecomment-203691142
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/CoreStore#43