Issue testing and using Cocoapods in a Swift project

后端 未结 3 990
陌清茗
陌清茗 2020-12-28 13:15

I\'m writing an app in Swift, using XCode 6 Beta-6. I\'m using Cocoapods and I\'m creating some unit tests.

The issue is this one: apparently is not possible to hav

3条回答
  •  醉梦人生
    2020-12-28 13:45

    Maybe you have configured the "Objective-C Bridging Header" setting at Project level, so the "Test" target inherits that value and maybe this "Test" target is not linked with Cocoapods.

    Use link_with as @sergio suggests or set the "Pods*.debug/release" configuration for the "Test" target at "Project->Info->Configuration".

提交回复
热议问题