سؤال

Everything worked fine, but on some build I've got this (when trying to launch tests):

The test bundle at "path to xctest" could not be loaded because it is built for a different architecture than the currently-running test rig (which is running as x86_64)

What am I doing wrong? I've tried to rebuild, clean, relaunch Xcode, reboot OS X...

هل كانت مفيدة؟

المحلول

I think I found the solution! You can't currently build for iOS 6 and iOS7 x64. So if you want iOS7 x64, you have to change the build variable (click on the project and then on the target) Architectures to the value "...including 64-bit". Unfortunately any iOS prior to 7 isn't supported.

Maybe this helps.

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top