Benches Uncategorized

2

Problem with linking ApplicationServices.framework

apple Verified

Imported from the Apple Support Forums via the Wayback Machine 🔗

Hi,

I'm trying to extend MoveMe application and I've met problem which blocks me at the moment. The problem is following when I add ApplicationServices.framework to origin MoveMe application I get linker error

'Command /Developer/Platform/iPhoneSimulator.platform/Developer/usr/bin/gcc-4.0 failed with exit code 1 framework not found ApplicationServices'

However I included ApplicationServices.framework to Frameworks folder in XCode.

Thanks in advance.

2 replies

Sign in or join Beachball Help to reply.

  1. 0

    sURBHIT Mehrotra

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    if you got the final version of SDK it should work fine but if you don't have the final version try these steps:

    This is the same fix you'll need for any other framework you add:

    1) XCode Menu: ->Project -> Edit Active Target

    2) Select Build Tab

    3) Find "Framework Search Paths" under Search Paths section

    4) Double Click to Edit

    5) Delete all lines.

    Rebuild and voila.

  2. 0

    cogniance

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    Thanks for your response. I downloaded iPhone SDK week ago so I guess it's the latest one. I'd tried to do what you suggested before I posted my question but it didn't help me. When I put absolute path to framework I have compilation error 'error: syntax error before 'CGAVAILABLE_BUTDEPRECATED'.