質問編集履歴

7

内容の更新

2021/12/14 03:28

投稿

Risney
Risney

スコア148

test CHANGED
File without changes
test CHANGED
@@ -1,6 +1,6 @@
1
1
  ### 前提・実現したいこと
2
2
 
3
- 本エラーの解消し、ビルドしたい。
3
+ 本エラーの解消し、シミュレーションでビルドしたい。
4
4
 
5
5
  宜しくお願いいたします。
6
6
 

6

試したことの追加

2021/12/14 03:28

投稿

Risney
Risney

スコア148

test CHANGED
File without changes
test CHANGED
@@ -7,6 +7,12 @@
7
7
 
8
8
 
9
9
  ### 発生している問題・エラーメッセージ
10
+
11
+
12
+
13
+ Xcode:Xcode13.2
14
+
15
+ Swiift:4.2
10
16
 
11
17
 
12
18
 
@@ -24,7 +30,7 @@
24
30
 
25
31
 
26
32
 
27
- ### 試したこと①
33
+ ### 試したこと①:エラー内容のパスを辿る
28
34
 
29
35
  エラーに表示されているパスを辿って確認してみたのですが、
30
36
 
@@ -70,11 +76,13 @@
70
76
 
71
77
 
72
78
 
73
- ### 試したこと②
74
79
 
75
- [Xcode build input file cannot be found](https://teratail.com/questions/202783)
76
80
 
81
+ ### 試したこと② by teratail類似質問
82
+
83
+ ・[Xcode build input file cannot be found](https://teratail.com/questions/202783)
84
+
77
- > 引用テキストエラー原因が同じかはわかりませんが、
85
+ > エラー原因が同じかはわかりませんが、
78
86
 
79
87
  私の場合は、Build PhaseのCompile Sourceからそのファイルを削除し、再度登録し直すことで解決できました。
80
88
 
@@ -86,20 +94,86 @@
86
94
 
87
95
 
88
96
 
89
- ### 補足情報(FW/ツールのバージョンなど)
97
+ 上記と同様にCompile Sourceに関連する記事
90
98
 
99
+ ・[XCode:gitブランチを切り替えるとerror: Build input file cannot be found](https://zw-kakeru.com/tips/xcode-build-branch-error/)
100
+
101
+ ・[「Build input file cannot be found」となったときの対処法](https://qiita.com/shuntarou/items/34d048edb981496a4019)
102
+
103
+
104
+
105
+ ### 試したこと③ by teratailの類似質問
106
+
107
+ ・[【Xcode】Build input file cannot be foundの解決方法](https://teratail.com/questions/351883)
108
+
109
+
110
+
111
+ > Any iOS Device はAppStoreにアップロードする時専用のものです。
112
+
113
+ 通常は確認したいデバイスを選択してBuildします。
114
+
115
+
116
+
91
- 参考にしたページ
117
+ 上記teratail質問を参考にしましが、
118
+
119
+ 状況が自分とは異なる為、解決ならず。
120
+
121
+
122
+
123
+
124
+
125
+ ### 試したこと④ by teratailの類似質問
126
+
127
+ [Build input file cannot be foundのエラーを消したいです](https://teratail.com/questions/256442)
128
+
129
+
130
+
131
+ 上記teratailの質問を参考にinfo.plist Fileにplistへのパスを追加しましたが、解決ならず。
132
+
133
+ 一度削除→クリーンビルド→再度設定しビルドしてもダメです。
134
+
135
+ ![イメージ説明](d4b984768d195451a106ac20653a3f96.png)
136
+
137
+
138
+
139
+ 上記同様の記事
140
+
141
+ ・[Build input file cannot be found と言われた時の対処法](https://qiita.com/gaipoi/items/8674743a0cbe9bcb17f7)
142
+
143
+
144
+
145
+ ### 試したこと⑤ by teratailの類似質問
146
+
147
+ ・[Build input file cannot be found: ''](https://teratail.com/questions/271203)
148
+
149
+ > choosese.info.plist.fileを選択して、info.plistを指定する。
150
+
151
+
152
+
153
+ 上記teratailの質問を参考にしましたが、
154
+
155
+ 自分の環境だとchoosese.info.plist.fileを選択する画面がないので、解決ならず。
156
+
157
+ ![イメージ説明](02b2a30b355de9b390602b3a819c116f.png)
158
+
159
+
160
+
161
+
162
+
163
+ 上記と同様にinfo.plistに関連する記事
92
164
 
93
165
  ・[【Xcode】Xcode11 error: Build input file cannot be found: 'Info.plist’が出たときの対処法](https://www.hfoasi8fje3.work/entry/2020/01/11/160922)
94
166
 
95
- ・[XCode:gitブランチを切り替えるとerror: Build input file cannot be found](https://zw-kakeru.com/tips/xcode-build-branch-error/)
167
+ ・[Xcode】「Build input file cannot be found」となった時の対処法](https://yamamtoblog.com/build-input-file-cannot-be-found/)
96
168
 
169
+
170
+
171
+ ### 補足情報(FW/ツールのバージョンなど)
172
+
173
+ その他参考にしたが、まだ試していない記事
174
+
97
- ・[【Xcode】「Build input file cannot be found」となった時の対処法](https://yamamtoblog.com/build-input-file-cannot-be-found/)
175
+ ・[Build input file cannot be found:Swiftエラー](https://teratail.com/questions/248664)(未解決で止まっている)
98
176
 
99
177
  ・[Xcode開発で「Build input file cannot be found」エラーが発生したとき](https://aqlier.com/2019/04/22/xcode_build-input/)
100
178
 
101
- ・[Build input file cannot be found と言われた時の対処法](https://qiita.com/gaipoi/items/8674743a0cbe9bcb17f7)
102
-
103
- ・[「Build input file cannot be found」となったときの対処法](https://qiita.com/shuntarou/items/34d048edb981496a4019)
104
-
105
179
  ・[「ビルド入力ファイルが見つかりません」Appleデベロッパーフォーラム](https://developer-apple-com.translate.goog/forums/thread/116142?_x_tr_sl=en&_x_tr_tl=ja&_x_tr_hl=ja&_x_tr_pto=sc)

5

内容の更新

2021/12/08 10:45

投稿

Risney
Risney

スコア148

test CHANGED
File without changes
test CHANGED
@@ -60,6 +60,16 @@
60
60
 
61
61
 
62
62
 
63
+ 確かに「ファイルが存在しない。」からエラーになっているのはわかりましたが、以下が不明です。
64
+
65
+ ・そもそもこのファイルが元々ここにあったのか
66
+
67
+ ・参照しようとしているパスが変更されたのか
68
+
69
+ ・どこの設定で参照しているのか
70
+
71
+
72
+
63
73
  ### 試したこと②
64
74
 
65
75
  [Xcode build input file cannot be found](https://teratail.com/questions/202783)

4

発生している問題の更新

2021/12/08 04:51

投稿

Risney
Risney

スコア148

test CHANGED
File without changes
test CHANGED
@@ -10,11 +10,15 @@
10
10
 
11
11
 
12
12
 
13
- 下記パスにビルド入力ファイルが見つからないそうです。
14
-
15
13
  ```
16
14
 
17
15
  Build input file cannot be found: '/Users/UserName/Library/Developer/Xcode/DerivedData/SampleProject-fuzdquvhhshlnmguqhumxoubxxma/Build/Products/Debug-iphonesimulator/SampleProject.app/SampleProject'
16
+
17
+
18
+
19
+ //和訳
20
+
21
+ ビルド入力ファイルが見つかりません: '/ Users / UserName / Library / Developer / Xcode / DerivedData / SampleProject-fuzdquvhhshlnmguqhumxoubxxma / Build / Products / Debug-iphonesimulator / SampleProject.app / SampleProject'
18
22
 
19
23
  ```
20
24
 

3

内容の修正

2021/12/07 08:51

投稿

Risney
Risney

スコア148

test CHANGED
File without changes
test CHANGED
@@ -56,7 +56,7 @@
56
56
 
57
57
 
58
58
 
59
- ### 試したこと
59
+ ### 試したこと
60
60
 
61
61
  [Xcode build input file cannot be found](https://teratail.com/questions/202783)
62
62
 

2

試したことの追加

2021/12/07 06:55

投稿

Risney
Risney

スコア148

test CHANGED
File without changes
test CHANGED
@@ -38,7 +38,25 @@
38
38
 
39
39
 
40
40
 
41
+ 【追記】
42
+
43
+ 上記ファイルはダブルクリックでは開けませんでしたが、
44
+
45
+ 以下の方法で中身を確認することができました。
46
+
47
+ 右クリック > パッケージの内容を表示
48
+
49
+ ![イメージ説明](74776a9b4a206b5291d216c55bcba2f5.png)
50
+
51
+
52
+
53
+ しかし`SampleProject.app`内に`SampleProject`というファイルは存在せず。
54
+
55
+ ![イメージ説明](37f242f492d6b79354a4ff3490937e4b.png)
56
+
57
+
58
+
41
- ### 試したこと
59
+ ### 試したこと
42
60
 
43
61
  [Xcode build input file cannot be found](https://teratail.com/questions/202783)
44
62
 

1

タイトルの変更

2021/12/07 06:55

投稿

Risney
Risney

スコア148

test CHANGED
@@ -1 +1 @@
1
- Build input file cannot be found: '/path/fileName'
1
+ Build input file cannot be found: '/path/XXX.app'
test CHANGED
File without changes