PaulTaykalo / iphone-exif

Automatically exported from code.google.com/p/iphone-exif
0 stars 0 forks source link

Adding iphone-exif library #11

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
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 r65pa...@gmail.com on 27 Apr 2011 at 7:37

GoogleCodeExporter commented 9 years ago
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 hydrates...@gmail.com on 27 Apr 2011 at 8:15

GoogleCodeExporter commented 9 years ago
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 r65pa...@gmail.com on 27 Apr 2011 at 8:49

GoogleCodeExporter commented 9 years ago
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 commented 9 years ago
Same issue here. Could someone suggest a solution?

Original comment by ericliuq...@gmail.com on 19 Jul 2011 at 10:45

GoogleCodeExporter commented 9 years ago
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 amun...@gmail.com on 11 Dec 2011 at 6:05

GoogleCodeExporter commented 9 years ago
itsnt working at all, problem still exists even doing all the steps above

Original comment by srika...@riktamtech.com on 30 Apr 2012 at 9:31