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.

Smart Config source code is not compiling in XCODE6.3

While building SmartConfig Source code, it is displaying following error..

ld: warning: ignoring file /Naresh/CC3000_Smartconfig_iOS_Source-1.1/src/CC3x/libFTC_DEBUG_ARM_64.a, missing required architecture x86_64 in file /Naresh/CC3000_Smartconfig_iOS_Source-1.1/src/CC3x/libFTC_DEBUG_ARM_64.a (2 slices)

ld: warning: ignoring file /Naresh/CC3000_Smartconfig_iOS_Source-1.1/src/CC3x/libFTC_RELEASE_ARM_64.a, missing required architecture x86_64 in file /Naresh/CC3000_Smartconfig_iOS_Source-1.1/src/CC3x/libFTC_RELEASE_ARM_64.a (2 slices)

Undefined symbols for architecture x86_64:

  "_OBJC_CLASS_$_FirstTimeConfig", referenced from:

      objc-class-ref in CC3xUtility.o

      objc-class-ref in CC3xMainViewController.o

      objc-class-ref in CC3xMainViewController_iPad.o

ld: symbol(s) not found for architecture x86_64

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

  • Hi,

    Can you please paste the full logs?

    Regards,
    Gigi Joseph.
  • Hi,

    While building with Simulator it is showing the following linker error. I understood that the library files are not build for i386 architecture. But, how to run this app in Simulator?

    Ld /Users/eff-mac-004/Library/Developer/Xcode/DerivedData/CC3x-bjklpeciftudjhduhxxwkjmphbxu/Build/Products/Debug-iphonesimulator/CC3x.app/CC3x normal i386

        cd /Naresh/CC3000_Smartconfig_iOS_Source-1.1/src

        export IPHONEOS_DEPLOYMENT_TARGET=6.0

        export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin"

        /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -arch i386 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator8.3.sdk -L/Users/eff-mac-004/Library/Developer/Xcode/DerivedData/CC3x-bjklpeciftudjhduhxxwkjmphbxu/Build/Products/Debug-iphonesimulator -L/Naresh/CC3000_Smartconfig_iOS_Source-1.1/src/CC3x -F/Users/eff-mac-004/Library/Developer/Xcode/DerivedData/CC3x-bjklpeciftudjhduhxxwkjmphbxu/Build/Products/Debug-iphonesimulator -filelist /Users/eff-mac-004/Library/Developer/Xcode/DerivedData/CC3x-bjklpeciftudjhduhxxwkjmphbxu/Build/Intermediates/CC3x.build/Debug-iphonesimulator/CC3x.build/Objects-normal/i386/CC3x.LinkFileList -Xlinker -objc_abi_version -Xlinker 2 -fobjc-arc -fobjc-link-runtime -Xlinker -no_implicit_dylibs -mios-simulator-version-min=6.0 -framework SystemConfiguration -lFTC_RELEASE_ARM_32 -framework CFNetwork -framework UIKit -framework Foundation -framework CoreGraphics -lFTC_DEBUG_ARM_32 -framework QuartzCore -liconv -framework CoreVideo -framework CoreMedia -framework AVFoundation -Xlinker -dependency_info -Xlinker /Users/eff-mac-004/Library/Developer/Xcode/DerivedData/CC3x-bjklpeciftudjhduhxxwkjmphbxu/Build/Intermediates/CC3x.build/Debug-iphonesimulator/CC3x.build/Objects-normal/i386/CC3x_dependency_info.dat -o /Users/eff-mac-004/Library/Developer/Xcode/DerivedData/CC3x-bjklpeciftudjhduhxxwkjmphbxu/Build/Products/Debug-iphonesimulator/CC3x.app/CC3x

    ld: warning: ignoring file /Naresh/CC3000_Smartconfig_iOS_Source-1.1/src/CC3x/libFTC_RELEASE_ARM_32.a, missing required architecture i386 in file /Naresh/CC3000_Smartconfig_iOS_Source-1.1/src/CC3x/libFTC_RELEASE_ARM_32.a (2 slices)

    ld: warning: ignoring file /Naresh/CC3000_Smartconfig_iOS_Source-1.1/src/CC3x/libFTC_DEBUG_ARM_32.a, missing required architecture i386 in file /Naresh/CC3000_Smartconfig_iOS_Source-1.1/src/CC3x/libFTC_DEBUG_ARM_32.a (2 slices)

    Undefined symbols for architecture i386:

      "_OBJC_CLASS_$_FirstTimeConfig", referenced from:

          objc-class-ref in CC3xUtility.o

          objc-class-ref in CC3xMainViewController.o

          objc-class-ref in CC3xMainViewController_iPad.o

    ld: symbol(s) not found for architecture i386

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