Cocoapods: Cannot compile my test target anymore

Created on 29 Oct 2013  路  2Comments  路  Source: CocoaPods/CocoaPods

Hi guys,
When I want to run my unit tests, I get the following:

Pods-my-logicalTests was rejected as an implicit dependency for 'libPods-my-logicalTests.a' because its architectures 'i386' didn't contain all required architectures 'i386 x86_64'Pods was rejected as an implicit dependency for 'libPods.a' because its architectures 'i386' didn't contain all required architectures 'i386 x86_64'

Nowhere in pods, or my project for that matter, can I find an architecture field with i386 only. My pod file is as follows:

platform :ios, '7.0'
pod 'BlocksKit', '1.8.3'
pod 'CocoaLumberjack', :podspec => 'CocoaLumberjack.podspec'
#....

target 'my-logicalTests', :exclusive => true do
  pod 'KIF', '~> 2.0'
end

Any suggestions to what might be going on?

Cheers

Nik

awaiting input

Most helpful comment

Sounds like you may be getting hit by the same issue as described here and more general here.

Set the ONLY_ACTIVE_ARCH of _your_ app target to YES in the Debug configuration.

All 2 comments

Sounds like you may be getting hit by the same issue as described here and more general here.

Set the ONLY_ACTIVE_ARCH of _your_ app target to YES in the Debug configuration.

We tried that before posting, but no luck. I ended up deleting the target and setting it up again, and it worked beautifully! :-I I don't really know what we managed to do differently, so cannot really reproduce this. :-I So I'll close this thread.

Was this page helpful?
0 / 5 - 0 ratings