【问题标题】:SenTestingKit/SenTestingKit.h not found while working with Stripe使用 Stripe 时未找到 SenTestingKit/SenTestingKit.h
【发布时间】:2013-12-18 01:38:46
【问题描述】:

我目前正在开发一个项目,我正在使用 Stripe 包从我的项目中实现 PaymentGateWay。我已经为这个项目使用了 UnitTesting(自动导入 SenTestingKit/SenTestingKit.h)。但是在编译项目时

//
//  PKCardCVCTest.h
//  PKPayment Example
//
//  Created by Alex MacCaw on 2/6/13.
//  Copyright (c) 2013 Stripe. All rights reserved.
//

#import <SenTestingKit/SenTestingKit.h>

@interface PKCardCVCTest : SenTestCase

@end

此 PKCardCVCTest 类导致错误,显示未找到 SenTestingKit/SenTestingKit.h 文件。 任何人都可以帮助我吗...

【问题讨论】:

    标签: ios


    【解决方案1】:

    确保您的测试类 (PKCardCVCTest) 的框架搜索路径设置正确。如果您使用 4.5 之后的 XCode,则路径应设置为“”。请考虑这篇博文:http://blog.drunknbass.com/post/32310268995/if-you-upgraded-to-xcode-4-5-recently-and-your

    【讨论】:

      猜你喜欢
      • 2014-02-04
      • 1970-01-01
      • 1970-01-01
      • 2013-08-02
      • 2011-03-22
      • 1970-01-01
      • 2019-01-25
      • 2015-05-27
      • 1970-01-01
      相关资源
      最近更新 更多