gmoledina / GMGridView

A performant Grid-View for iOS (iPhone/iPad) that allows sorting of views with gestures (the user can move the items with his finger to sort them) and pinching/rotating/panning gestures allow the user to play with the view and toggle from the cellview to a fullsize display.
MIT License
2.3k stars 512 forks source link

Can't compile project with GMGridview #162

Open quazarteam opened 11 years ago

quazarteam commented 11 years ago

Hello All!

I added GMGridView as git submodule to main project and dropped GMGridView project to xcode. Added GMGridView as dependency and added libGridView.a to Liink with library. When I compile it I get the following waring;

ld: warning: ignoring file /Users/lowfreq/Library/Developer/Xcode/DerivedData/MagazineReader-cgscqhsdsfduukdkpsyasaqqolzu/Build/Products/Debug-iphoneos/libGMGridView.a, file was built for archive which is not the architecture being linked (armv7s): /Users/lowfreq/Library/Developer/Xcode/DerivedData/MagazineReader-cgscqhsdsfduukdkpsyasaqqolzu/Build/Products/Debug-iphoneos/libGMGridView.a

and whole build fails because

Undefined symbols for architecture armv7s: "_OBJCCLASS$_GMGridViewLayoutStrategyFactory", referenced from: objc-class-ref in ArchiveViewController.o "_OBJCCLASS$_GMGridViewCell", referenced from: objc-class-ref in ArchiveViewController.o ld: symbol(s) not found for architecture armv7s clang: error: linker command failed with exit code 1 (use -v to see invocation)

what did I wrong? or how can I fix it ?

Thank you in advance

quazarteam commented 11 years ago

anyone willing to help ?

nutshellfool commented 11 years ago

Same build error issue. Environment : xCode 4.6 iOS SDK: 6.1

libgin commented 9 years ago

Change to RestKit (arc 64-bit) BAAO = no