• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Xcode-users Digest, Vol 9, Issue 377
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Xcode-users Digest, Vol 9, Issue 377


  • Subject: Re: Xcode-users Digest, Vol 9, Issue 377
  • From: João Varela <email@hidden>
  • Date: Thu, 09 Aug 2012 21:54:34 +0100
  • Thread-topic: Xcode-users Digest, Vol 9, Issue 377

Hi Jean

I think you should only use #import "Ni488.h" and all your issues should
be solved. Do not use #import <NI488/NI488.h> because imports between <>
are reserved for system frameworks. Use "" instead for your own
frameworks. Moreover, do not use umbrella import statements, as your
framework is not part of an umbrella framework called NI488. You were
making two mistakes at the same time.

HTH

João Varela

On 09/08/12 20:00, "email@hidden"
<email@hidden> wrote:

>Hi All,
>
>I am encountering issues using a 3rd party framework (NI 488 framework
>from National Instruments) after upgrading to Xcode 4.4.
>
>Here are the details:
>After upgrading Xcode from 4.2.1 (4D502) to 4.4 (4F250), one of the 3rd
>party frameworks I am relying on did appear in red color in the navigator
>(The same way missing files do when they are still referenced in the
>project but removed from the file system). The issue is that the said
>framework is still accounted for in the appropriate location
>(/Library/Frameworks/...).
>
>So, I did remove the framework, and added it again to the build phase of
>the target app. When Adding it, I noticed that the framework was not
>offered to me as a choice and I that I had to select it "manually". This,
>I thought, is not an issue since I had to do the same operation to add
>VISA and nidaqmxbase frameworks, from the same company, in a similar way
>under Xcode 4.2.1.
>
>Then, the compiler was unable to find the headers declared as:
>
>#import <NI488/NI488.h>
>
>so I was forced to use the full path
>
>#import </Library/Frameworks/NI488.framework/Versions/2/Headers/NI488.h>
>
>to get the compiler to oblige. And now, I am stuck with the linker error:
>
>ld: framework not found NI488
>clang: error: linker command failed with exit code 1 (use -v to see
>invocation)
>
>Any ideas on how to solve this ?
>
>In both case base sdk is 10.7, target is 10.7.
>App is i386 only (as required by the frameworks).
>
>Thanks for your help,
>Jean
>



 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden


  • Prev by Date: Re: Mac app crashes using library built with Xcode4.3+, which used to work with Xcode4.2
  • Next by Date: Re: Mac app crashes using library built with Xcode4.3+, which used to work with Xcode4.2
  • Previous by thread: Re: Mac app crashes using library built with Xcode4.3+, which used to work with Xcode4.2
  • Next by thread: Viewing values within allocated memory in C with XCode debugger
  • Index(es):
    • Date
    • Thread