Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to run tests on some simulators and physical device #683

Open
asib opened this issue Jul 20, 2016 · 1 comment
Open

Unable to run tests on some simulators and physical device #683

asib opened this issue Jul 20, 2016 · 1 comment

Comments

@asib
Copy link

asib commented Jul 20, 2016

I have managed to get tests to run on some simulators (4s, 5, iPad 2, iPad Retina).

However, all other simulators give the following errors:

ld: warning: ignoring file /Users/jacobfenton/Library/Developer/Xcode/DerivedData/CPJSONRPC-cpktnnydpaamdoagrbwueojkshzy/Build/Products/Debug-iphonesimulator/Kiwi/Kiwi.framework/Kiwi, file was built for i386 which is not the architecture being linked (x86_64): /Users/jacobfenton/Library/Developer/Xcode/DerivedData/CPJSONRPC-cpktnnydpaamdoagrbwueojkshzy/Build/Products/Debug-iphonesimulator/Kiwi/Kiwi.framework/Kiwi
Undefined symbols for architecture x86_64:
  "_OBJC_CLASS_$_KWCallSite", referenced from:
      objc-class-ref in SampleSpec.o
  "_OBJC_CLASS_$_KWSpec", referenced from:
      objc-class-ref in SampleSpec.o
      _OBJC_CLASS_$_MathSpec in SampleSpec.o
  "_OBJC_CLASS_$_KWValue", referenced from:
      objc-class-ref in SampleSpec.o
  "_OBJC_METACLASS_$_KWSpec", referenced from:
      _OBJC_METACLASS_$_MathSpec in SampleSpec.o
  "_describe", referenced from:
      +[MathSpec buildExampleGroups] in SampleSpec.o
  "_it", referenced from:
      ___30+[MathSpec buildExampleGroups]_block_invoke in SampleSpec.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

Further, when I try to run tests on a physical device, I simply get 'Kiwi.h' file not found in SampleSpec.m, which I copied from the tutorial.

I do apologise if this is me being boneheaded, but I've scoured the net for a solution, for the best part of a day, to no avail.

@ginhoor
Copy link

ginhoor commented Aug 25, 2016

i have the same problem (T。T)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants