Organizational Research By

Surprising Reserch Topic

file was built for archive which is not the architecture being linked i386


file was built for archive which is not the architecture being linked i386  using -'iphone,ios,ipad'

I got to build static library. I want to use in my iPhone and ipad app. When I try to run the simulator I get linking errrors. I am new to iOS development. kindly help;


  ld: warning: ignoring file
  /Users/valuelabs/Desktop/DruvaProject/libraries/libnetUtils.a, file
  was built for archive which is not the architecture being linked
  (i386) Undefined symbols for architecture i386:
  "_OBJC_CLASS_$_netUtils", referenced from:
        objc-class-ref in ViewController.o ld: symbol(s) not found for architecture i386 clang: error: linker command failed with exit code 1
  (use -v to see invocation)


I tried adding i386 in the Architectures. but no luck
    

asked Sep 15, 2015 by AndresBazley
0 votes
39 views



Related Hot Questions

7 Answers

0 votes
NULL
answered Sep 15, 2015 by Ser36J
0 votes
NULL
answered Sep 15, 2015 by Tania1716uic
0 votes
NULL
answered Sep 15, 2015 by MozellePolan
0 votes
NULL
answered Sep 15, 2015 by RandyTighera
0 votes
NULL
answered Sep 15, 2015 by DGHWesleyuyq
0 votes
NULL
answered Sep 15, 2015 by MerissaBroad
0 votes
NULL
answered Sep 15, 2015 by UCKQuintonlx

...