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

Adding iphone-exif library #11

Open
GoogleCodeExporter opened this issue Jul 20, 2015 · 6 comments
Open

Adding iphone-exif library #11

GoogleCodeExporter opened this issue Jul 20, 2015 · 6 comments

Comments

@GoogleCodeExporter
Copy link

So im trying to add the libiphone-exif.a library to my project on xcode 4.0.2 
but im having trouble adding this correctly. Whenever i try adding it as a 
framework, it is being added as a textfile and does not recieve the toolbox 
icon that frameworks get. Probably an amateur question but i would greatly 
appreciate the help. thanks

Original issue reported on code.google.com by [email protected] on 27 Apr 2011 at 7:37

@GoogleCodeExporter
Copy link
Author

Hi - the deal with the libiphone-exif.a file for me was as this complaint 
shows: ld: warning: ignoring file 
/Volumes/FUN/iPhoneDev/PROJECTS/InTheBox/LIBs/iphoneEXIF/libiphone-exif.a, file 
was built for archive which is not the architecture being linked (armv7)

I have decided to use the source, itself, in my app.  Not that there are some 
Xcode 4 issues that pop up - even more so if you turn on static analysis.  
Actually there's lots of good work in there but it was zipped up in 2008 and 
many things are new and somewhat different these day.  

Note: to add libs, etc to your Xcode project - you may want to:
-----------------------------------------------
1) deposit the file where you would like for it to live
2) Select the PROJECT NAVIGATOR panel in Xcode 4
3) Select the PROJECT line at the top of the panel
4) Select the TARGETS listing in the main window
5) Click on BUILD PHASES tab from near the top of the main window
6) SELECT and TWIST DOWN the "Link Binary With Libraries" row in the Main 
window area
7) CLICK on the PLUS-SIGN (+) in the lower left corner of the Main window
8) SELECT "OTHER" and navigate to where your library file was deposited
9) DRAG the lib, just added, to wherever you might want it to be located in the 
listing

The iPhone-exif V0.8 Developer Guide supplied with the project has some useful 
info - and is also kind of vague on a couple of points - like 
'populateImageData' . 

Perhaps we should all get together and request Mr. Woodcock please update his 
work - as it is very useful and would prosper greatly from a little of his 
attention. 

HTH !

Original comment by [email protected] on 27 Apr 2011 at 8:15

@GoogleCodeExporter
Copy link
Author

thats exactly how i added it and i got this error....
ignoring file 
/Users/mubushir/Downloads/iphone-exif-0-9.1/Release-simulator-iphonesimulator/li
biphone-exif.a, file was built for archive which is not the architecture being 
linked (armv6)

Original comment by [email protected] on 27 Apr 2011 at 8:49

@GoogleCodeExporter
Copy link
Author

Same problem here, tried the suggestion of hydrates and also dragging the lib 
to the project, nothing changed, the error message is the same:

ld: warning: ignoring file 
/Users/roberto/Downloads/iphone-exif-0-9.1/Release-iphoneos/libiphone-exif.a, 
file was built for archive which is not the architecture being linked (armv7)

Original comment by roberto.sonzogni on 23 May 2011 at 10:10

@GoogleCodeExporter
Copy link
Author

Same issue here. Could someone suggest a solution?

Original comment by [email protected] on 19 Jul 2011 at 10:45

@GoogleCodeExporter
Copy link
Author

Open the source code, change the base sdk from ios2.0 to your latest sdk. 
compile.
Go to your project and import the new compiled library.

Original comment by [email protected] on 11 Dec 2011 at 6:05

@GoogleCodeExporter
Copy link
Author

itsnt working at all, problem still exists even doing all the steps above

Original comment by [email protected] on 30 Apr 2012 at 9:31

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

No branches or pull requests

1 participant