質問編集履歴

1

補足の追加

2022/05/04 13:20

投稿

ataru2222
ataru2222

スコア272

test CHANGED
File without changes
test CHANGED
@@ -8,8 +8,9 @@
8
8
  //↓通る
9
9
  let csvPath = Bundle.main.path(forResource: "test", ofType: "csv")
10
10
 
11
- //変数に入れた途端にエラーが起きる
11
+ //変数に入れた途端にエラーが起きる 
12
12
  let csvPath = Bundle.main.path(forResource: "\(strName)", ofType: "csv")
13
+ ※バックスラッシュが消えておりますがこちらが原因ではありません
13
14
 
14
15
  エラーメッセージ
15
16
  ```