SenTestingKit Framework Linking problems with Cocoa classes on iPhone

Hi there,
Really hoping that someone can help me here as it's driving me mad...
Using the SenTestingKit stuff in iPhone OS 3.1.2, and have got the logic testing stuff all running okay, until I try to include some of my classes which use CLLocation, CLLocationManager etc - then it fails to link, complaining about the following:
".objcclass_nameCLLocationManager", referenced from: literal-pointer@[email protected]
symbol(s) not found
collect2: ld returned 1 exit status
and the same issue for the following:
".objcclass_nameCLLocation", referenced from: literal-pointer@[email protected]
symbol(s) not found
collect2: ld returned 1 exit status
So, I have included all of my own source files in the LogicTest target in my xcode project, which uses other classes such as NSMutableArray etc, and all build okay apart from these 2 errors - do i need to include something somewhere?!
CoreLocation framwork is included in the project already, as the main application works fine normally - only seeing this when i am trying to build the logic test target...
Please help!!

Hi CFSi, and welcome to the Dev Forum!
CFSi wrote:
CoreLocation framwork is included in the project already, as the main application works fine normally - only seeing this when i am trying to build the logic test target...
Have you explicitly added CoreLocation.Framework to the second target? To check, expand Targets in the Groups & Files tree, double click on the Logic Test target icon to open the Info window for that target, click General, and look at the Linked Libraries panel at the bottom of the window. If CL isn't listed, click the '+' icon under the panel (at the very bottom of the Info window).
If the above doesn't help, or for more info in general, see Managing Target Files in the +Xcode Build System Guide+.
\- Ray

Similar Messages

  • Getting problem with DOMImplementation classes method getFeature() method

    hi
    getting problem with DOMImplementation classes method getFeature() method
    Error is cannot find symbol getFeature()
    code snippet is like...
    private void saveXml(Document document, String path) throws IOException {
    DOMImplementation implementation = document.getImplementation();
    DOMImplementationLS implementationLS = (DOMImplementationLS) (implementation.getFeature("LS", "3.0"));
    LSSerializer serializer = implementationLS.createLSSerializer();
    LSOutput output = implementationLS.createLSOutput();
    FileOutputStream stream = new FileOutputStream(path);
    output.setByteStream(stream);
    serializer.write(document, output);
    stream.close();
    problem with getFeature() method

    You are probably using an implementation of DOM which does not implement DOM level-3.

  • Re: Fwd: Link Problems With Borland C++ 4.52

    I have seen this problem before in another context, and I'll offer the
    cause and solution in the hope that they will apply to the Crystal problem.
    Many Windows based applications rely on PASCAL calling conventions, which
    change the way parameters are handled in function/method calls. They
    indicate this by placing one of the following immediately before the
    function name in the prototype declarations:
    - pascal_far (or something like that)
    - WINAPI
    - some other typedef of either of the above
    For example:
    int WINAPI AddTotal(int valueA, int valueB);
    Unfortunately, v2.0 of Forte does not provide any mechanisms for changing
    the calling conventions of the prototypes in the generated C++ wrapper
    library, so when you compile that code, the linker fails. I think that the
    compiler may generate different symbols depending on calling conventions,
    so that's why it fails.
    To fix this, don't autocompile your code, but generate the distribution, go
    into the generated C++ files and look for the function prototypes (I think
    you can search for FORTE_NO_PROTOTYPES), add WINAPI to the appropriate
    places in the prototype definitions (see above) and use fcompile to build
    the library. Instructions for fcompile are in the Interfacing With
    External Systems manual.
    Hope this helps,
    James
    At 11:05 AM 5/29/97 PDT, you wrote:
    >
    We are trying to wrapper Crystal Reports from Forte. I know that there
    are a number of other people in this same boat, as I've seen messages
    posted here at various points during the past few weeks. We are having
    a particular problem with getting the compile to go through, which we
    have sent in to Forte Tech Support. I'm forwarding the message I sent
    Tech Support to this group in the hopes that someone here may have
    already seen and resolved a similar problem.
    Thanks in advance for any help you can offer!
    Dale V. Georg
    Indus Consultancy Services [email protected]
    Mack Trucks, Inc. [email protected]
    >
    Date: Wed, 28 May 97 13:47:20 PDT
    From: dg7077a
    To: Forte Technical Support
    Cc: Gardner, Steve
    Subject: Link Problems With Borland C++ 4.52
    Name of requestor: [Dale V. Georg / Alaiah Chandrashekar]
    Company: [Indus Consultancy Services]
    Phone for callback: [(610) 709-3956]
    Customer Site: [Mack Trucks, Inc.]
    Product: [Forte]
    Version of Forte: [2.0.H.1]
    Server OS: [SunOS 5.5.1]
    Client OS: [Windows 3.1]
    DBMS: [Oracle 7.2.3]
    Reproducible?: [Yes]
    Brief description: [Link Problems With Borland C++ 4.52]
    Complete description of problem or question:
    We are attempting to write a C-wrapper interface from Forte to Crystal
    Reports' Report Engine. We are using Borland C++ version 4.52.
    Unfortunately, we have been unable to get a clean compile after a day
    and half of effort. We get as far as the link stage of the
    compilation, and
    the compiler aborts with an "Unknown symbol" error message for each
    of the functions we are trying to wrapper. We have tried a number of
    ideas to fix this problem, and are continuing to try to solve it on
    our own,
    but any help would be greatly appreciated. Please have someone call
    Alaiah Chandrashekar at the number above as soon as possible.
    Thanks!
    Dale V. Georg
    Indus Consultancy Services [email protected]
    Mack Trucks, Inc. [email protected]
    James Urquhart [email protected]
    Product Manager phone: (510) 986-3513
    Forte Software, Inc. fax: (510) 869-2092

    James,
    Thanks for your quick response. Yesterday we had been running down
    the path of examining the calling conventions and trying to change them
    to PASCAL, but without much success. After receiving your note, we
    went back over it again, and this time we were able to finally to piece it
    together. In addition to editing the Forte-generated .cc file to declare
    the functions as PASCAL, we also had to turn off the compiler's case
    sensitivity. (The Crystal .lib file had the function names in mixed case,
    but the Borland compiler was generating all uppercase for the names.)
    Now I had actually tried this yesterday and it didn't work (in fact it
    generated a whole bunch of new errors) - because until we took a
    second look at it today, I didn't realize that Borland's linker actually has
    TWO flags that control case sensitivity. If you only turn one or the
    other off, things can get pretty ugly looking. As soon as we turned
    both of them off, the compile and link went beautifully. Again, thanks
    for your help; hopefully we are over the worst of it now!
    Dale
    I have seen this problem before in another context, and I'll offer the
    cause and solution in the hope that they will apply to the Crystalproblem.
    >
    Many Windows based applications rely on PASCAL callingconventions, which
    change the way parameters are handled in function/method calls.They
    indicate this by placing one of the following immediately before the
    function name in the prototype declarations:
    - pascal_far (or something like that)
    - WINAPI
    - some other typedef of either of the above
    For example:
    int WINAPI AddTotal(int valueA, int valueB);
    Unfortunately, v2.0 of Forte does not provide any mechanisms forchanging
    the calling conventions of the prototypes in the generated C++wrapper
    library, so when you compile that code, the linker fails. I think thatthe
    compiler may generate different symbols depending on callingconventions,
    so that's why it fails.
    To fix this, don't autocompile your code, but generate thedistribution, go
    into the generated C++ files and look for the function prototypes (I think
    you can search for FORTE_NO_PROTOTYPES), add WINAPI tothe appropriate
    places in the prototype definitions (see above) and use fcompile tobuild
    the library. Instructions for fcompile are in the Interfacing With
    External Systems manual.
    Hope this helps,
    James
    At 11:05 AM 5/29/97 PDT, you wrote:
    We are trying to wrapper Crystal Reports from Forte. I know that
    there
    are a number of other people in this same boat, as I've seenmessages
    posted here at various points during the past few weeks. We arehaving
    a particular problem with getting the compile to go through, whichwe
    have sent in to Forte Tech Support. I'm forwarding the message Isent
    Tech Support to this group in the hopes that someone here mayhave
    already seen and resolved a similar problem.
    Thanks in advance for any help you can offer!
    Dale V. Georg
    Indus Consultancy Services [email protected]
    Mack Trucks, Inc.
    [email protected]
    >
    >>
    Date: Wed, 28 May 97 13:47:20 PDT
    From: dg7077a
    To: Forte Technical Support
    Cc: Gardner, Steve
    Subject: Link Problems With Borland C++ 4.52
    Name of requestor: [Dale V. Georg / AlaiahChandrashekar
    Company: [Indus Consultancy Services]
    Phone for callback: [(610) 709-3956]
    Customer Site: [Mack Trucks, Inc.]
    Product: [Forte]
    Version of Forte: [2.0.H.1]
    Server OS: [SunOS 5.5.1]
    Client OS: [Windows 3.1]
    DBMS: [Oracle 7.2.3]
    Reproducible?: [Yes]
    Brief description: [Link Problems With Borland C++ 4.52]
    Complete description of problem or question:
    We are attempting to write a C-wrapper interface from Forte to
    Crystal
    >>
    Reports' Report Engine. We are using Borland C++ version 4.52.
    Unfortunately, we have been unable to get a clean compile after aday
    and half of effort. We get as far as the link stage of the
    compilation, and
    the compiler aborts with an "Unknown symbol" error message foreach
    of the functions we are trying to wrapper. We have tried a numberof
    ideas to fix this problem, and are continuing to try to solve it on
    our own,
    but any help would be greatly appreciated. Please have someonecall
    Alaiah Chandrashekar at the number above as soon as possible.
    Thanks!
    Dale V. Georg
    Indus Consultancy Services [email protected]
    Mack Trucks, [email protected]
    James Urquhart [email protected]
    Product Manager phone: (510) 986-3513
    Forte Software, Inc. fax: (510) 869-2092-----------------------------------------------------------------------------------
    Dale V. Georg
    Indus Consultancy Services [email protected]
    Mack Trucks, Inc. [email protected]
    [email protected]------------------

  • Problems with inner classes in JasminXT

    I hava problems with inner classes in JasminXT.
    I wrote:
    ;This is outer class
    .source Outer.j
    .class Outer
    .super SomeSuperClass
    .method public createrInnerClass()V
         .limit stack 10
         .limit locals 10
         ;create a Inner object
         new Outer$Inner
         dup
         invokenonvirtual Outer$Inner/<init>(LOuter;)V
         ;test function must print a Outer class name
         invokevirtual Outer$Inner/testFunction ()V
    .end method
    ;This is inner class
    .source Outer$Inner.j
    .class Outer$Inner
    .super java/lang/Object
    .field final this$0 LOuter;
    ;contructor
    .method pubilc <init>(LOuter;)V
         .limit stack 10
         .limit locals 10
         aload_0
         invokenonvirtual Object/<init>()V
         aload_0
         aload_1
         putfield Inner$Outer/this$0 LOuter;
         return
    .end method
    ;test
    .method public testFunction ()V
         .limit stack 10
         .limit locals 10
         ;get out object
         getstatic java/io/PrintStream/out  java/io/PrintStream;
         aload_0
         invokevirtual java/lang/Object/getClass()java/lang/Class;
         ;now in stack Outer$Inner class
         invokevirtual java/Class/getDeclaringClass()java/lang/Class;
         ;but now in stack null
         invokevirtual java/io/PrintStream/print (Ljava/lang/Object;)V
    .end methodI used dejasmin. Code was equal.
    What I have to do? Why getDeclatingClass () returns null, but in dejasmin code
    it returns Outer class?

    Outer$Inner naming convention is not used by JVM to get declaring class.
    You need to have proper InnerClasses attribute (refer to http://java.sun.com/docs/books/vmspec/2nd-edition/html/ClassFile.doc.html#79996)
    in the generated classes. Did you check using jclasslib or another class file viewer and verified that your .class files have proper InnerClasses attribute?

  • Fwd: Link Problems With Borland C++ 4.52

    We are trying to wrapper Crystal Reports from Forte. I know that there
    are a number of other people in this same boat, as I've seen messages
    posted here at various points during the past few weeks. We are having
    a particular problem with getting the compile to go through, which we
    have sent in to Forte Tech Support. I'm forwarding the message I sent
    Tech Support to this group in the hopes that someone here may have
    already seen and resolved a similar problem.
    Thanks in advance for any help you can offer!
    Dale V. Georg
    Indus Consultancy Services [email protected]
    Mack Trucks, Inc. [email protected]
    Date: Wed, 28 May 97 13:47:20 PDT
    From: dg7077a
    To: Forte Technical Support
    Cc: Gardner, Steve
    Subject: Link Problems With Borland C++ 4.52
    Name of requestor: [Dale V. Georg / Alaiah Chandrashekar]
    Company: [Indus Consultancy Services]
    Phone for callback: [(610) 709-3956]
    Customer Site: [Mack Trucks, Inc.]
    Product: [Forte]
    Version of Forte: [2.0.H.1]
    Server OS: [SunOS 5.5.1]
    Client OS: [Windows 3.1]
    DBMS: [Oracle 7.2.3]
    Reproducible?: [Yes]
    Brief description: [Link Problems With Borland C++ 4.52]
    Complete description of problem or question:
    We are attempting to write a C-wrapper interface from Forte to Crystal
    Reports' Report Engine. We are using Borland C++ version 4.52.
    Unfortunately, we have been unable to get a clean compile after a day
    and half of effort. We get as far as the link stage of the
    compilation, and
    the compiler aborts with an "Unknown symbol" error message for each
    of the functions we are trying to wrapper. We have tried a number of
    ideas to fix this problem, and are continuing to try to solve it on
    our own,
    but any help would be greatly appreciated. Please have someone call
    Alaiah Chandrashekar at the number above as soon as possible.
    Thanks!
    Dale V. Georg
    Indus Consultancy Services [email protected]
    Mack Trucks, Inc. [email protected]
    -------------

    We are trying to wrapper Crystal Reports from Forte. I know that there
    are a number of other people in this same boat, as I've seen messages
    posted here at various points during the past few weeks. We are having
    a particular problem with getting the compile to go through, which we
    have sent in to Forte Tech Support. I'm forwarding the message I sent
    Tech Support to this group in the hopes that someone here may have
    already seen and resolved a similar problem.
    Thanks in advance for any help you can offer!
    Dale V. Georg
    Indus Consultancy Services [email protected]
    Mack Trucks, Inc. [email protected]
    Date: Wed, 28 May 97 13:47:20 PDT
    From: dg7077a
    To: Forte Technical Support
    Cc: Gardner, Steve
    Subject: Link Problems With Borland C++ 4.52
    Name of requestor: [Dale V. Georg / Alaiah Chandrashekar]
    Company: [Indus Consultancy Services]
    Phone for callback: [(610) 709-3956]
    Customer Site: [Mack Trucks, Inc.]
    Product: [Forte]
    Version of Forte: [2.0.H.1]
    Server OS: [SunOS 5.5.1]
    Client OS: [Windows 3.1]
    DBMS: [Oracle 7.2.3]
    Reproducible?: [Yes]
    Brief description: [Link Problems With Borland C++ 4.52]
    Complete description of problem or question:
    We are attempting to write a C-wrapper interface from Forte to Crystal
    Reports' Report Engine. We are using Borland C++ version 4.52.
    Unfortunately, we have been unable to get a clean compile after a day
    and half of effort. We get as far as the link stage of the
    compilation, and
    the compiler aborts with an "Unknown symbol" error message for each
    of the functions we are trying to wrapper. We have tried a number of
    ideas to fix this problem, and are continuing to try to solve it on
    our own,
    but any help would be greatly appreciated. Please have someone call
    Alaiah Chandrashekar at the number above as soon as possible.
    Thanks!
    Dale V. Georg
    Indus Consultancy Services [email protected]
    Mack Trucks, Inc. [email protected]
    -------------

  • HT201365 ahs anyone had a problem with the passcode to iphone after ios7?

    Has anyone had a problem with the passcode to iphone after ios7?

    This link may help with your passcode issues:
    iOS:  Forgotten passcode or device disabled after entering wrong passcode
    http://support.apple.com/kb/HT1212?viewlocale=en_US

  • I have a problem with wifi in my iphone 4s, i already try everything and download latest version 7.1(11D167) but wifi switch is not working, its my humble request to Apple support team that pls resolve this problem as soon as possible because

    I have a problem with wifi in my iphone 4s, i already try everything and download latest version 7.1(11D167) but wifi switch is not working, its my humble request to Apple support team that pls resolve this problem as soon as possible because its a prestiage of Apple Company.
    Pls inform me how can i resolve the problem of wifi.

    You have to go to autherized iPhone agent.

  • Problems with home button on iPhone 4

    problems with home button on iphone 4

    If its due to sensitivity issues, these self help guides might help.
    http://www.youtube.com/watch?v=zNwr_mxgs9Q
    http://www.youtube.com/watch?v=lSqPC1V0PPg&feature=related
    By the way, alcohol based hand sanitisers work too.
    Don't overapply it in one go though. You'll have to allow the alcohol to evaporate.
    One final tip, after its dried, I'd recommend you to leave your iPhone's home button facing a laptop's vent just to bake it a little drier.

  • HI I HAVE PROBLEM WITH APPSTORE ON MY IPHONE,,,i CANT DOWNLOAD ANYTHINK,,,,BECAUSE MY SESSION HAS TIMED OUT...WHAT I HAVE TO DO NOW?

    HI I HAVE PROBLEM WITH APPSTORE ON MY IPHONE,,,i CANT DOWNLOAD ANYTHINK,,,,BECAUSE MY SESSION HAS TIMED OUT...WHAT I HAVE TO DO NOW?

    Hello dear sir alex_h1 i'm still have the same problem my problem is not with imessage or facetime i'm using ipad2 so still cant activate my ipad i hope you help me soon thank you .

  • HT3529 i have a problem with mms in my iPhone 5s when m trying to send MMS

    i have a problem with mms in my iPhone 5s when m trying to send MMS then a message appears on the screen 'cannot send messageMMS Messaging needs to be enabled to send this message' but in settings there is no setting available to inable MMS in message settings

    Had the same problem. Have you checked your Cellular Data Network MMS fields? You should write there your MMS settings (APN, username, password, mmsc, mms proxy and mms max message size). You can get the data from your carrier. After that you could need to restart iPhone.  Worked for me.

  • I have problem with storage on my iphone.

    I have problem with storage on my iphone 6. Before i uppgrade to the newest ios. I had 100 Gb free. Now i have nothing free. and iphone keeps saying that my storage is full. And does not work propperly
    Need help fast thanx

    Purchasing more Storage on iCloud will not increase the Storage Capacity of your iDevice.
    You need to Delete Content from your iDevice...
    Goto... Settings > General > Usage > Storage = Then Delete Content...
    See Here  >   http://osxdaily.com/2013/07/24/remove-data-storage-iphone-ipad/

  • I am experiencing two problems with iTunes on my iPhone 5s.

    I am experiencing two problems with iTunes on my iPhone 5s.
    Issue 1: iTunes Match
    Some song playback is merging songs. I select “Song A” to be played and midway through the song it begins playing “Song B” however when I look at my phone it indicates that “Song A” is still playing even though the actual music is not “Song A”. I searched the Apple Support Community as well as the internet and this seems to be an ongoing issue back to 2012 that has not been resolved. All of the “fixes” that are provided do not work. For example, update/sync iTunes Match, delete the song from your iPhone and re-download from the cloud or delete the song from your iTunes including the iCloud and re-download. None of which worked. I even tried to complete erase the song from my computer hard drive and restarted my computer and then re-downloaded the song and it was still not working.
    Issue 2: iTunes Preview Track
    I am unable to preview any music on iTunes through the iTunes app on my phone. I have signed out of my user ID and restarted my phone and then logged back in and it did not fix the problem. My iTunes Match and iTunes radio are allowing me to play music. My software is up-to-date.

    Same problem here, Im running the latest version of iOS 7 on my iphone 5S (ipod 5S) bricked lol. It was working fine and then a mates baby grabbed my phone and dropped it (not very high) then it went off so i turned it on and BAM i got the grey backround with the apple logo on it so, I waited, Then it went to BSOD and got stuck in that loop, I then done a manual reset I was able to turn it off thats all. I tried restore in recovery mode with the latest itunes it come up with Unknown Error, error code (14) (something to do with unreconizable USB) tried many diffrent USB ports but sadly nothing, I then tried DFU mode with itunes still not working. Im really stuck on this one I need some assitance PLEASE! HELP!
    No aftermarket apps on iphone 5s
    Latest iOS 7 on iphone 5s
    Latest itunes 11.1.5.5
    Running Windows 7 (good comp)

  • I've a problem with bluetooth on my iphone 4

    HI!
    I've a problem with bluetooth on my iphone 4 : it doesn't recognize anything
    what can I do ?

    What do you mean anything?
    IPhone support bluetooth for stereo speakers/headsets, handsfree telephone devices/headsets, some peer-to-peer apps from the app store, some bluetooth keyboards, and tethering where provided by the carrier.
    Other than this, it will not connect to another phone/device/computer.
    Withe what are you trying to connect?

  • Hi guys, I have a problem with imessage. My iphone 4S is factory unlocked and i have been using t-mobile carrier. i tried settings - messages - imessage on but there is this 'waiting for activation' thing. Does anyone know how to solve this? Thanks!

    Hi guys, I have a problem with imessage. My iphone 4S is factory unlocked and i have been using t-mobile carrier. i tried settings - messages - imessage on but there is this 'waiting for activation' thing. Does anyone know how to solve this?
    Thanks!

    If you are in the UK:
    Please upgrade your plan to Web n Walk plus. One of our users on T-Mobile UK had this to report back to us:
    T-Mobile UK are in fact port blocking to ensure fair usage on their base Web and Walk Plan. I have upgraded to Web and Walk Plus and as a result the port blocks are lifted and I get a higher data allowance!
    We were also recently contacted by T-Mobile UK, who stated the following:
    Any smart phone (iphone, android etc) that is bought directly from T-Mobile should be automatically provisioned with Web n Walk plus, if customers have bought a handset sim free then they will need to call customer services and get this added. It is free of charge for most price plans (including new plans) but some older plans will generate a charge of £5pm for this.

  • Problem with my battery on iphone 5c

    problem with my battery on iphone 5c

    I too am so angry with my new carrier , This new year I decided to end my contract with Softbank because they did so many nasty things to foreigners over the years with like roaming charges 5 bad 3G 2 bad 4G  iPhones and Apple store Sendai trying to play it ,we have no control over carriers.
    So I had to pay a painful contract  ending payment and MNP charge so I could use my paid for number on a NTT
    iPhone 5 C that was at a 1 JP Yen special plan ,They just put on options you do not need like Wallet and charge for it ,then when I finally went throught the most rigourous security checks I was given a already opened Box because after I noticed the tape around the clear plastic top was missing and either side I saw Japanese customers opening the box by them selves I was not offered why ? when io came back they said they can open it do what ever they want until the money goes into the carriers account because I got it for free!,yet they will milk me for 2 years ! Blood suckers! Japan is a rip off.And they lock it so you can not use WiFi after 2 year contract.
    Getting back to the point ,Because I was a new customer and Gaijin they are stopping me from clearing History ,it should be blue but greyed out ,they do so they can track browesing then sell my data on preferences for shopping.
    Not only Apple that is keeping track it is also Carriers who are working together to get more money from us and not only that they damage your iPhone out of spitefulness because you canceleed the contract and want to use WiFi only They send so mant Ads trying to sell rubbish and you can not stop it ,and they change the contract in the middle and also try to stop you from cancelling a contract by telling you will be black listed.

Maybe you are looking for