xgqfrms / qrcode-reader-app

React Native QRcode Reader APP
MIT License
1 stars 0 forks source link

iOS & CocoaPods bug #3

Open xgqfrms opened 5 years ago

xgqfrms commented 5 years ago

iOS & CocoaPods bug

CocoaPods bug

CocoaPods is a dependency manager for Swift and Objective-C Cocoa projects.

It has over 65 thousand libraries and is used in over 3 million apps. CocoaPods can help you scale your projects elegantly.

https://cocoapods.org/

Installing required CocoaPods dependencies ? CocoaPods (https://cocoapods.org/) is not installed. It's necessary for iOS project to run correctly. Do you want to install it? Yes


$ cd ./qrcode_app/ios && pod install
xgqfrms commented 5 years ago

image image

xgqfrms commented 5 years ago

how to open android emulator on mac with shell

https://developer.android.com/studio/run/emulator-commandline

image

https://stackoverflow.com/questions/4974568/how-do-i-launch-the-android-emulator-from-the-command-line

https://stackoverflow.com/questions/19238476/mac-terminal-how-to-start-android-virtual-device-manager-on-cli/21503456

https://www.telerik.com/blogs/launch-android-emulators-ios-simulators-command-line

Flutter

https://flutter.dev/docs/get-started/install/macos#set-up-the-ios-simulator

https://flutter.dev/docs/get-started/install/macos#set-up-the-android-emulator

xgqfrms commented 5 years ago

react native run all emulator

https://facebook.github.io/react-native/docs/running-on-simulator-ios

https://github.com/facebook/react-native/blob/master/scripts/run-android-emulator.sh

$ react-native run-ios

$ react-native run-android
# qrcode-reader-app
$ react-native init qrcode_reader_app

# iOS
$ cd qrcode_reader_app && react-native run-ios
# Open qrcode_reader_app\ios\qrcode_reader_app.xcodeproj in Xcode or run "xed -b ios"
# Hit the Run button

# Have an Android emulator running (quickest way to get started), or a device connected.
# Open Android Studio > AVD
# Android
$ cd qrcode_reader_app && react-native run-android

flutter run all emulator

https://stackoverflow.com/questions/49045393/flutter-run-no-connected-devices

$ flutter devices

$ flutter run  

$ flutter emulators

$ flutter run -d 
xgqfrms-GitHub commented 5 years ago

https://facebook.github.io/react-native/docs/getting-started.html#android-development-environment

image

xgqfrms-GitHub commented 5 years ago

ios bug

image

image

https://facebook.github.io/react-native/docs/getting-started.html#android-development-environment

https://github.com/react-native-community/react-native-maps/issues/2853#issuecomment-516760615

https://github.com/facebook/react-native/issues/24450

xgqfrms-GitHub commented 5 years ago

iOS bug

pod install failed

image

image

xgqfrms-GitHub commented 5 years ago

https://github.com/CocoaPods/CocoaPods/issues?utf8=%E2%9C%93&q=react+native

xgqfrms-GitHub commented 5 years ago

iOS bug

https://cocoapods.org/

$ sudo gem install cocoapods

$ cd /ios && pod install

image

xgqfrms commented 5 years ago

image

xgqfrms-GitHub commented 5 years ago

React-Native Tutorials

https://egghead.io/courses/react-native-fundamentals

part free

https://egghead.io/courses/react-testing-cookbook

https://egghead.io/courses/react-native-fundamentals

https://egghead.io/courses/react-flux-architecture-es6

all free

https://egghead.io/courses/building-react-applications-with-idiomatic-redux

https://egghead.io/courses/getting-started-with-redux

https://egghead.io/courses/react-fundamentals

https://egghead.io/courses/manage-complex-state-in-react-apps-with-mobx

Dependencies for Windows + Android

You will need node.js, the React Native command line tools, Watchman, and Android Studio.

install

$ npm install --save react react-native-cli 

# test 

$ react-native init AwesomeProject
$ cd AwesomeProject
$ react-native run-android
# OR 
$ react-native run-ios

$ react-native start
xgqfrms-GitHub commented 5 years ago

https://github.com/xgqfrms-GitHub/React-Native/blob/gh-pages/Tutorials/readme.md