Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

compiler flag warning #285

Open
ale84 opened this issue Apr 3, 2014 · 10 comments
Open

compiler flag warning #285

ale84 opened this issue Apr 3, 2014 · 10 comments

Comments

@ale84
Copy link

ale84 commented Apr 3, 2014

I get this warning when I build the library:

warning:     /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: -dynamic not specified, -all_load invalid
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: -dynamic not specified the following flags are invalid: -ObjC
@dehli
Copy link

dehli commented Apr 3, 2014

Are you using Parse?

@ale84
Copy link
Author

ale84 commented Apr 3, 2014

No I'm not using Parse. I added the library to my project following the instructions on the wiki.

@dehli
Copy link

dehli commented Apr 3, 2014

Is it a fresh project?

@ale84
Copy link
Author

ale84 commented Apr 3, 2014

Yes. I also tried to open the Tapku project alone outside my app and I get the same warning when compiling.

@dehli
Copy link

dehli commented Apr 3, 2014

When you said you tried opening the Tapku project, are you referring to Demo.xcodeproj?

@ale84
Copy link
Author

ale84 commented Apr 3, 2014

No I am referring to the TapkuLibrary.xcodeproj, the one that you need to import in your own project.

@dehli
Copy link

dehli commented Apr 3, 2014

Are you able to open and run the demo.xcodeproj located in the demo folder?

@ale84
Copy link
Author

ale84 commented Apr 3, 2014

Yes, the demo.xcodeproj open and runs fine, but I get the same compiler warning.

@dehli
Copy link

dehli commented Apr 3, 2014

Alright, I misread and thought you had said error. I just looked at my project using Tapku and I also have that same warning as you do. It's running fine, I'm not sure how to get rid of it. Sorry!

@ale84
Copy link
Author

ale84 commented Apr 3, 2014

Yes, my app also runs fine despite the warning.
I discovered that the warning goes away if I remove the compiler flags -ObjC and -all_load under Other Linker Flags in the TapkuLibrary target build settings, but leave those flags in my app's own target.
It seems to work fine but I am not sure this is the right solution.
Anyway thank you for your time!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants