• 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: applescriptobjc-dev Digest, Vol 3, Issue 4
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: applescriptobjc-dev Digest, Vol 3, Issue 4


  • Subject: Re: applescriptobjc-dev Digest, Vol 3, Issue 4
  • From: "John C. Welch" <email@hidden>
  • Date: Thu, 14 Jan 2010 16:18:13 -0500
  • Thread-topic: applescriptobjc-dev Digest, Vol 3, Issue 4

On 1/14/10 3:41 PM, "Matt Neuburg" <email@hidden> wrote:

>> It seems that sometimes, if you forget to add the needed frameworks to your
>> project, Xcode won't actually complain that you're trying to uses code that
>> requires said frameworks. CoreWLAN for example.
>> Bug filed, 7541444.
>
> There is compiling and there is linking. You can compile, by doing an
> include:
>
> #import <CoreWLAN/CoreWLAN.h>
>
> But the app won't run unless you also link to the framework. One may find
> this confusing but that doesn't make it a bug. m.

The bug is that during runtime, none of the code that tries to create
instances of CWInterface, for example, throws any error. It's only when you
attempt to use any of the data you supposedly have access to that you get
errors, but then, you don't get any errors that would show that you haven't
linked properly to the framework, you just get "<variable> is not defined".

If I have a statement that's trying to create an instance of something it
can't find, THAT should be throwing errors. That's the bug.

--
Q: What was the first thing your husband said to you when he woke up
that morning?
A: He said, "Where am I, Cathy?"
Q: And why did that upset you?
A: My name is Susan.


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

This email sent to email@hidden

References: 
 >Re: applescriptobjc-dev Digest, Vol 3, Issue 4 (From: Matt Neuburg <email@hidden>)

  • Prev by Date: Re: applescriptobjc-dev Digest, Vol 3, Issue 4
  • Next by Date: Repeating wrong
  • Previous by thread: Re: applescriptobjc-dev Digest, Vol 3, Issue 4
  • Next by thread: Re: applescriptobjc-dev Digest, Vol 3, Issue 4
  • Index(es):
    • Date
    • Thread