回答編集履歴

3

targetの追加についてすごく簡単に追記

2019/09/10 05:59

投稿

isaoeka
isaoeka

スコア80

test CHANGED
@@ -53,3 +53,11 @@
53
53
 
54
54
 
55
55
  一応確認ですが、 `TinyOCR` というのはご自身のXcode projectの Application Target名であっていますよね?
56
+
57
+
58
+
59
+ TestTargetを追加したい場合は下記のようにTargetの追加から `Unit・UI Test Target` を追加出来ます。
60
+
61
+
62
+
63
+ ![イメージ説明](6c758cad8cd9b70d771e79091ac0d558.png)

2

追記

2019/09/10 05:59

投稿

isaoeka
isaoeka

スコア80

test CHANGED
@@ -17,3 +17,39 @@
17
17
  mv podfile Podfile
18
18
 
19
19
  ```
20
+
21
+
22
+
23
+
24
+
25
+ ### 追記(すみません)
26
+
27
+
28
+
29
+ > able to find a target named 'xxxxTests', did find 'xxxx'.
30
+
31
+
32
+
33
+ とのことなので、もしかしたら UnitTest, UITestのTargetを作成していないのかなと思われます。
34
+
35
+
36
+
37
+ 手っ取り早い対応だと `xxxxTests` の指定を消してしまうのが良いかと思います。(↓例
38
+
39
+ ```
40
+
41
+ target 'TinyOCR' do
42
+
43
+ use_frameworks!
44
+
45
+
46
+
47
+ pod "Alamofire"
48
+
49
+ end
50
+
51
+ ```
52
+
53
+
54
+
55
+ 一応確認ですが、 `TinyOCR` というのはご自身のXcode projectの Application Target名であっていますよね?

1

タイポしていました ( s/fount/found/

2019/09/10 05:51

投稿

isaoeka
isaoeka

スコア80

test CHANGED
@@ -1,4 +1,4 @@
1
- > [!] No `Podfile` fount in the project directory
1
+ > [!] No `Podfile` found in the project directory
2
2
 
3
3
 
4
4