iOS Question Local Mac / Simulator / Real device

Discussion in 'iOS Questions' started by Eumel, Jul 2, 2015.

  1. Eumel

    Eumel Active Member Licensed User

    Hi ..

    a few hours i tried now to solve my problem .. But i can´t ....

    With the new IDE and the ability to use the iOS Simulator, i installed the local mac builder.

    I downloaded and copied the files as descripted HERE .

    So if i try to compile to the simulator i get:

    Undefined symbols for architecture i386:
    "_CTRadioAccessTechnologyCDMA1x", referenced from:
    +[_ATRequest getSubNetwork] in libAppTracker.a(_ATRequest.o)
    "_CTRadioAccessTechnologyCDMAEVDORev0", referenced from:
    +[_ATRequest getSubNetwork] in libAppTracker.a(_ATRequest.o)
    "_CTRadioAccessTechnologyCDMAEVDORevA", referenced from:
    +[_ATRequest getSubNetwork] in libAppTracker.a(_ATRequest.o)
    "_CTRadioAccessTechnologyCDMAEVDORevB", referenced from:
    +[_ATRequest getSubNetwork] in libAppTracker.a(_ATRequest.o)
    "_CTRadioAccessTechnologyEdge", referenced from:
    +[_ATRequest getSubNetwork] in libAppTracker.a(_ATRequest.o)
    "_CTRadioAccessTechnologyGPRS", referenced from:
    +[_ATRequest getSubNetwork] in libAppTracker.a(_ATRequest.o)
    "_CTRadioAccessTechnologyHSDPA", referenced from:
    +[_ATRequest getSubNetwork] in libAppTracker.a(_ATRequest.o)
    "_CTRadioAccessTechnologyHSUPA", referenced from:
    +[_ATRequest getSubNetwork] in libAppTracker.a(_ATRequest.o)
    "_CTRadioAccessTechnologyLTE", referenced from:
    +[_ATRequest getSubNetwork] in libAppTracker.a(_ATRequest.o)
    "_CTRadioAccessTechnologyWCDMA", referenced from:
    +[_ATRequest getSubNetwork] in libAppTracker.a(_ATRequest.o)
    "_CTRadioAccessTechnologyeHRPD", referenced from:
    +[_ATRequest getSubNetwork] in libAppTracker.a(_ATRequest.o)
    "_OBJC_CLASS_$_CTTelephonyNetworkInfo", referenced from:
    objc-class-ref in libAppTracker.a(_ATRequest.o)
    ld: symbol(s) not found for architecture i386
    clang: error: linker command failed with exit code 1 (use -v to see invocation)


    and try to compile to real device i get:

    Undefined symbols for architecture arm64:
    "_CTRadioAccessTechnologyCDMA1x", referenced from:
    +[_ATRequest getSubNetwork] in libAppTracker.a(_ATRequest.o)
    "_CTRadioAccessTechnologyCDMAEVDORev0", referenced from:
    +[_ATRequest getSubNetwork] in libAppTracker.a(_ATRequest.o)
    "_CTRadioAccessTechnologyCDMAEVDORevA", referenced from:
    +[_ATRequest getSubNetwork] in libAppTracker.a(_ATRequest.o)
    "_CTRadioAccessTechnologyCDMAEVDORevB", referenced from:
    +[_ATRequest getSubNetwork] in libAppTracker.a(_ATRequest.o)
    "_CTRadioAccessTechnologyEdge", referenced from:
    +[_ATRequest getSubNetwork] in libAppTracker.a(_ATRequest.o)
    "_CTRadioAccessTechnologyGPRS", referenced from:
    +[_ATRequest getSubNetwork] in libAppTracker.a(_ATRequest.o)
    "_CTRadioAccessTechnologyHSDPA", referenced from:
    +[_ATRequest getSubNetwork] in libAppTracker.a(_ATRequest.o)
    "_CTRadioAccessTechnologyHSUPA", referenced from:
    +[_ATRequest getSubNetwork] in libAppTracker.a(_ATRequest.o)
    "_CTRadioAccessTechnologyLTE", referenced from:
    +[_ATRequest getSubNetwork] in libAppTracker.a(_ATRequest.o)
    "_CTRadioAccessTechnologyWCDMA", referenced from:
    +[_ATRequest getSubNetwork] in libAppTracker.a(_ATRequest.o)
    "_CTRadioAccessTechnologyeHRPD", referenced from:
    +[_ATRequest getSubNetwork] in libAppTracker.a(_ATRequest.o)
    "_OBJC_CLASS_$_CTTelephonyNetworkInfo", referenced from:
    objc-class-ref in libAppTracker.a(_ATRequest.o)
    ld: symbol(s) not found for architecture arm64
    clang: error: linker command failed with exit code 1 (use -v to see invocation)


    It must have to do something with leadbolt but i don´t find out what ..
     
  2. Erel

    Erel Administrator Staff Member Licensed User

    Based on this error message libAppTracker.a doesn't include arm64 (64 bit device) and i386 (simulator) binaries.
     
  3. Eumel

    Eumel Active Member Licensed User

    ok. is there something i did wrong, or i can change ?

    i copied the libAppTracker.a from the SDK

    on the hosted builder

    a files
    • libAppTracker, size=3933908, modified=12/01/2014 12:27:15

    on the local builder

    a files
    • libAppTracker, size=5,822,244, modified=04/07/2015 12:04:34

    can i get the file from hosted builder ?
     
    Last edited: Jul 3, 2015
  4. Erel

    Erel Administrator Staff Member Licensed User

    Eumel likes this.
  5. Eumel

    Eumel Active Member Licensed User

    It works. Thank you.
     
  6. Taha

    Taha Member Licensed User

    Something similar is happenning now with libiAdMob, Erel. I checked the file versions are different on local macserver 2.51 and and hosted one.

    I put GoogleMobileAds.framework into libs with no improvement.

    Code:
    d: warning: object file (../../Libs/libiPhone.a(B4IMessageComposer.o)) was built for newer iOS version (7.1) than being linked (7.0)
    ld: warning: object 
    file (../../Libs/libiPhone.a(B4IClipboard.o)) was built for newer iOS version (7.1) than being linked (7.0)
    ld: warning: object 
    file (../../Libs/libiPhone.a(B4ITTS.o)) was built for newer iOS version (7.1) than being linked (7.0)
    ld: warning: object 
    file (../../Libs/libiPhone.a(B4ISettings.o)) was built for newer iOS version (7.1) than being linked (7.0)
    ld: warning: object 
    file (../../Libs/libiPhone.a(iPhone.o)) was built for newer iOS version (7.1) than being linked (7.0)
    ld: warning: object 
    file (../../Libs/libiPhone.a(B4IMotion.o)) was built for newer iOS version (7.1) than being linked (7.0)
    ld: warning: object 
    file (../../Libs/libiPhone.a(B4IDocumentInteraction.o)) was built for newer iOS version (7.1) than being linked (7.0)
    ld: warning: object 
    file (../../Libs/libiAdMob.a(B4IAdView.o)) was built for newer iOS version (8.0) than being linked (7.0)
    Undefined symbols 
    for architecture armv7:
      
    "_OBJC_CLASS_$_MPVolumeView", referenced from:
          objc-class-ref 
    in GoogleMobileAds(flat-armv7)
    ld: symbol(s) 
    not found for architecture armv7
    clang: error: linker command failed with 
    exit code 1 (use -v to see invocation)


    Error: ** BUILD FAILED **
     
  7. Erel

    Erel Administrator Staff Member Licensed User

    Please start a new thread for this.
     
Loading...