Skip to content
This repository has been archived by the owner on Jun 13, 2023. It is now read-only.

Include of non modular #26

Closed
Sofianebenabdallah opened this issue Apr 7, 2016 · 9 comments
Closed

Include of non modular #26

Sofianebenabdallah opened this issue Apr 7, 2016 · 9 comments

Comments

@Sofianebenabdallah
Copy link

I would like to try it. I create a podfile with :

pod 'ParseLiveQuery'

I have this error when I try to build it :
capture d ecran 2016-04-07 a 21 55 24

Thank you for you help

@Eke
Copy link

Eke commented Apr 7, 2016

If you have project in objective-c add use_frameworks! to your pod file at start.

But after this you will need to change #import to @import

@Sofianebenabdallah
Copy link
Author

Hi,

I work in Swift. I use this command, because without I had this error in pod

[!] Pods written in Swift can only be integrated as frameworks; adduse_frameworks!to your Podfile or target to opt into using it. The Swift Pods being used are: Bolts-Swift and ParseLiveQuery

@Eke
Copy link

Eke commented Apr 7, 2016

@Sofianebenabdallah try to clean Xcode's DerivedData, remove Pods folder, run pod install

@Sofianebenabdallah
Copy link
Author

Still not good :(

@nlutsenko
Copy link
Contributor

Change of #import to @import - unrequited, if modules are enabled and working it's all the same (using latter improves performance, but only in a very minor way.

@Sofianebenabdallah, which version of CocoaPods are you using? 0.39 or 1.0.0 beta?
Also, trying completely removing Pods folder and re-running pod install.

@Sofianebenabdallah
Copy link
Author

Hi,

I have 0.39. Must I install 1.0 beta?

Sofiane

Le 8 avr. 2016 à 00:45, Nikita Lutsenko notifications@github.com a écrit :

Change of #import to @import - unrequited, if modules are enabled and working it's all the same (using latter improves performance, but only in a very minor way.

@Sofianebenabdallah, which version of CocoaPods are you using? 0.39 or 1.0.0 beta?
Also, trying completely removing Pods folder and re-running pod install.


You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub

@nlutsenko
Copy link
Contributor

You don't have to, no, but I would recommend trying?

@Sofianebenabdallah
Copy link
Author

💯 Right. Every thing works well with 1.0.0 beta 6

thank you !!

@nlutsenko
Copy link
Contributor

Perfect! Glad it worked!

@Eke Eke mentioned this issue Apr 9, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants