質問をすることでしか得られない、回答やアドバイスがある。

15分調べてもわからないことは、質問しよう!

新規登録して質問してみよう
ただいま回答率
85.49%
Swift

Swiftは、アップルのiOSおよびOS Xのためのプログラミング言語で、Objective-CやObjective-C++と共存することが意図されています

Q&A

解決済

1回答

1086閲覧

pod installを行った後に発生したエラーについて

kyoppy

総合スコア20

Swift

Swiftは、アップルのiOSおよびOS Xのためのプログラミング言語で、Objective-CやObjective-C++と共存することが意図されています

0グッド

0クリップ

投稿2016/10/06 01:40

編集2016/10/06 03:13

start.xcodeproj内のstartTests.swift内部でのエラーです。

swift

1 import XCTest 2@testable import start 3 4class startTests: XCTestCase { 5 6 override func setUp() { 7 super.setUp() 8 // Put setup code here. This method is called before the invocation of each test method in the class. 9 } 10 11 override func tearDown() { 12 // Put teardown code here. This method is called after the invocation of each test method in the class. 13 super.tearDown() 14 } 15 16 func testExample() { 17 // This is an example of a functional test case. 18 // Use XCTAssert and related functions to verify your tests produce the correct results. 19 } 20 21 func testPerformanceExample() { 22 // This is an example of a performance test case. 23 24 self.measureBlock { 25 // Put the code you want to measure the time of here. 26 } 27 } 28 29} 30

self.measureBlock {の行に、
Value of type 'startTests' has no member 'measure'と言うエラーが発生しており、改善策を教えてください。
single view project作成後にpod installを行った際にエラーが出ました。
xcode ver:7.3.1

気になる質問をクリップする

クリップした質問は、後からいつでもMYページで確認できます。

またクリップした質問に回答があった際、通知やメールを受け取ることができます。

バッドをするには、ログインかつ

こちらの条件を満たす必要があります。

Y_M

2016/10/06 02:49

それだけでは判断できないので、もう少しコードを公開してください。
guest

回答1

0

自己解決

xcodeのアップデートにより、cocoapodsが不具合を履いていたみたいです。
cocoapodsを再度入れ直したらエラーをはかなくなりました。

投稿2016/10/19 15:06

kyoppy

総合スコア20

バッドをするには、ログインかつ

こちらの条件を満たす必要があります。

あなたの回答

tips

太字

斜体

打ち消し線

見出し

引用テキストの挿入

コードの挿入

リンクの挿入

リストの挿入

番号リストの挿入

表の挿入

水平線の挿入

プレビュー

15分調べてもわからないことは
teratailで質問しよう!

ただいまの回答率
85.49%

質問をまとめることで
思考を整理して素早く解決

テンプレート機能で
簡単に質問をまとめる

質問する

関連した質問