Comments (5)
Aaaah that's most likely due to me removing a localhost exception in Info.plist
when I built the app for deployment.
Included it back in (f471f04) - I'll remember to remove it locally before I deploy the next update.
from git-point.
Facing the exact same error message today.
Reproduce case:
git clone [email protected]:gitpoint/git-point.git git-point-orig
cd git-point-orig
yarn && yarn run link && yarn start:ios
None of the provided troubleshooting options provided in CONTRIBUTING.md
did the trick for me.
The localhost exception is present in Info.plist
Environment infos:
๐บ ~/git-point-orig (master)*$ node --version
v8.1.3
๐บ ~/git-point-orig (master)*$ npm --version
5.0.3
๐บ ~/git-point-orig (master)*$ yarn --version
0.27.5
๐บ ~/git-point-orig (master)*$ react-native --version
react-native-cli: 2.0.1
react-native: 0.46.2
The app is loaded in a simulator with the following specs: iPhone 6 - iOS 10.3
Running all this on a MacBook Pro (15-inch, 2016) with OsX 10.12.6
Let me know if I can provide more details
from git-point.
@machour are you still having trouble with iOS and have only been able to test on Android? Please let me know and we'll reopen this. Apologies if we didn't get to the bottom of this in our gitter chat but I can't recall if we have ๐ค
from git-point.
Just did a fresh checkout and hit the same issue again: "No bundle URL is present".
This is the case when running "yarn start:ios" or "yarn start -- --reset-cache" and then yarn run ios in a another terminal window
๐บ ~/git-point (master)*$ yarn --version
0.27.5
๐บ ~/git-point (master)*$ npm --version
5.3.0
๐บ ~/git-point (master)*$ node --version
v8.4.0
from git-point.
I did some further digging, starting with a fresh repo and XCode, here's what I've noticed:
- when running
yarn start:ios
, theios/GitPoint/main.jsbundle
file doesn't get generated. Is that normal ? - I'm able to generate that file using
react-native bundle --entry-file='index.ios.js' --bundle-output='./ios/GitPoint/main.jsbundle' --dev=false --platform='ios' --assets-dest='./ios'
, but I'm not sure it's needed - I'm able to run the app on the iOS Simulator by hardcoding the URL and building from XCode:
--- AppDelegate.m 2017-09-08 13:14:40.000000000 +0100
+++ AppDelegate.patched 2017-09-08 13:14:34.000000000 +0100
@@ -22,7 +22,7 @@
#ifdef DEBUG
- jsCodeLocation = [[RCTBundleURLProvider sharedSettings] jsBundleURLForBundleRoot:@"index.ios" fallbackResource:nil];
+ jsCodeLocation = [NSURL URLWithString:@"http://192.168.1.2:8081/index.ios.bundle"];
#else
jsCodeLocation = [CodePush bundleURL];
#endif
- with that hardcoded url, and toggling "Enable live reload" everything works as expected
from git-point.
Related Issues (20)
- Layout needs padding on iPhoneXS HOT 1
- Only message โOne of the most feature-rich GitHub clients that siฤ 100% freeโ displayed HOT 1
- The support URL in the app store isn't very useful
- Cannot click on the bottons on iPhone X
- Can't star a repository from iOS device HOT 2
- Failed on iOS, xcode 10 HOT 5
- Make next Android release provide 64-bit versions
- please update ios app store HOT 7
- Create ticket on iOS 12.3.1 crash when submit. HOT 1
- Upgrade to styled-components@4 HOT 1
- Tool used in the main readme prototype HOT 2
- Replace deprecated React lifecycle methods
- Icons missing on iPad HOT 2
- Use Git Data API for files HOT 7
- Multitasking
- Login problem since RN 0.59
- git point crashes user UI (I think) - locks my phone
- Fix all errors on phone HOT 1
- Fix issues HOT 1
- Question
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from git-point.