This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

libFTC_DEBUG.a Library Not Working with Xcode Simulator

I am getting the following error when compiling for the IOS simulator. But everything is fine when compiling for the iPhone device.

ld: warning: ignoring file /Users/glenn/Software/Development/LMIOS-LS/lc/smartconfig/libFTC_DEBUG.a, missing required architecture i386 in file /Users/glenn/Software/Development/LMIOS-LS/lc/smartconfig/libFTC_DEBUG.a (2 slices)

ld: warning: ignoring file /Users/glenn/Software/Development/LMIOS-LS/lc/smartconfig/libFTC_RELEASE.a, missing required architecture i386 in file /Users/glenn/Software/Development/LMIOS-LS/lc/smartconfig/libFTC_RELEASE.a (2 slices)

Undefined symbols for architecture i386:

  "_OBJC_CLASS_$_FirstTimeConfig", referenced from:

      objc-class-ref in CC3xMainViewController.o

      objc-class-ref in CC3xUtility.o

ld: symbol(s) not found for architecture i386

clang: error: linker command failed with exit code 1 (use -v to see invocation)

I found the following discussion which states this often happens when the external library has not been compiled for both the device and simulator.

http://stackoverflow.com/questions/15659631/ignoring-file-path-missing-required-architecture-i386-in-file

If this is the case, is there a universal library available so I can return to using the Simulator which enables me to test various versions of iPhone and iPad. 

I have also seen the following discussion, but my profiles seem fine, everything else works, including other external libraries - http://e2e.ti.com/support/low_power_rf/f/851/t/295269.aspx

If I shouldn't be seeing this message, please also let me know so I can return to trying to solve the problem.

Glenn.

  • Hi Glenn,

    I'm sorry but the library was not built for the simulator... I'm not sure why, but there may have been behavior differences/limitations of using wifi over simulator as opposed to the real thing.

    Regards,

    Aaron

  • Hi Aaron,

    Thank you for looking into this issue and letting me know the current situation.

    Having Smart Config work within the IOS simulator is not something that I or any developer would require, as this functionality can be tested on hardware.

    But not having a universal library means you have broken every developers work flow and made it impossible for them to test their applications on the many different form factors now available for the IOS platform. This situation is likely to lead to a lot of people not integrating Smart Config into their apps, which I am sure would lead to reduced sales of the CC3000 module.

    To remedy this situation, so I and other developers can return to testing the UI aspects of our apps in the different simulators is very simple. In fact it is about 10 minutes work.

    The following Internet search will return lots of results - "creating a universal static library for IOS"

    I do hope the development team reconsider this situation, as it really is such a simple fix that will solve a pretty big problem.

    Glenn.

  • Hi Aaron, 

    I was wondering if there was a response from the development team regarding this? 

    I'd really like to be able to return to testing my app for the different iphones, ipods and ipads that I do not own.

    Glenn.

  • Is there any update to this?

    Please...

    Glenn.

  • Now that I'm getting close to publishing my software, I really need this to be resolved.

    Basically this is the choice I'm faced with:-

    1. TI performs a 10 minute effort to recompile the library as a universal library

    2. I have to spend  a few $1000s  purchasing all different types of iOS devices with various version of iOS installed.

    Surely option 1 would be a better outcome for me, and every other developer that wants to integrate SmartConfig into their app.

    Can I please get some response to this. If it is not possible to perform this 10 minute effort to save a customer $1000s, then can I please at least get a reason why this is the case?

    Glenn.

  • Hi all,

    Im also waiting for Universal/Simulator support/libraries. Will you help generate these?!

    Thanks,

    Eyal

  • Hi,

    Anyone found any solution for this?

    Thanks a lot,

    Mihri

  • Hi

    Another thing that could easily be fixed, but would mean a lot, is a way to disable the libraries debug output when the samrtconfig is active. It totally swamps the debugger window. Even better a filter function so that only errors and possably warnings would be show instead of ALOT of useless info.

    Also we still can't get it to work on an IPhone 6, for reasons unknown (Not yet analyzed enough). Packets get sent in the air but it doesn't get detected/decoded correctly by the CC3000 module.

    Looking forward to testing the new SP released today, on monday.


    Kind regards

    Jimmy