質問編集履歴
3
編集
test
CHANGED
@@ -1 +1 @@
|
|
1
|
-
React
|
1
|
+
ReactNative で実行時のエラー「no bundle url present make sure you're running a packager server」
|
test
CHANGED
File without changes
|
2
編集
test
CHANGED
File without changes
|
test
CHANGED
@@ -42,7 +42,7 @@
|
|
42
42
|
|
43
43
|
|
44
44
|
|
45
|
-
|
45
|
+
2、一度以下のポートを終了する
|
46
46
|
|
47
47
|
sudo lsof -i :8081
|
48
48
|
|
@@ -50,7 +50,7 @@
|
|
50
50
|
|
51
51
|
|
52
52
|
|
53
|
-
|
53
|
+
3、info.plistに以下を追加
|
54
54
|
|
55
55
|
<key>NSAppTransportSecurity</key>
|
56
56
|
|
@@ -76,7 +76,7 @@
|
|
76
76
|
|
77
77
|
|
78
78
|
|
79
|
-
|
79
|
+
4、キャッシュのクリア
|
80
80
|
|
81
81
|
./node_modules/react-native/scripts/packager.sh --reset-cache
|
82
82
|
|
@@ -86,7 +86,7 @@
|
|
86
86
|
|
87
87
|
|
88
88
|
|
89
|
-
|
89
|
+
5、その他
|
90
90
|
|
91
91
|
GoogleのDNS(8.8.8.8)を設定
|
92
92
|
|
1
修正
test
CHANGED
File without changes
|
test
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
###
|
1
|
+
### 問題
|
2
2
|
|
3
3
|
|
4
4
|
|
@@ -86,23 +86,13 @@
|
|
86
86
|
|
87
87
|
|
88
88
|
|
89
|
+
4、その他
|
90
|
+
|
89
|
-
|
91
|
+
GoogleのDNS(8.8.8.8)を設定
|
90
92
|
|
91
93
|
https://stackoverflow.com/questions/48267992/react-native-no-bundle-url-present-only-on-ios-device
|
92
94
|
|
93
95
|
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
その他
|
98
|
-
|
99
|
-
以下をplistに追加した
|
100
|
-
|
101
|
-
NSAllowsArbitraryLoadsForMedia
|
102
|
-
|
103
|
-
NSAllowsArbitraryLoadsInWebContent
|
104
|
-
|
105
|
-
NSAllowsLocalNetworking
|
106
96
|
|
107
97
|
|
108
98
|
|