Advertise Mobile SDKs Books Events Forum News Social Networking Support Us
Follow @iphonedevsdk on Twitter

Mockup & CodeGen, iPhone & iPad
($9.99)

Make your own iPhone apps
and run them live!
(free)

Manu
($0.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum

View Single Post
Old 11-27-2009, 06:54 AM   #4 (permalink)
XCHG
Registered Member
 
Join Date: Nov 2008
Posts: 98
Default

Quote:
Originally Posted by _sjc_ View Post
Not 100% sure about this, but try adding -ObjC to the "other linker flags" entry in the build configuration. I _think_ it tells the linker to check for obj-c in linked files, but like I said, I'm not 100%... but, hey, it's worth a shot, right?
Hi, thanks for your help. I already had -ObjC added to Other Linker Flags. I fixed the issue though.

For anybody having the same problem, you have to add -all_load to linker flags as well. So add:

-ObjC
-all_load

This will make sure the extensions also get compiled into the code. These two have to be added to BOTH the static library and the project that uses the static library. VERY IMPORTANT they are added to both projects. Hope this helps somebody with the same problem.
__________________
UK Flights
Latest UK Flight information right in your iPhone/iPod Touch. All major UK Airports are available in this brilliant iPhone Application. Download from the iTunes Store.

GuitarMonster: Overdrive
A guitar plugged to an overdrive effect, right in your pocket. Download from the iTunes Store.
XCHG is offline   Reply With Quote
 

» Advertisements
» Stats
Members: 158,852
Threads: 89,216
Posts: 380,667
Top Poster: BrianSlick (7,129)
Welcome to our newest member, syrreintyia1
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 05:01 AM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.