質問編集履歴

9

2017/11/06 18:20

投稿

birdbird
birdbird

スコア20

test CHANGED
@@ -1 +1 @@
1
- XcodeでArchiveビルド時にのみエラーが出てしまう
1
+ XcodeでArchiveビルド時にのみエラーが出てしまう
test CHANGED
File without changes

8

2017/11/06 18:20

投稿

birdbird
birdbird

スコア20

test CHANGED
File without changes
test CHANGED
@@ -77,3 +77,11 @@
77
77
  end
78
78
 
79
79
  ```
80
+
81
+
82
+
83
+ #要因に関連するかもしれない事
84
+
85
+ cocoapodsでフレームワークをインストールした際に、carthageなるもののインストールについては行いませんでした。
86
+
87
+ これが何か関係していたりするのでしょうか

7

状況追加

2017/11/06 18:16

投稿

birdbird
birdbird

スコア20

test CHANGED
File without changes
test CHANGED
@@ -32,7 +32,11 @@
32
32
 
33
33
  ・普段のビルドは実機もシュミレータも問題無く通ります
34
34
 
35
- ・メインプロジェクトの「Build Setting」の「Search Paths」の「Release」項目には「build/Release-iphones/フレームワーク名」とあります
35
+ ・メインプロジェクトの「TARGETS」の「Build Setting」の「Framework Search Paths」には、以下があります
36
+
37
+ "$PODS_CONFIGURATION_BUILD_DIR/XXXX"
38
+
39
+ $(inheried)
36
40
 
37
41
 
38
42
 

6

エラーを追加

2017/11/06 17:58

投稿

birdbird
birdbird

スコア20

test CHANGED
File without changes
test CHANGED
@@ -11,6 +11,12 @@
11
11
 
12
12
 
13
13
  というエラーが、import文で表示されます
14
+
15
+
16
+
17
+ また、たまに以下のようなエラー表示にもなります
18
+
19
+ 「フレームワークのメソッド is unavailable: cannot find Swift declaration for this class」
14
20
 
15
21
 
16
22
 

5

誤字

2017/11/06 17:51

投稿

birdbird
birdbird

スコア20

test CHANGED
File without changes
test CHANGED
@@ -42,19 +42,19 @@
42
42
 
43
43
 
44
44
 
45
- target 'プロジェクト名' do
45
+ target 'SampleProject' do
46
46
 
47
47
  # Comment the next line if you're not using Swift and don't want to use dynamic frameworks
48
48
 
49
49
  use_frameworks!
50
50
 
51
- pod 'フレームワーク名'
51
+ pod 'SampleProject'
52
52
 
53
- # Pods forプロジェクト名
53
+ # Pods for SampleProject
54
54
 
55
55
 
56
56
 
57
- target 'プロジェクト名Tests' do
57
+ target 'SampleProjectTests' do
58
58
 
59
59
  inherit! :search_paths
60
60
 

4

微修正

2017/11/06 17:39

投稿

birdbird
birdbird

スコア20

test CHANGED
File without changes
test CHANGED
@@ -54,7 +54,7 @@
54
54
 
55
55
 
56
56
 
57
- target 'OrcaTests' do
57
+ target 'プロジェクト名Tests' do
58
58
 
59
59
  inherit! :search_paths
60
60
 

3

Podfile追加

2017/11/06 17:37

投稿

birdbird
birdbird

スコア20

test CHANGED
File without changes
test CHANGED
@@ -6,7 +6,7 @@
6
6
 
7
7
 
8
8
 
9
- 「Swift Compiler Error No such module 'XXXX'」
9
+ 「Swift Compiler Error No such module 'フレームワーク名'」
10
10
 
11
11
 
12
12
 
@@ -27,3 +27,43 @@
27
27
  ・普段のビルドは実機もシュミレータも問題無く通ります
28
28
 
29
29
  ・メインプロジェクトの「Build Setting」の「Search Paths」の「Release」項目には「build/Release-iphones/フレームワーク名」とあります
30
+
31
+
32
+
33
+ #Podfileの中身
34
+
35
+ 以下の通りになっています
36
+
37
+ ```
38
+
39
+ # Uncomment the next line to define a global platform for your project
40
+
41
+ # platform :ios, '9.0'
42
+
43
+
44
+
45
+ target 'プロジェクト名' do
46
+
47
+ # Comment the next line if you're not using Swift and don't want to use dynamic frameworks
48
+
49
+ use_frameworks!
50
+
51
+ pod 'フレームワーク名'
52
+
53
+ # Pods forプロジェクト名
54
+
55
+
56
+
57
+ target 'OrcaTests' do
58
+
59
+ inherit! :search_paths
60
+
61
+ # Pods for testing
62
+
63
+ end
64
+
65
+
66
+
67
+ end
68
+
69
+ ```

2

文体

2017/11/06 17:37

投稿

birdbird
birdbird

スコア20

test CHANGED
File without changes
test CHANGED
@@ -1,8 +1,8 @@
1
1
  #問題要点
2
2
 
3
- Xcode9で、Archiveビルド時のみエラーが出てしま
3
+ Xcode9で、Archiveビルド時のみエラーが出てしまいます
4
4
 
5
- エラーの内容は、cocoapodsでインストールしたpodsのフレームワークが見つからないというもの
5
+ エラーの内容は、cocoapodsでインストールしたpodsのフレームワークが見つからないというものです
6
6
 
7
7
 
8
8
 
@@ -22,8 +22,8 @@
22
22
 
23
23
  #環境
24
24
 
25
- ・**ワークスペースで作業をしており、メインのプロジェクトとPodsのプロジェクトを含んでい**
25
+ ・**ワークスペースで作業をしており、メインのプロジェクトとPodsのプロジェクトを含んでいます**
26
26
 
27
- ・普段のビルドは実機もシュミレータも問題無く通
27
+ ・普段のビルドは実機もシュミレータも問題無く通ります
28
28
 
29
29
  ・メインプロジェクトの「Build Setting」の「Search Paths」の「Release」項目には「build/Release-iphones/フレームワーク名」とあります

1

空白

2017/11/06 17:34

投稿

birdbird
birdbird

スコア20

test CHANGED
File without changes
test CHANGED
@@ -4,7 +4,13 @@
4
4
 
5
5
  エラーの内容は、cocoapodsでインストールしたpodsのフレームワークが見つからないというもの
6
6
 
7
+
8
+
7
- 「Swift Compiler Error No such module 'XXXX'」というエラーが、import文で表示されます
9
+ 「Swift Compiler Error No such module 'XXXX'」
10
+
11
+
12
+
13
+ というエラーが、import文で表示されます
8
14
 
9
15
 
10
16