質問編集履歴

3

編集

2019/03/03 10:08

投稿

takeshi1907
takeshi1907

スコア54

test CHANGED
@@ -1 +1 @@
1
- React native で実行時のエラー「no bundle url present make sure you're running a packager server」
1
+ ReactNative で実行時のエラー「no bundle url present make sure you're running a packager server」
test CHANGED
File without changes

2

編集

2019/03/03 10:07

投稿

takeshi1907
takeshi1907

スコア54

test CHANGED
File without changes
test CHANGED
@@ -42,7 +42,7 @@
42
42
 
43
43
 
44
44
 
45
- 1、一度以下のポートを終了する
45
+ 2、一度以下のポートを終了する
46
46
 
47
47
  sudo lsof -i :8081
48
48
 
@@ -50,7 +50,7 @@
50
50
 
51
51
 
52
52
 
53
- 、info.plistに以下を追加
53
+ 3、info.plistに以下を追加
54
54
 
55
55
  <key>NSAppTransportSecurity</key>
56
56
 
@@ -76,7 +76,7 @@
76
76
 
77
77
 
78
78
 
79
- 3、キャッシュのクリア
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
- 4、その他
89
+ 5、その他
90
90
 
91
91
  GoogleのDNS(8.8.8.8)を設定
92
92
 

1

修正

2019/03/03 10:06

投稿

takeshi1907
takeshi1907

スコア54

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
- 4、GoogleのDNS(8.8.8.8)を設定
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