Comments (14)
Tom, few thing you can try in that case. I notice a pod warning say it can't properly build because of the arch settings. If ur trying to use this from a pod that might be the issue, u need to change the arch settings of the cocoapod project in your workspace to something that works with your project. Then rebuild. If your not using a pod and u are importing it directly.... It looks like it can't find that file. Locate that class.m file in your workspace and open up the right side drawer. It should show you the target membership of that file and the target your building for should be checked. If not then it's not imported properly. I would search google for kind that need to be imported a similar way that have instructions and follow them. Welcome to the wonderful world of dealing with Xcode and it's eccentricies
from dlcimagepickercontroller.
I imported it directly. There's no GPUImage or DLCImagePickerController pod in my project, I imported them using git clone
and dragging the xcodeproj to my XCode window only.
All pods are using this configuration:
The thing is, if I remove libPods.a, it won't compile. I can add it back, it's there and on the disk but once I added it back in Frameworks it goes back red.
I don't know if that's supposed to be looking like this but the file is marked for the DLCImagePickerController target:
I'll keep on checking Google for any related solutions.
Thanks a lot for the help, really appreciated!
from dlcimagepickercontroller.
Also here's a list of my header imports, I guess they're alright as they seem to work:
(GPUImage source directory is within DLCImagePickerController directory)
from dlcimagepickercontroller.
Tom,
I'm not completely sure but it looks like you might need to build that
project that you imported into your code first and then add it to your
build phases in add frameworks section.
In the top of Xcode where your target says vinpin, u can choose another
target to build for and one of them should be dlcimage., choose that and
build it. Then go back to you target and go to the build phases and add
frameworks and libs. Search for it and you should see it.
Hope that does it
On Monday, December 16, 2013, Tommy Bergeron wrote:
Also here's a list of my header imports, I guess they're alright as they
seem to work:—
Reply to this email directly or view it on GitHubhttps://github.com//issues/49#issuecomment-30694701
.
from dlcimagepickercontroller.
Ok so
-
I built it by switching target to DLCImagePickerController and then clicked both on the run button and went in Product -> Build For -> Running just to be sure.
-
I went back to my project (VINPIN) target. I can add it as dependency which works:
but I cannot add it in "Link Binary With Libraries" though:
Ah man, there's problem popping everywhere! Thanks so much for the help
from dlcimagepickercontroller.
Hmmm it appears that this library isn't meant to be compiled like that. If
it had been successful you would of seen the little toolbox icon next to
dlcimage.... Lib.
I think that your going to want to follow instructions somewhere online
for importing another framework into your Xcode project. I'm not sure what
the problem is without sitting and playing with the file.
Try following instructions for adding the three20 framework and replace
three20 project with dlcimagepicker.... see if that helps you get your
project Built.
Greg
On Monday, December 16, 2013, Tommy Bergeron wrote:
Ok so
- I built it by switching target to DLCImagePickerController and then
clicked both on the run button and went in Product -> Build For -> Running
just to be sure.
- I went back to my project (VINPIN) target. I can add it as dependency
which works:but I cannot add it in "Link Binary With Libraries" though:
Also I get this now:
Ah man, there's problem popping everywhere! Thanks so much for the help
—
Reply to this email directly or view it on GitHubhttps://github.com//issues/49#issuecomment-30696008
.
from dlcimagepickercontroller.
I tried to make a separate project without cocoapods or anything, dragged the DLCImagePickercont... in it and I got the exact same thing:
I'll upload that project so the owner of the project can check if it's a bug or something.
Meanwhile I'll go check three20 install instructions, we never know maybe it'll help!
Thanks a lot again
from dlcimagepickercontroller.
Here's the workspace archive in case anybody would like to try to run it. I carefully followed GPUImage installation instructions, and I would have followed DLCImagePickerController own install instructions if there would have been any!
I also recursively added SRCROOT/DLCImagePickerController/ in header paths.
Here's the project: http://cl.ly/1N3g0f3G2f3h/TestDLCImagePickerControllerProject.zip
It'd be great if somebody could find the issue, I'm not asking you @boland25 for it as you've already did plenty enough to help me! haha
Thanks everybody
from dlcimagepickercontroller.
Just had the exact same problem with another library I cloned from GitHub. So it's 100% my fault here, but I need to know what I'm doing wrong please anybody point me in the right direction :( Thanks
from dlcimagepickercontroller.
you can try this:
1.go to project's Build Setting in XCode5, choose "Basic", "Combined" for change setting quickly;
2.Architectures, choose "armv7, armv7s", remove "arm64",,
because your libpods.a didn't support 64-bit
------------------ Original ------------------
From: "Tommy Bergeron";[email protected];
Date: Tue, Dec 17, 2013 03:08 AM
To: "gobackspaces/DLCImagePickerController"[email protected];
Subject: [DLCImagePickerController] I can compile DLCImagePicker proejct frommy project, but can't compile the project itself (#49)
Hi,
I installed DLCImagePickerController, follow GPUImage instructions, etc.
It looks like this within my project:
When I select DLCImagePickerController as my target, it builds flawlessly.
I can #import <> the library but as soon as I try to alloc it I get this:
I know it's not a 100% related problem but mostly as project linking issue but I'd really need some help figuring this out. I've spent almost 2 days figuring it out and I'm still scratching my head on it.
If this can be of any help here's more screenshots:
Build Settings
Build Phases
Also any usage example anywhere? I'm sure it's simple enough but it'd be great to know what to look for when testing if the library is working.
Thanks a lot and have a nice day.
¡ª
Reply to this email directly or view it on GitHub.
from dlcimagepickercontroller.
@asmore thanks for the help but I already have those settings:
There's no arm64 anywhere to be found. :-/
from dlcimagepickercontroller.
I had to create a new target (static library) and drag all .m and .h and leave resources in my project, set it up with the proper frameworks and I got it fixed and working.
from dlcimagepickercontroller.
Tom,
Glad to hear u got it working. In the future if you run into a github lib
without any instructions on how to implement I would use another library.
Github is about providing support to our fellow devs so it should be
within reason to expect to be shown how to install a lib.
Good luck and hope you've learned a lot through this exp
Greg
On Tuesday, December 17, 2013, Tommy Bergeron wrote:
I had to create a new target (static library) and drag all .m and .h and
leave resources in my project, set it up with the proper frameworks and I
got it fixed and working.—
Reply to this email directly or view it on GitHubhttps://github.com//issues/49#issuecomment-30786977
.
from dlcimagepickercontroller.
Thanks for the insight, I kept on using that library because it's the only one that does so much for camera filters, etc (that I know of).
I 110% agree about GitHub and support, that's the strongest part of the platform and yet some devs just don't give a damn about their libs users or are just too busy. Anyways, thanks a lot to you as you've been of great help!
Things are running smoothly now that I know how to properly handle static libraries, etc. So I ended up this experience with better knowledge which is always worth the trouble! :P
from dlcimagepickercontroller.
Related Issues (20)
- gpuimage.h file not found HOT 1
- Having difficulties with using images
- wrong web link at CocoaPods HOT 2
- Video picker not implemented.
- ios7 crash HOT 2
- Pod DLCImagePickerController 0.0.1 contains old code (with deprecations) HOT 2
- "self.wantsFullScreenLayout" is deprecated in iOS7 HOT 1
- Base SDK 6.1 casues shifting on iPhone 5 + HOT 4
- GPUImage removes blurSize property HOT 1
- Making Instagram like tilt-shift effect blur view.
- blur effect error HOT 1
- ARC Semantic Issues + Install instructions? HOT 9
- Usage example? HOT 1
- Filter Button Customisation HOT 2
- Adjust brightness using UISlider in Static Image.
- can not take a photo in iphone 4 with ios 7 HOT 4
- Memory Issue HOT 2
- croppedImage is gone
- No visible @interface for 'GPUImageOutput<GPUImageInput>' declares HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dlcimagepickercontroller.