'React.js3'에 해당되는 글 1건

hello react-native

React.js3 2020. 4. 11. 22:32

사용환경 :  OSX Mojave

 

1. npm 버전확인

ELLORDNET-MPR:~ ellord$ npm --version
6.12.1

 

2. react-native-cli 설치

react native command line interface global 로 설치

ELLORDNET-MPR:~ ellord$ npm install -g react-native-cli
/Users/ellord/.nvm/versions/node/v12.13.1/bin/react-native -> /Users/ellord/.nvm/versions/node/v12.13.1/lib/node_modules/react-native-cli/index.js
+ react-native-cli@2.0.1
added 78 packages from 28 contributors in 5.137s

 

3. react-native 프로젝트 생성 : react-native init 프로젝트명 (rnTestProject)

ELLORDNET-MPR:rnTestProject ellord$ react-native init rnTestProject
This will walk you through creating a new React Native project in /Users/ellord/rnTestProject/rnTestProject
Using yarn v1.19.2
Installing react-native...
yarn add v1.19.2
info No lockfile found.
[1/4] 🔍  Resolving packages...
warning react-native > fbjs > core-js@2.6.11: core-js@<3 is no longer maintained and not recommended for usage due to the number of issues. Please, upgrade your dependencies to the actual version of core-js@3.
warning react-native > create-react-class > fbjs > core-js@1.2.7: core-js@<3 is no longer maintained and not recommended for usage due to the number of issues. Please, upgrade your dependencies to the actual version of core-js@3.
warning react-native > fbjs-scripts > core-js@2.6.11: core-js@<3 is no longer maintained and not recommended for usage due to the number of issues. Please, upgrade your dependencies to the actual version of core-js@3.
warning react-native > metro-babel-register > core-js@2.6.11: core-js@<3 is no longer maintained and not recommended for usage due to the number of issues. Please, upgrade your dependencies to the actual version of core-js@3.
warning react-native > @react-native-community/cli > metro-core > jest-haste-map > micromatch > snapdragon > source-map-resolve > resolve-url@0.2.1: https://github.com/lydell/resolve-url#deprecated
warning react-native > @react-native-community/cli > metro-core > jest-haste-map > micromatch > snapdragon > source-map-resolve > urix@0.1.0: Please see https://github.com/lydell/urix#deprecated
[2/4] 🚚  Fetching packages...
[3/4] 🔗  Linking dependencies...
warning "react-native > metro-react-native-babel-transformer@0.58.0" has unmet peer dependency "@babel/core@*".
warning "react-native > use-subscription@1.4.1" has unmet peer dependency "react@^16.8.0".
warning " > react-native@0.62.2" has unmet peer dependency "react@16.11.0".
[4/4] 🔨  Building fresh packages...
success Saved lockfile.
warning Your current version of Yarn is out of date. The latest version is "1.22.4", while you're on "1.19.2".
info To upgrade, run the following command:
$ brew upgrade yarn
success Saved 408 new dependencies.
info Direct dependencies
└─ react-native@0.62.2
info All dependencies
├─ @babel/generator@7.9.5
├─ @babel/helper-builder-binary-assignment-operator-visitor@7.8.3
├─ @babel/helper-builder-react-jsx-experimental@7.9.5
├─ @babel/helper-builder-react-jsx@7.9.0
├─ @babel/helper-create-regexp-features-plugin@7.8.8
├─ @babel/helper-define-map@7.8.3
├─ @babel/helper-explode-assignable-expression@7.8.3
├─ @babel/helper-remap-async-to-generator@7.8.3
├─ @babel/helper-validator-identifier@7.9.5
├─ @babel/helper-wrap-function@7.8.3
├─ @babel/helpers@7.9.2
├─ @babel/highlight@7.9.0
├─ @babel/parser@7.9.4
├─ @babel/plugin-external-helpers@7.8.3
├─ @babel/plugin-proposal-export-default-from@7.8.3
├─ @babel/plugin-syntax-class-properties@7.8.3
├─ @babel/plugin-syntax-dynamic-import@7.8.3
├─ @babel/plugin-syntax-export-default-from@7.8.3
├─ @babel/plugin-syntax-flow@7.8.3
├─ @babel/plugin-syntax-nullish-coalescing-operator@7.8.3
├─ @babel/plugin-syntax-object-rest-spread@7.8.3
├─ @babel/plugin-syntax-optional-catch-binding@7.8.3
├─ @babel/plugin-syntax-optional-chaining@7.8.3
├─ @babel/plugin-syntax-typescript@7.8.3
├─ @babel/plugin-transform-async-to-generator@7.8.3
├─ @babel/plugin-transform-block-scoped-functions@7.8.3
├─ @babel/plugin-transform-exponentiation-operator@7.8.3
├─ @babel/plugin-transform-member-expression-literals@7.8.3
├─ @babel/plugin-transform-object-assign@7.8.3
├─ @babel/plugin-transform-object-super@7.8.3
├─ @babel/plugin-transform-property-literals@7.8.3
├─ @babel/plugin-transform-react-jsx-source@7.9.0
├─ @babel/plugin-transform-regenerator@7.8.7
├─ @babel/plugin-transform-runtime@7.9.0
├─ @babel/plugin-transform-sticky-regex@7.8.3
├─ @babel/plugin-transform-typescript@7.9.4
├─ @babel/plugin-transform-unicode-regex@7.8.3
├─ @babel/register@7.9.0
├─ @babel/runtime@7.9.2
├─ @cnakazawa/watch@1.0.4
├─ @hapi/address@2.1.4
├─ @hapi/bourne@1.3.2
├─ @hapi/hoek@8.5.1
├─ @hapi/joi@15.1.1
├─ @hapi/topo@3.1.6
├─ @jest/fake-timers@24.9.0
├─ @react-native-community/cli-debugger-ui@4.6.3
├─ @react-native-community/cli-platform-android@4.6.3
├─ @react-native-community/cli-platform-ios@4.6.3
├─ @react-native-community/cli-types@4.6.3
├─ @react-native-community/cli@4.6.3
├─ @types/color-name@1.1.1
├─ @types/istanbul-lib-report@3.0.0
├─ @types/stack-utils@1.0.1
├─ @types/yargs@13.0.8
├─ abbrev@1.1.1
├─ abort-controller@3.0.0
├─ accepts@1.3.7
├─ anser@1.4.9
├─ ansi-colors@1.1.0
├─ ansi-cyan@0.1.1
├─ ansi-escapes@3.2.0
├─ ansi-fragments@0.2.1
├─ ansi-gray@0.1.1
├─ ansi-red@0.1.1
├─ ansi-regex@4.1.0
├─ aproba@1.2.0
├─ are-we-there-yet@1.1.5
├─ argparse@1.0.10
├─ arr-flatten@1.1.0
├─ array-filter@0.0.1
├─ array-map@0.0.0
├─ array-reduce@0.0.0
├─ array-slice@0.2.3
├─ asap@2.0.6
├─ assign-symbols@1.0.0
├─ astral-regex@1.0.0
├─ async@2.6.3
├─ atob@2.1.2
├─ babel-plugin-dynamic-import-node@2.3.0
├─ babel-plugin-syntax-trailing-function-commas@7.0.0-beta.0
├─ balanced-match@1.0.0
├─ base@0.11.2
├─ base64-js@1.3.1
├─ big-integer@1.6.48
├─ bindings@1.5.0
├─ bplist-creator@0.0.8
├─ bplist-parser@0.2.0
├─ brace-expansion@1.1.11
├─ braces@2.3.2
├─ bser@2.1.1
├─ buffer-crc32@0.2.13
├─ bytes@3.0.0
├─ cache-base@1.0.1
├─ caller-callsite@2.0.0
├─ caller-path@2.0.0
├─ capture-exit@2.0.0
├─ chardet@0.4.2
├─ chownr@1.1.4
├─ class-utils@0.3.6
├─ cli-spinners@2.3.0
├─ cli-width@2.2.0
├─ cliui@5.0.0
├─ clone@1.0.4
├─ code-point-at@1.1.0
├─ collection-visit@1.0.0
├─ color-convert@1.9.3
├─ color-name@1.1.3
├─ color-support@1.1.3
├─ colorette@1.1.0
├─ command-exists@1.2.8
├─ commander@2.20.3
├─ commondir@1.0.1
├─ compressible@2.0.18
├─ compression@1.7.4
├─ concat-map@0.0.1
├─ concat-stream@1.6.2
├─ console-control-strings@1.1.0
├─ convert-source-map@1.7.0
├─ copy-descriptor@0.1.1
├─ core-js@2.6.11
├─ core-util-is@1.0.2
├─ cosmiconfig@5.2.1
├─ create-react-class@15.6.3
├─ cross-spawn@5.1.0
├─ dayjs@1.8.24
├─ debug@2.6.9
├─ decode-uri-component@0.2.0
├─ deep-extend@0.6.0
├─ deepmerge@3.3.0
├─ defaults@1.0.3
├─ define-properties@1.1.3
├─ delegates@1.0.0
├─ denodeify@1.2.1
├─ destroy@1.0.4
├─ detect-libc@1.0.3
├─ ee-first@1.1.1
├─ emoji-regex@7.0.3
├─ encoding@0.1.12
├─ end-of-stream@1.4.4
├─ envinfo@7.5.0
├─ error-ex@1.3.2
├─ errorhandler@1.5.1
├─ eslint-plugin-relay@1.4.1
├─ esprima@4.0.1
├─ etag@1.8.1
├─ event-target-shim@5.0.1
├─ eventemitter3@3.1.2
├─ expand-brackets@2.1.4
├─ external-editor@2.2.0
├─ extglob@2.0.4
├─ fancy-log@1.3.3
├─ fbjs-css-vars@1.0.2
├─ fbjs-scripts@1.2.0
├─ figures@2.0.0
├─ file-uri-to-path@1.0.0
├─ fill-range@4.0.0
├─ finalhandler@1.1.2
├─ find-cache-dir@2.1.0
├─ for-in@1.0.2
├─ fresh@0.5.2
├─ fs-minipass@1.2.7
├─ fs.realpath@1.0.0
├─ fsevents@1.2.12
├─ function-bind@1.1.1
├─ gauge@2.7.4
├─ gensync@1.0.0-beta.1
├─ get-caller-file@2.0.5
├─ get-stream@4.1.0
├─ get-value@2.0.6
├─ graphql@14.6.0
├─ has-symbols@1.0.1
├─ has-unicode@2.0.1
├─ has-value@1.0.0
├─ hermes-engine@0.4.1
├─ http-errors@1.7.3
├─ iconv-lite@0.4.24
├─ ignore-walk@3.0.3
├─ image-size@0.6.3
├─ import-fresh@2.0.0
├─ imurmurhash@0.1.4
├─ inflight@1.0.6
├─ inherits@2.0.4
├─ ini@1.3.5
├─ inquirer@3.3.0
├─ invert-kv@2.0.0
├─ is-accessor-descriptor@1.0.0
├─ is-arrayish@0.2.1
├─ is-ci@2.0.0
├─ is-data-descriptor@1.0.0
├─ is-descriptor@1.0.2
├─ is-directory@0.3.1
├─ is-plain-object@2.0.4
├─ is-promise@2.1.0
├─ is-stream@1.1.0
├─ is-windows@1.0.2
├─ is-wsl@1.1.0
├─ isarray@1.0.0
├─ isexe@2.0.0
├─ iterall@1.3.0
├─ jest-get-type@24.9.0
├─ jest-message-util@24.9.0
├─ jest-mock@24.9.0
├─ jest-serializer@24.9.0
├─ jest-util@24.9.0
├─ jest-validate@24.9.0
├─ jest-worker@24.9.0
├─ jetifier@1.6.5
├─ js-tokens@4.0.0
├─ jsc-android@245459.0.0
├─ jsesc@2.5.2
├─ json-parse-better-errors@1.0.2
├─ json-stable-stringify@1.0.1
├─ json5@2.1.3
├─ jsonfile@4.0.0
├─ kind-of@3.2.2
├─ klaw@1.3.1
├─ lcid@2.0.0
├─ locate-path@3.0.0
├─ log-symbols@2.2.0
├─ logkitty@0.6.1
├─ loose-envify@1.4.0
├─ lru-cache@4.1.5
├─ make-dir@2.1.0
├─ makeerror@1.0.11
├─ map-age-cleaner@0.1.3
├─ map-visit@1.0.0
├─ mem@4.3.0
├─ merge-stream@1.0.1
├─ metro-config@0.58.0
├─ metro-inspector-proxy@0.58.0
├─ metro-minify-uglify@0.58.0
├─ metro-react-native-babel-transformer@0.58.0
├─ metro@0.58.0
├─ mime-db@1.43.0
├─ mime-types@2.1.11
├─ mime@2.4.4
├─ mimic-fn@1.2.0
├─ minimatch@3.0.4
├─ minimist@1.2.5
├─ minipass@2.9.0
├─ minizlib@1.3.3
├─ mixin-deep@1.3.2
├─ mkdirp@0.5.5
├─ ms@2.1.2
├─ mute-stream@0.0.7
├─ nan@2.14.0
├─ nanomatch@1.2.13
├─ needle@2.4.1
├─ negotiator@0.6.2
├─ nice-try@1.0.5
├─ node-fetch@2.6.0
├─ node-int64@0.4.0
├─ node-modules-regexp@1.0.0
├─ node-pre-gyp@0.14.0
├─ node-stream-zip@1.9.1
├─ nopt@4.0.3
├─ normalize-path@2.1.1
├─ npm-bundled@1.1.1
├─ npm-packlist@1.4.8
├─ npm-run-path@2.0.2
├─ npmlog@4.1.2
├─ number-is-nan@1.0.1
├─ ob1@0.58.0
├─ object-assign@4.1.1
├─ object-copy@0.1.0
├─ object-keys@1.1.1
├─ object.assign@4.1.0
├─ on-headers@1.0.2
├─ once@1.4.0
├─ onetime@2.0.1
├─ open@6.4.0
├─ options@0.0.6
├─ ora@3.4.0
├─ os-homedir@1.0.2
├─ os-locale@3.1.0
├─ os-tmpdir@1.0.2
├─ osenv@0.1.5
├─ p-defer@1.0.0
├─ p-finally@1.0.0
├─ p-is-promise@2.1.0
├─ p-limit@2.3.0
├─ p-locate@3.0.0
├─ p-try@2.2.0
├─ parse-json@4.0.0
├─ parse-node-version@1.0.1
├─ pascalcase@0.1.1
├─ path-exists@3.0.0
├─ path-is-absolute@1.0.1
├─ path-key@2.0.1
├─ path-parse@1.0.6
├─ pify@4.0.1
├─ pirates@4.0.1
├─ pkg-dir@3.0.0
├─ plugin-error@0.1.2
├─ posix-character-classes@0.1.1
├─ pretty-format@24.9.0
├─ private@0.1.8
├─ process-nextick-args@2.0.1
├─ prop-types@15.7.2
├─ pseudomap@1.0.2
├─ pump@3.0.0
├─ range-parser@1.2.1
├─ rc@1.2.8
├─ react-devtools-core@4.6.0
├─ react-is@16.13.1
├─ react-native@0.62.2
├─ readable-stream@2.3.7
├─ regenerate-unicode-properties@8.2.0
├─ regenerator-runtime@0.13.5
├─ regenerator-transform@0.14.4
├─ regexpu-core@4.7.0
├─ regjsgen@0.5.1
├─ regjsparser@0.6.4
├─ remove-trailing-separator@1.1.0
├─ repeat-element@1.1.3
├─ require-main-filename@2.0.0
├─ resolve-from@3.0.0
├─ resolve-url@0.2.1
├─ resolve@1.15.1
├─ restore-cursor@2.0.0
├─ ret@0.1.15
├─ rimraf@2.7.1
├─ rsvp@4.8.5
├─ run-async@2.4.0
├─ rx-lite-aggregates@4.0.8
├─ rx-lite@4.0.8
├─ rxjs@5.5.12
├─ safe-buffer@5.1.2
├─ safer-buffer@2.1.2
├─ sane@4.1.0
├─ sax@1.2.4
├─ scheduler@0.17.0
├─ semver@5.7.1
├─ send@0.17.1
├─ serialize-error@2.1.0
├─ set-blocking@2.0.0
├─ set-value@2.0.1
├─ setprototypeof@1.1.1
├─ shebang-regex@1.0.0
├─ shell-quote@1.6.1
├─ signal-exit@3.0.3
├─ simple-plist@1.1.0
├─ slice-ansi@2.1.0
├─ slide@1.1.6
├─ snapdragon-node@2.1.1
├─ snapdragon-util@3.0.1
├─ source-map-resolve@0.5.3
├─ source-map-support@0.5.16
├─ source-map-url@0.4.0
├─ split-string@3.1.0
├─ sprintf-js@1.0.3
├─ stack-utils@1.0.2
├─ stacktrace-parser@0.1.9
├─ static-extend@0.1.2
├─ statuses@1.5.0
├─ stream-buffers@2.2.0
├─ string_decoder@1.1.1
├─ string-width@2.1.1
├─ strip-eof@1.0.0
├─ strip-json-comments@2.0.1
├─ sudo-prompt@9.1.1
├─ supports-color@5.5.0
├─ symbol-observable@1.0.1
├─ tar@4.4.13
├─ temp@0.8.3
├─ throat@4.1.0
├─ through@2.3.8
├─ through2@2.0.5
├─ time-stamp@1.1.0
├─ tmp@0.0.33
├─ to-fast-properties@2.0.0
├─ to-object-path@0.3.0
├─ to-regex-range@2.1.1
├─ toidentifier@1.0.0
├─ type-fest@0.7.1
├─ typedarray@0.0.6
├─ uglify-es@3.3.9
├─ ultron@1.0.2
├─ unicode-canonical-property-names-ecmascript@1.0.4
├─ unicode-match-property-ecmascript@1.0.4
├─ unicode-match-property-value-ecmascript@1.2.0
├─ unicode-property-aliases-ecmascript@1.1.0
├─ union-value@1.0.1
├─ universalify@0.1.2
├─ unpipe@1.0.0
├─ unset-value@1.0.0
├─ urix@0.1.0
├─ use-subscription@1.4.1
├─ use@3.1.1
├─ util-deprecate@1.0.2
├─ utils-merge@1.0.1
├─ uuid@3.4.0
├─ vary@1.1.2
├─ walker@1.0.7
├─ whatwg-fetch@3.0.0
├─ wide-align@1.1.3
├─ wrap-ansi@5.1.0
├─ write-file-atomic@1.3.4
├─ xcode@2.1.0
├─ xmlbuilder@9.0.7
├─ xmldoc@1.1.2
├─ xmldom@0.1.31
├─ xpipe@1.0.5
├─ xtend@4.0.2
├─ y18n@4.0.0
├─ yallist@3.1.1
└─ yargs-parser@15.0.1
✨  Done in 44.69s.
info Setting up new React Native app in /Users/ellord/rnTestProject/rnTestProject
info Adding required dependencies
yarn add v1.19.2
[1/4] 🔍  Resolving packages...
warning jest > jest-cli > jest-config > jest-environment-jsdom > jsdom > left-pad@1.3.0: use String.prototype.padStart()
warning jest > jest-cli > jest-config > jest-environment-jsdom > jsdom > request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
[2/4] 🚚  Fetching packages...
[3/4] 🔗  Linking dependencies...
warning "@react-native-community/eslint-config > eslint-plugin-react@7.12.4" has incorrect peer dependency "eslint@^3.0.0 || ^4.0.0 || ^5.0.0".
warning "@react-native-community/eslint-config > eslint-plugin-react-native@3.6.0" has incorrect peer dependency "eslint@^3.17.0 || ^4 || ^5".
warning "@react-native-community/eslint-config > @typescript-eslint/eslint-plugin@1.13.0" has incorrect peer dependency "eslint@^5.0.0".
warning "@react-native-community/eslint-config > @typescript-eslint/parser@1.13.0" has incorrect peer dependency "eslint@^5.0.0".
warning "@react-native-community/eslint-config > @typescript-eslint/eslint-plugin > tsutils@3.17.1" has unmet peer dependency "typescript@>=2.8.0 || >= 3.2.0-dev || >= 3.3.0-dev || >= 3.4.0-dev || >= 3.5.0-dev || >= 3.6.0-dev || >= 3.6.0-beta || >= 3.7.0-dev || >= 3.7.0-beta".
[4/4] 🔨  Building fresh packages...
success Saved lockfile.
success Saved 185 new dependencies.
info Direct dependencies
├─ @react-native-community/eslint-config@0.0.5
├─ eslint@6.8.0
├─ jest@24.9.0
├─ react-test-renderer@16.11.0
└─ react@16.11.0
info All dependencies
├─ @jest/core@24.9.0
├─ @jest/reporters@24.9.0
├─ @jest/test-sequencer@24.9.0
├─ @react-native-community/eslint-config@0.0.5
├─ @types/babel__core@7.1.7
├─ @types/babel__generator@7.6.1
├─ @types/babel__template@7.0.2
├─ @types/babel__traverse@7.0.10
├─ @types/eslint-visitor-keys@1.0.0
├─ @types/json-schema@7.0.4
├─ @typescript-eslint/eslint-plugin@1.13.0
├─ @typescript-eslint/parser@1.13.0
├─ acorn-globals@4.3.4
├─ acorn-jsx@5.2.0
├─ acorn-walk@6.2.0
├─ acorn@7.1.1
├─ ajv@6.12.0
├─ array-equal@1.0.0
├─ asn1@0.2.4
├─ async-limiter@1.0.1
├─ asynckit@0.4.0
├─ aws-sign2@0.7.0
├─ aws4@1.9.1
├─ babel-eslint@10.0.1
├─ babel-plugin-jest-hoist@24.9.0
├─ babel-preset-jest@24.9.0
├─ bcrypt-pbkdf@1.0.2
├─ browser-process-hrtime@1.0.0
├─ browser-resolve@1.11.3
├─ caseless@0.12.0
├─ chardet@0.7.0
├─ co@4.6.0
├─ combined-stream@1.0.8
├─ cssom@0.3.8
├─ cssstyle@1.4.0
├─ dashdash@1.14.1
├─ data-urls@1.1.0
├─ deep-is@0.1.3
├─ delayed-stream@1.0.0
├─ detect-newline@2.1.0
├─ diff-sequences@24.9.0
├─ doctrine@3.0.0
├─ domexception@1.0.1
├─ ecc-jsbn@0.1.2
├─ es-to-primitive@1.2.1
├─ escodegen@1.14.1
├─ eslint-plugin-eslint-comments@3.1.2
├─ eslint-plugin-flowtype@2.50.3
├─ eslint-plugin-jest@22.4.1
├─ eslint-plugin-prettier@2.6.2
├─ eslint-plugin-react-hooks@1.7.0
├─ eslint-plugin-react-native-globals@0.1.2
├─ eslint-plugin-react-native@3.6.0
├─ eslint-plugin-react@7.12.4
├─ eslint-scope@5.0.0
├─ eslint-utils@1.4.3
├─ eslint@6.8.0
├─ espree@6.2.1
├─ esquery@1.2.0
├─ estraverse@4.3.0
├─ extend@3.0.2
├─ external-editor@3.1.0
├─ extsprintf@1.3.0
├─ fast-deep-equal@3.1.1
├─ fast-diff@1.2.0
├─ fast-levenshtein@2.0.6
├─ figures@3.2.0
├─ file-entry-cache@5.0.1
├─ flat-cache@2.0.1
├─ flatted@2.0.2
├─ forever-agent@0.6.1
├─ form-data@2.3.3
├─ getpass@0.1.7
├─ glob-parent@5.1.1
├─ growly@1.3.0
├─ har-schema@2.0.0
├─ har-validator@5.1.3
├─ hosted-git-info@2.8.8
├─ html-encoding-sniffer@1.0.2
├─ html-escaper@2.0.2
├─ http-signature@1.2.0
├─ ignore@4.0.6
├─ import-fresh@3.2.1
├─ inquirer@7.1.0
├─ is-callable@1.1.5
├─ is-date-object@1.0.2
├─ is-extglob@2.1.1
├─ is-generator-fn@2.1.0
├─ is-glob@4.0.1
├─ is-regex@1.0.5
├─ is-string@1.0.5
├─ is-symbol@1.0.3
├─ is-typedarray@1.0.0
├─ isstream@0.1.2
├─ istanbul-lib-instrument@3.3.0
├─ istanbul-lib-report@2.0.8
├─ istanbul-lib-source-maps@3.0.6
├─ istanbul-reports@2.2.7
├─ jest-changed-files@24.9.0
├─ jest-cli@24.9.0
├─ jest-docblock@21.2.0
├─ jest-each@24.9.0
├─ jest-environment-jsdom@24.9.0
├─ jest-environment-node@24.9.0
├─ jest-leak-detector@24.9.0
├─ jest-pnp-resolver@1.2.1
├─ jest-resolve-dependencies@24.9.0
├─ jest-watcher@24.9.0
├─ jest@24.9.0
├─ jsdom@11.12.0
├─ json-schema-traverse@0.4.1
├─ json-schema@0.2.3
├─ json-stable-stringify-without-jsonify@1.0.1
├─ json-stringify-safe@5.0.1
├─ jsprim@1.4.1
├─ jsx-ast-utils@2.2.3
├─ kleur@3.0.3
├─ left-pad@1.3.0
├─ levn@0.3.0
├─ load-json-file@4.0.0
├─ lodash.unescape@4.0.1
├─ mute-stream@0.0.8
├─ node-notifier@5.4.3
├─ normalize-package-data@2.5.0
├─ nwsapi@2.2.0
├─ oauth-sign@0.9.0
├─ object-inspect@1.7.0
├─ object.fromentries@2.0.2
├─ object.getownpropertydescriptors@2.1.0
├─ optionator@0.8.3
├─ p-each-series@1.0.0
├─ p-reduce@1.0.0
├─ parent-module@1.0.1
├─ parse5@4.0.0
├─ path-type@3.0.0
├─ performance-now@2.1.0
├─ pn@1.1.0
├─ prettier@1.16.4
├─ progress@2.0.3
├─ prompts@2.3.2
├─ psl@1.8.0
├─ qs@6.5.2
├─ react-test-renderer@16.11.0
├─ react@16.11.0
├─ read-pkg-up@4.0.0
├─ read-pkg@3.0.0
├─ request-promise-core@1.1.3
├─ request-promise-native@1.0.8
├─ request@2.88.2
├─ resolve-cwd@2.0.0
├─ rxjs@6.5.5
├─ shellwords@0.1.1
├─ sisteransi@1.0.5
├─ spdx-correct@3.1.0
├─ spdx-exceptions@2.2.0
├─ sshpk@1.16.1
├─ stealthy-require@1.1.1
├─ string.prototype.trimend@1.0.1
├─ string.prototype.trimleft@2.1.2
├─ string.prototype.trimright@2.1.2
├─ string.prototype.trimstart@1.0.1
├─ strip-json-comments@3.1.0
├─ symbol-tree@3.2.4
├─ table@5.4.6
├─ test-exclude@5.2.3
├─ text-table@0.2.0
├─ tough-cookie@2.5.0
├─ tslib@1.11.1
├─ tsutils@3.17.1
├─ tunnel-agent@0.6.0
├─ tweetnacl@0.14.5
├─ uri-js@4.2.2
├─ util.promisify@1.0.1
├─ v8-compile-cache@2.1.0
├─ validate-npm-package-license@3.0.4
├─ verror@1.10.0
├─ w3c-hr-time@1.0.2
├─ whatwg-encoding@1.0.5
├─ whatwg-mimetype@2.3.0
├─ whatwg-url@6.5.0
├─ word-wrap@1.2.3
├─ write-file-atomic@2.4.1
├─ write@1.0.3
├─ xml-name-validator@3.0.0
└─ yargs-parser@13.1.2
✨  Done in 17.20s.
info Adding required dev dependencies
yarn add v1.19.2
[1/4] 🔍  Resolving packages...
warning jest > @jest/core > jest-config > jest-environment-jsdom > jsdom > request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
[2/4] 🚚  Fetching packages...
warning Pattern ["@babel/core@^7.9.0"] is trying to unpack in the same destination "/Users/ellord/Library/Caches/Yarn/v6/npm-@babel-core-7.9.0-ac977b538b77e132ff706f3b8a4dbad09c03c56e-integrity/node_modules/@babel/core" as pattern ["@babel/core@^7.0.0","@babel/core@^7.0.0","@babel/core@^7.0.0","@babel/core@^7.0.0","@babel/core@^7.0.0","@babel/core@^7.1.0","@babel/core@^7.1.0","@babel/core@^7.7.5"]. This could result in non-deterministic behavior, skipping.
warning Pattern ["@babel/runtime@^7.9.2"] is trying to unpack in the same destination "/Users/ellord/Library/Caches/Yarn/v6/npm-@babel-runtime-7.9.2-d90df0583a3a252f09aaa619665367bae518db06-integrity/node_modules/@babel/runtime" as pattern ["@babel/runtime@^7.0.0","@babel/runtime@^7.8.4"]. This could result in non-deterministic behavior, skipping.
[3/4] 🔗  Linking dependencies...
warning "@react-native-community/eslint-config > @typescript-eslint/eslint-plugin > tsutils@3.17.1" has unmet peer dependency "typescript@>=2.8.0 || >= 3.2.0-dev || >= 3.3.0-dev || >= 3.4.0-dev || >= 3.5.0-dev || >= 3.6.0-dev || >= 3.6.0-beta || >= 3.7.0-dev || >= 3.7.0-beta".
[4/4] 🔨  Building fresh packages...
success Saved lockfile.
success Saved 93 new dependencies.
info Direct dependencies
├─ @babel/core@7.9.0
├─ @babel/runtime@7.9.2
├─ @react-native-community/eslint-config@1.0.0
├─ babel-jest@25.3.0
├─ eslint@6.8.0
├─ jest@25.3.0
└─ metro-react-native-babel-preset@0.59.0
info All dependencies
├─ @babel/core@7.9.0
├─ @babel/plugin-syntax-async-generators@7.8.4
├─ @babel/plugin-syntax-bigint@7.8.3
├─ @babel/plugin-syntax-json-strings@7.8.3
├─ @babel/plugin-syntax-logical-assignment-operators@7.8.3
├─ @babel/plugin-syntax-numeric-separator@7.8.3
├─ @babel/plugin-transform-react-jsx-self@7.9.0
├─ @babel/runtime-corejs3@7.9.2
├─ @babel/runtime@7.9.2
├─ @bcoe/v8-coverage@0.2.3
├─ @istanbuljs/load-nyc-config@1.0.0
├─ @jest/reporters@25.3.0
├─ @jest/test-sequencer@25.3.0
├─ @react-native-community/eslint-config@1.0.0
├─ @react-native-community/eslint-plugin@1.0.0
├─ @sinonjs/commons@1.7.2
├─ @types/prettier@1.19.1
├─ @typescript-eslint/eslint-plugin@2.27.0
├─ @typescript-eslint/parser@2.27.0
├─ acorn-globals@4.3.4
├─ array-includes@3.1.1
├─ babel-eslint@10.1.0
├─ babel-jest@25.3.0
├─ babel-plugin-jest-hoist@25.2.6
├─ babel-preset-current-node-syntax@0.1.2
├─ braces@3.0.2
├─ core-js-pure@3.6.5
├─ cssom@0.4.4
├─ cssstyle@2.2.0
├─ data-urls@1.1.0
├─ detect-newline@3.1.0
├─ diff-sequences@25.2.6
├─ escodegen@1.14.1
├─ eslint-config-prettier@6.10.1
├─ eslint-plugin-eslint-comments@3.1.2
├─ eslint-plugin-prettier@3.1.2
├─ eslint-plugin-react-hooks@3.0.0
├─ eslint-plugin-react-native@3.8.1
├─ eslint-plugin-react@7.19.0
├─ eslint@6.8.0
├─ fast-diff@1.2.0
├─ fill-range@7.0.1
├─ fsevents@2.1.2
├─ get-stdin@6.0.0
├─ human-signals@1.1.1
├─ internal-slot@1.0.2
├─ ip-regex@2.1.0
├─ istanbul-lib-source-maps@4.0.0
├─ istanbul-reports@3.0.2
├─ jest-changed-files@25.3.0
├─ jest-cli@25.3.0
├─ jest-docblock@25.3.0
├─ jest-each@25.3.0
├─ jest-environment-jsdom@25.3.0
├─ jest-environment-node@25.3.0
├─ jest-leak-detector@25.3.0
├─ jest-resolve-dependencies@25.3.0
├─ jest-watcher@25.3.0
├─ jest@25.3.0
├─ jsdom@15.2.1
├─ jsx-ast-utils@2.2.3
├─ lolex@5.1.2
├─ metro-react-native-babel-preset@0.59.0
├─ node-notifier@6.0.0
├─ nwsapi@2.2.0
├─ object.entries@1.1.1
├─ object.fromentries@2.0.2
├─ object.values@1.1.1
├─ p-each-series@2.1.0
├─ parse5@5.1.0
├─ picomatch@2.2.2
├─ pkg-dir@4.2.0
├─ prettier-linter-helpers@1.0.0
├─ prettier@2.0.4
├─ regexp.prototype.flags@1.3.0
├─ request-promise-native@1.0.8
├─ request@2.88.2
├─ resolve-cwd@3.0.0
├─ saxes@3.1.11
├─ string.prototype.matchall@4.0.2
├─ strip-bom@4.0.0
├─ strip-final-newline@2.0.0
├─ supports-hyperlinks@2.1.0
├─ terminal-link@2.1.1
├─ test-exclude@6.0.0
├─ to-regex-range@5.0.1
├─ type-detect@4.0.8
├─ typedarray-to-buffer@3.1.5
├─ v8-to-istanbul@4.1.3
├─ w3c-xmlserializer@1.1.2
├─ write-file-atomic@3.0.3
├─ xmlchars@2.2.0
└─ xregexp@4.3.0
✨  Done in 18.81s.
info Installing required CocoaPods dependencies
(node:26210) UnhandledPromiseRejectionWarning: Error: Failed to install CocoaPods dependencies for iOS project, which is required by this template.
Please try again manually: "cd ./rnTestProject/ios && pod install".
CocoaPods documentation: https://cocoapods.org/
    at runPodInstall (/Users/ellord/rnTestProject/rnTestProject/node_modules/@react-native-community/cli/build/tools/installPods.js:99:13)
    at processTicksAndRejections (internal/process/task_queues.js:93:5)
(node:26210) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 2)
(node:26210) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

 

iOS 를위한 CocoaPods 의존성 설치가 에러가 났으므로 수동으로 설치하라고 함.

 

ELLORDNET-MPR:rnTestProject ellord$ cd ./rnTestProject/ios && pod install
/System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/2.3.0/universal-darwin18/rbconfig.rb:215: warning: Insecure world writable dir /usr/local/instantclient in PATH, mode 040777
Analyzing dependencies
Fetching podspec for `DoubleConversion` from `../node_modules/react-native/third-party-podspecs/DoubleConversion.podspec`
Fetching podspec for `FBLazyVector` from `../node_modules/react-native/Libraries/FBLazyVector`
Fetching podspec for `FBReactNativeSpec` from `../node_modules/react-native/Libraries/FBReactNativeSpec`
Fetching podspec for `Folly` from `../node_modules/react-native/third-party-podspecs/Folly.podspec`
Fetching podspec for `RCTRequired` from `../node_modules/react-native/Libraries/RCTRequired`
Fetching podspec for `RCTTypeSafety` from `../node_modules/react-native/Libraries/TypeSafety`
Fetching podspec for `React` from `../node_modules/react-native/`
Fetching podspec for `React-Core` from `../node_modules/react-native/`
Fetching podspec for `React-CoreModules` from `../node_modules/react-native/React/CoreModules`
Fetching podspec for `React-RCTActionSheet` from `../node_modules/react-native/Libraries/ActionSheetIOS`
Fetching podspec for `React-RCTAnimation` from `../node_modules/react-native/Libraries/NativeAnimation`
Fetching podspec for `React-RCTBlob` from `../node_modules/react-native/Libraries/Blob`
Fetching podspec for `React-RCTImage` from `../node_modules/react-native/Libraries/Image`
Fetching podspec for `React-RCTLinking` from `../node_modules/react-native/Libraries/LinkingIOS`
Fetching podspec for `React-RCTNetwork` from `../node_modules/react-native/Libraries/Network`
Fetching podspec for `React-RCTSettings` from `../node_modules/react-native/Libraries/Settings`
Fetching podspec for `React-RCTText` from `../node_modules/react-native/Libraries/Text`
Fetching podspec for `React-RCTVibration` from `../node_modules/react-native/Libraries/Vibration`
Fetching podspec for `React-cxxreact` from `../node_modules/react-native/ReactCommon/cxxreact`
Fetching podspec for `React-jsi` from `../node_modules/react-native/ReactCommon/jsi`
Fetching podspec for `React-jsiexecutor` from `../node_modules/react-native/ReactCommon/jsiexecutor`
Fetching podspec for `React-jsinspector` from `../node_modules/react-native/ReactCommon/jsinspector`
Fetching podspec for `ReactCommon` from `../node_modules/react-native/ReactCommon`
Fetching podspec for `Yoga` from `../node_modules/react-native/ReactCommon/yoga`
Fetching podspec for `glog` from `../node_modules/react-native/third-party-podspecs/glog.podspec`
[!] Unable to find a specification for `FlipperKit (~> 0.33.1)`

[!] [!] Xcodeproj doesn't know about the following attributes {"inputFileListPaths"=>[], "outputFileListPaths"=>[]} for the 'PBXShellScriptBuildPhase' isa.
If this attribute was generated by Xcode please file an issue: https://github.com/CocoaPods/Xcodeproj/issues/new

[!] [!] Xcodeproj doesn't know about the following attributes {"inputFileListPaths"=>[], "outputFileListPaths"=>[]} for the 'PBXShellScriptBuildPhase' isa.
If this attribute was generated by Xcode please file an issue: https://github.com/CocoaPods/Xcodeproj/issues/new

 

Unable to find a specification for `FlipperKit (~> 0.33.1)` 에러가 나서 아래와 같이 pod update

 

ELLORDNET-MPR:ios ellord$ pod repo update
/System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/2.3.0/universal-darwin18/rbconfig.rb:215: warning: Insecure world writable dir /usr/local/instantclient in PATH, mode 040777
Updating spec repo `master`
  $ /usr/local/bin/git -C /Users/ellord/.cocoapods/repos/master fetch origin --progress
  remote: Enumerating objects: 195138, done.        
  remote: Counting objects: 100% (195138/195138), done.        
  remote: Compressing objects: 100% (197/197), done.        
  remote: Total 1679401 (delta 194992), reused 194933 (delta 194933), pack-reused 1484263        
  Receiving objects: 100% (1679401/1679401), 190.50 MiB | 505.00 KiB/s, done.
  Resolving deltas: 100% (1149487/1149487), completed with 12057 local objects.
  From https://github.com/CocoaPods/Specs
     0e87777151a..936f8b43020  master     -> origin/master
  $ /usr/local/bin/git -C /Users/ellord/.cocoapods/repos/master rev-parse --abbrev-ref HEAD
  master
  $ /usr/local/bin/git -C /Users/ellord/.cocoapods/repos/master reset --hard origin/master
  Updating files: 100% (407715/407715), done.
  HEAD is now at 936f8b43020 [Add] LBTitleFrontImageBehindButton 1.0.1
warning: inexact rename detection was skipped due to too many files.
warning: you may want to set your diff.renameLimit variable to at least 165030 and retry the command.

CocoaPods 1.9.1 is available.
To update use: `sudo gem install cocoapods`

For more information, see https://blog.cocoapods.org and the CHANGELOG for this version at https://github.com/CocoaPods/CocoaPods/releases/tag/1.9.1

 

업데이트가 있으니 sudo gem install cocoapods 로 설치하라고 함.

 

ELLORDNET-MPR:ios ellord$ sudo gem install cocoapods
Password:
/System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/2.3.0/universal-darwin18/rbconfig.rb:215: warning: Insecure world writable dir /usr/local/instantclient in PATH, mode 040777
Fetching: concurrent-ruby-1.1.6.gem (100%)
Successfully installed concurrent-ruby-1.1.6
Fetching: httpclient-2.8.3.gem (100%)
Successfully installed httpclient-2.8.3
Fetching: algoliasearch-1.27.1.gem (100%)
Successfully installed algoliasearch-1.27.1
Fetching: ffi-1.12.2.gem (100%)
Building native extensions.  This could take a while...
Successfully installed ffi-1.12.2
Fetching: ethon-0.12.0.gem (100%)
Successfully installed ethon-0.12.0
Fetching: typhoeus-1.3.1.gem (100%)
Successfully installed typhoeus-1.3.1
Fetching: cocoapods-core-1.9.1.gem (100%)
Successfully installed cocoapods-core-1.9.1
Fetching: cocoapods-deintegrate-1.0.4.gem (100%)
Successfully installed cocoapods-deintegrate-1.0.4
Fetching: cocoapods-downloader-1.3.0.gem (100%)
Successfully installed cocoapods-downloader-1.3.0
Fetching: cocoapods-trunk-1.4.1.gem (100%)
Successfully installed cocoapods-trunk-1.4.1
Fetching: molinillo-0.6.6.gem (100%)
Successfully installed molinillo-0.6.6
Fetching: atomos-0.1.3.gem (100%)
Successfully installed atomos-0.1.3
Fetching: nanaimo-0.2.6.gem (100%)
Successfully installed nanaimo-0.2.6
Fetching: xcodeproj-1.16.0.gem (100%)
Successfully installed xcodeproj-1.16.0
Fetching: fourflusher-2.3.1.gem (100%)
Successfully installed fourflusher-2.3.1
Fetching: ruby-macho-1.4.0.gem (100%)
Successfully installed ruby-macho-1.4.0
Fetching: cocoapods-1.9.1.gem (100%)
Successfully installed cocoapods-1.9.1
Parsing documentation for concurrent-ruby-1.1.6
Installing ri documentation for concurrent-ruby-1.1.6
Parsing documentation for httpclient-2.8.3
Installing ri documentation for httpclient-2.8.3
Parsing documentation for algoliasearch-1.27.1
Installing ri documentation for algoliasearch-1.27.1
Parsing documentation for ffi-1.12.2
Installing ri documentation for ffi-1.12.2
Parsing documentation for ethon-0.12.0
Installing ri documentation for ethon-0.12.0
Parsing documentation for typhoeus-1.3.1
Installing ri documentation for typhoeus-1.3.1
Parsing documentation for cocoapods-core-1.9.1
Installing ri documentation for cocoapods-core-1.9.1
Parsing documentation for cocoapods-deintegrate-1.0.4
Installing ri documentation for cocoapods-deintegrate-1.0.4
Parsing documentation for cocoapods-downloader-1.3.0
Installing ri documentation for cocoapods-downloader-1.3.0
Parsing documentation for cocoapods-trunk-1.4.1
Installing ri documentation for cocoapods-trunk-1.4.1
Parsing documentation for molinillo-0.6.6
Installing ri documentation for molinillo-0.6.6
Parsing documentation for atomos-0.1.3
Installing ri documentation for atomos-0.1.3
Parsing documentation for nanaimo-0.2.6
Installing ri documentation for nanaimo-0.2.6
Parsing documentation for xcodeproj-1.16.0
Installing ri documentation for xcodeproj-1.16.0
Parsing documentation for fourflusher-2.3.1
Installing ri documentation for fourflusher-2.3.1
Parsing documentation for ruby-macho-1.4.0
Installing ri documentation for ruby-macho-1.4.0
Parsing documentation for cocoapods-1.9.1
Installing ri documentation for cocoapods-1.9.1
Done installing documentation for concurrent-ruby, httpclient, algoliasearch, ffi, ethon, typhoeus, cocoapods-core, cocoapods-deintegrate, cocoapods-downloader, cocoapods-trunk, molinillo, atomos, nanaimo, xcodeproj, fourflusher, ruby-macho, cocoapods after 54 seconds
17 gems installed

 

cocoapods 업데이트 완료.

 

아까 실패했던 명령어 다시 실행 : cd ./rnTestProject/ios && pod install

 

ELLORDNET-MPR:rnTestProject ellord$ cd ./rnTestProject/ios && pod install
/System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/2.3.0/universal-darwin18/rbconfig.rb:215: warning: Insecure world writable dir /usr/local/instantclient in PATH, mode 040777
Analyzing dependencies
Fetching podspec for `DoubleConversion` from `../node_modules/react-native/third-party-podspecs/DoubleConversion.podspec`
Fetching podspec for `Folly` from `../node_modules/react-native/third-party-podspecs/Folly.podspec`
Fetching podspec for `glog` from `../node_modules/react-native/third-party-podspecs/glog.podspec`
Adding spec repo `trunk` with CDN `https://cdn.cocoapods.org/`
Downloading dependencies
Installing CocoaAsyncSocket (7.6.4)
Installing CocoaLibEvent (1.0.0)
Installing DoubleConversion (1.1.6)
Installing FBLazyVector (0.62.2)
Installing FBReactNativeSpec (0.62.2)
Installing Flipper (0.33.1)
Installing Flipper-DoubleConversion (1.1.7)
Installing Flipper-Folly (2.2.0)
Installing Flipper-Glog (0.3.6)
[!] /bin/bash -c 
set -e
#!/bin/bash
# Copyright (c) Facebook, Inc. and its affiliates.
#
# This source code is licensed under the MIT license found in the
# LICENSE file in the root directory of this source tree.

set -e

PLATFORM_NAME="${PLATFORM_NAME:-iphoneos}"
CURRENT_ARCH="${CURRENT_ARCH}"

if [ -z "$CURRENT_ARCH" ] || [ "$CURRENT_ARCH" == "undefined_arch" ]; then
    # Xcode 10 beta sets CURRENT_ARCH to "undefined_arch", this leads to incorrect linker arg.
    # it's better to rely on platform name as fallback because architecture differs between simulator and device

    if [[ "$PLATFORM_NAME" == *"simulator"* ]]; then
        CURRENT_ARCH="x86_64"
    else
        CURRENT_ARCH="armv7"
    fi
fi

export CC="$(xcrun -find -sdk $PLATFORM_NAME cc) -arch $CURRENT_ARCH -isysroot $(xcrun -sdk $PLATFORM_NAME --show-sdk-path)"
export CXX="$CC"

# Remove automake symlink if it exists
if [ -h "test-driver" ]; then
    rm test-driver
fi

./configure --host arm-apple-darwin

# Fix build for tvOS
cat << EOF >> src/config.h
/* Add in so we have Apple Target Conditionals */
#ifdef __APPLE__
#include <TargetConditionals.h>
#include <Availability.h>
#endif
/* Special configuration for AppleTVOS */
#if TARGET_OS_TV
#undef HAVE_SYSCALL_H
#undef HAVE_SYS_SYSCALL_H
#undef OS_MACOSX
#endif
/* Special configuration for ucontext */
#undef HAVE_UCONTEXT_H
#undef PC_FROM_UCONTEXT
#if defined(__x86_64__)
#define PC_FROM_UCONTEXT uc_mcontext->__ss.__rip
#elif defined(__i386__)
#define PC_FROM_UCONTEXT uc_mcontext->__ss.__eip
#endif
EOF

# Prepare exported header include
EXPORTED_INCLUDE_DIR="exported/glog"
mkdir -p exported/glog
cp -f src/glog/log_severity.h "$EXPORTED_INCLUDE_DIR/"
cp -f src/glog/logging.h "$EXPORTED_INCLUDE_DIR/"
cp -f src/glog/raw_logging.h "$EXPORTED_INCLUDE_DIR/"
cp -f src/glog/stl_logging.h "$EXPORTED_INCLUDE_DIR/"
cp -f src/glog/vlog_is_on.h "$EXPORTED_INCLUDE_DIR/"

checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for arm-apple-darwin-strip... no
checking for strip... strip
checking for a thread-safe mkdir -p... ./install-sh -c -d
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking for arm-apple-darwin-gcc... /Library/Developer/CommandLineTools/usr/bin/cc -arch armv7 -isysroot 
checking whether the C compiler works... no
xcrun: error: SDK "iphoneos" cannot be located
xcrun: error: SDK "iphoneos" cannot be located
xcrun: error: SDK "iphoneos" cannot be located
xcrun: error: unable to lookup item 'Path' in SDK 'iphoneos'
/Users/ellord/Library/Caches/CocoaPods/Pods/Release/Flipper-Glog/0.3.6-1dfd6/missing: Unknown `--is-lightweight' option
Try `/Users/ellord/Library/Caches/CocoaPods/Pods/Release/Flipper-Glog/0.3.6-1dfd6/missing --help' for more information
configure: WARNING: 'missing' script is too old or missing
configure: error: in `/Users/ellord/Library/Caches/CocoaPods/Pods/Release/Flipper-Glog/0.3.6-1dfd6':
configure: error: C compiler cannot create executables
See `config.log' for more details

 

C 컴파일러가 없다?

ELLORDNET-MPR:~ ellord$ which gcc
/usr/bin/gcc
You have new mail in /var/mail/ellord
ELLORDNET-MPR:~ ellord$ gcc --version
Configured with: --prefix=/Library/Developer/CommandLineTools/usr --with-gxx-include-dir=/Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/c++/4.2.1
Apple LLVM version 10.0.1 (clang-1001.0.46.4)
Target: x86_64-apple-darwin18.7.0
Thread model: posix
InstalledDir: /Library/Developer/CommandLineTools/usr/bin

 

gcc 새로 설치

 

ELLORDNET-MPR:~ ellord$ brew install gcc
Updating Homebrew...
==> Auto-updated Homebrew!
Updated 2 taps (homebrew/core and homebrew/services).
==> New Formulae
abseil                            findent                           mtoc
ansible@2.8                       findomain                         nauty
apollo-cli                        flint                             nebula
archiver                          forcecli                          nef
asymptote                         gh                                newrelic-cli
awscli@1                          git-annex-remote-rclone           nift
awscurl                           git-filter-repo                   node-sass
azcopy                            git-gui                           oil
b3sum                             git-remote-codecommit             okteto
baidupcs-go                       git-remote-gcrypt                 openlibm
bandwhich                         git-trim                          pass-git-helper
bcoin                             gitbatch                          poetry
beancount                         glow                              polynote
bic                               gnirehtet                         powerline-go
biosig                            go@1.13                           protoc-gen-grpc-web
blis                              gobo                              prover9
bnfc                              gotop                             psc-package
cacli                             grex                              publish
cargo-instruments                 hdf5@1.10                         pueue
cassandra-cpp-driver              hdt                               python@3.8
ccfits                            helib                             qp
ccheck                            hpack                             raxml-ng
cctz                              hsd                               ruby@2.6
cdk8s                             iam-policy-json-to-terraform      rubyfmt
cedille                           iblinter                          run
celero                            imgproxy                          sampler
cgns                              instalooter                       seal
cmt                               inxi                              semtag
cobalt                            katago                            skymaker
confd                             kcptun                            sniffglue
container-structure-test          keydb                             swift-format
corral                            killswitch                        swift-sh
cppman                            komposition                       talisman
crc                               krew                              terraform-provider-libvirt
db-vcs                            libb64                            terrahelp
detekt                            libcbor                           texlab
dhall-lsp-server                  libdeflate                        tlx
dhall-yaml                        libffcall                         tty-share
diesel                            libfido2                          uni
docker-slim                       libraqm                           vpn-slice
dsvpn                             libserdes                         vroom
dune                              liquidctl                         wapm
dynet                             literate-git                      wasm3
emacs-dracula                     llvm@9                            wasmer
ensmallen                         mavsdk                            whistle
eureka                            meilisearch                       wordgrinder
faiss                             minipro                           xclogparser
fastlane                          mlpack                            yaegi
ffuf                              mmctl
fileicon                          mockolo
==> Updated Formulae
boost ✔                           git-ftp                           ocaml-num
c-ares ✔                          git-lfs                           ocamlbuild
cairo ✔                           git-plus                          ocamlsdl
composer ✔                        git-quick-stats                   oclgrind
curl ✔                            git-remote-hg                     ocp
curl-openssl ✔                    git-review                        ocrmypdf
e2fsprogs ✔                       git-revise                        octant
ffmpeg ✔                          git-standup                       octave
freetds ✔                         gitbucket                         octomap
frei0r ✔                          giter8                            ode
fribidi ✔                         gitfs                             odpi
gdb ✔                             gitg                              offlineimap
git ✔                             gitlab-gem                        ola
glib ✔                            gitlab-runner                     omega
gmp ✔                             gitleaks                          omniorb
gnutls ✔                          gitless                           onefetch
graphite2 ✔                       gitmoji                           oniguruma
httpd ✔                           gitup                             onioncat
ilmbase ✔                         gitversion                        onnxruntime
imagemagick ✔                     gjs                               onscripter
jemalloc ✔                        gl2ps                             ooniprobe
jpeg ✔                            glade                             opa
leptonica ✔                       glances                           opam
libbluray ✔                       glassfish                         open-image-denoise
libde265 ✔                        gleam                             open-mpi
libev ✔                           glew                              open-scene-graph
libheif ✔                         glfw                              openal-soft
libomp ✔                          glib-networking                   openapi-generator
libpq ✔                           glibmm                            openblas
libtasn1 ✔                        global                            opencascade
libvpx ✔                          glooctl                           opencolorio
libxml2 ✔                         gloox                             opencv
libzip ✔                          glslang                           opencv@2
maven ✔                           glslviewer                        opencv@3
mono ✔                            gmic                              openfortivpn
node ✔                            gmime                             openh264
openexr ✔                         gmsh                              openimageio
openldap ✔                        gmt                               openjdk
openssl@1.1 ✔                     gmt@5                             openjdk@11
p11-kit ✔                         gnome-autoar                      openrct2
pcre ✔                            gnome-builder                     opensc
php@7.2 ✔                         gnome-latex                       openssh
pkg-config ✔                      gnome-recipes                     openttd
pyenv ✔                           gnu-getopt                        openvdb
pyenv-virtualenv ✔                gnu-sed                           operator-sdk
python ✔                          gnunet                            orc
readline ✔                        gnupg                             orientdb
ruby ✔                            gnuplot                           ortp
sdl2 ✔                            gnuradio                          osc
snappy ✔                          go                                osm2pgsql
sqlite ✔                          go-bindata                        osmium-tool
telnet ✔                          go-jira                           osquery
tesseract ✔                       go-statik                         osslsigncode
unbound ✔                         go@1.12                           ott
webp ✔                            gobject-introspection             overmind
x265 ✔                            gocr                              pacapt
xvid ✔                            godep                             packer
xz ✔                              golang-migrate                    packetq
yarn ✔                            golo                              packmol
abcm2ps                           gom                               pagmo
abcmidi                           google-authenticator-libpam       paket
abyss                             googler                           pandoc
ace                               goolabs                           pandoc-citeproc
ack                               goreleaser                        pandoc-crossref
acpica                            goreman                           pangomm
activemq                          gosu                              paps
adios2                            goto                              par
advancemenu                       govc                              par2
adwaita-icon-theme                gprof2dot                         parallel
afflib                            gptfdisk                          parallelstl
agda                              gr-osmosdr                        pari
agedu                             gradle                            partio
aircrack-ng                       grafana                           passenger
akamai                            grails                            passwdqc
akka                              grakn                             pastel
alexjs                            graph-tool                        pcapplusplus
algernon                          graphicsmagick                    pcb
aliyun-cli                        graphviz                          pcl
allegro                           grep                              pcsc-lite
allure                            grin                              pdal
alot                              grin-wallet                       pdf-redact-tools
alp                               grip                              pdfcpu
alpine                            gromacs                           pdfpc
alure                             groonga                           pdftk-java
amazon-ecs-cli                    groovy                            pdftoipe
ammonite-repl                     groovysdk                         pdns
amqp-cpp                          grpc                              pdnsrec
amtk                              grpc-swift                        pdsh
angle-grinder                     grpcurl                           peco
angular-cli                       gsasl                             pegtl
anime-downloader                  gsettings-desktop-schemas         percol
anjuta                            gsoap                             percona-toolkit
annie                             gspell                            perl
ansible                           gssdp                             perltidy
ansible-lint                      gst-editing-services              petsc
ansifilter                        gst-libav                         petsc-complex
ansiweather                       gst-plugins-bad                   pgbadger
ant                               gst-plugins-base                  pgcli
antibody                          gst-plugins-good                  pgformatter
antlr                             gst-plugins-ugly                  pgloader
antlr4-cpp-runtime                gst-python                        pgpool-ii
antlr@2                           gst-rtsp-server                   pgroonga
anycable-go                       gst-validate                      pgrouting
apache-archiva                    gstreamer                         pgweb
apache-arrow                      gti                               phoronix-test-suite
apache-arrow-glib                 gtk+3                             php
apache-brooklyn-cli               gtk-doc                           php-code-sniffer
apache-ctakes                     gtk-mac-integration               php@7.3
apache-drill                      gtkdatabox                        phpmd
apache-flink                      gtksourceview4                    phpmyadmin
apache-forrest                    gtranslator                       phpstan
apache-geode                      gts                               phpunit
apache-opennlp                    guile                             pianobar
apache-spark                      gupnp                             pianod
apachetop                         gwyddion                          picard-tools
apibuilder-cli                    gx                                picat
apktool                           h264bitstream                     pig
apollo                            h3                                pioneer
appium                            hadolint                          pipenv
appscale-tools                    hadoop                            pipx
appstream-glib                    handbrake                         pjproject
aptly                             hapi-fhir-cli                     pkcs11-helper
arangodb                          haproxy                           planck
arcade-learning-environment       haxe                              plank
arduino-cli                       hcloud                            plantuml
argyll-cms                        hdf5                              platformio
arm-linux-gnueabihf-binutils      healpix                           pmd
armadillo                         helm                              pnetcdf
arp-sk                            helm@2                            pnpm
arpack                            helmfile                          poco
arping                            helmsman                          pod2man
arpoison                          help2man                          points2grid
artifactory                       hevea                             pony-stable
asciidoctorj                      hexyl                             ponyc
asciinema                         hey                               poppler
asdf                              hg-fast-export                    postgis
asio                              highlight                         postgresql
ask-cli                           hiredis                           postgresql@10
aspectj                           hledger                           postgresql@11
assh                              hlint                             postgresql@9.4
assimp                            hmmer                             postgresql@9.5
astrometry-net                    homeassistant-cli                 postgresql@9.6
atari800                          homebank                          powerman
atdtool                           hopenpgp-tools                    pre-commit
atk                               hostess                           prestodb
atlantis                          howdoi                            prestosql
atlassian-cli                     hstr                              prettier
ats2-postiats                     htmldoc                           primesieve
aubio                             htslib                            procs
audacious                         http-parser                       procyon-decompiler
auditbeat                         http-server                       profanity
aurora-cli                        httpie                            proftpd
automake                          hub                               proguard
autopep8                          hugo                              proj
autorest                          hwloc                             prometheus
avro-c                            hyperkit                          proselint
avro-cpp                          i2p                               proteinortho
avro-tools                        i2pd                              protobuf
aws-cdk                           i386-elf-gdb                      protobuf-c
aws-cfn-tools                     ibex                              protobuf@3.6
aws-elasticbeanstalk              ice                               protoc-gen-go
aws-es-proxy                      icecast                           psftools
aws-google-auth                   icecream                          pspg
aws-iam-authenticator             idnits                            psqlodbc
aws-okta                          igraph                            pssh
aws-sdk-cpp                       igv                               pstoedit
aws-shell                         imagemagick@6                     pugixml
awscli                            imapfilter                        pulledpork
awslogs                           imapsync                          pulumi
awsume                            imlib2                            pumba
axel                              immortal                          purescript
azure-cli                         inadyn                            pushpin
azure-storage-cpp                 inlets                            puzzles
b2-tools                          innoextract                       pwntools
babel                             insect                            py2cairo
babl                              inspircd                          py3cairo
bacula-fd                         interactive-rebase-tool           pybind11
bagit                             internetarchive                   pygitup
balena-cli                        ioping                            pygments
ballerina                         ios-deploy                        pygobject3
bandcamp-dl                       ios-sim                           pyinstaller
bareos-client                     ios-webkit-debug-proxy            pyinvoke
baresip                           iozone                            pylint
basex                             ipfs                              pympress
bash                              ipmiutil                          pypy
bash-completion@2                 ipopt                             pypy3
bashdb                            ipython                           pyqt
bat                               ircd-hybrid                       python-markdown
batik                             isc-dhcp                          python-yq
bazel                             isl                               pytouhou
bazelisk                          istioctl                          pyvim
bcal                              itex2mml                          q
bcftools                          itk                               qalculate-gtk
bde                               itstool                           qbs
beagle                            ivy                               qca
bear                              jack                              qcli
beast                             jadx                              qemu
bedtools                          jam                               qjackctl
bee                               janet                             qmmp
benthos                           jasmin                            qpdf
bento4                            javacc                            qpid-proton
berglas                           jbig2dec                          qrupdate
bettercap                         jboss-forge                       qscintilla2
bfg                               jdnssec-tools                     qt
bibtexconv                        jdupes                            qtkeychain
bibutils                          jena                              quantlib
binaryen                          jenkins                           quickjs
bind                              jenkins-job-builder               qxmpp
bindfs                            jenkins-lts                       r
bingrep                           jetty                             rabbitmq
binutils                          jetty-runner                      rabbitmq-c
binwalk                           jflex                             radamsa
bison                             jfrog-cli-go                      radare2
bit                               jhead                             rakudo
bitcoin                           jhipster                          rakudo-star
bitlbee                           jinja2-cli                        rancher-cli
bitrise                           joplin                            rancid
bitwarden-cli                     joshua                            range-v3
bitwise                           jpeg-turbo                        ranger
black                             jrnl                              ratfor
blast                             jruby                             rav1e
blazegraph                        jsonnet                           rawtoaces
blink1                            jsonschema2pojo                   raylib
bluepill                          jsvc                              rbspy
blueutil                          juise                             rclone
bmake                             juju                              rdiff-backup
bnd                               juju-wait                         rds-command-line-tools
bonnie++                          jump                              re-flex
boost-bcp                         jupyterlab                        re2
boost-build                       just                              re2c
boost-mpi                         jvgrep                            rebar3
boost-python                      jython                            recon-ng
boost-python3                     k3d                               redis
boot-clj                          k6                                redpen
borgmatic                         kafka                             remarshal
botan                             kaitai-struct-compiler            remctl
bowtie2                           kakoune                           remind
breezy                            kallisto                          reminiscence
brew-php-switcher                 kapacitor                         renameutils
broot                             kawa                              repo
buildifier                        kcov                              rethinkdb
buildkit                          keepkey-agent                     rex
buku                              kepubify                          rhash
bumpversion                       kerl                              rhino
bundletool                        khard                             riemann
bup                               kibana                            riff
byacc                             kind                              ripgrep
byobu                             kitchen-sync                      ripgrep-all
byteman                           knot                              rke
bzt                               knot-resolver                     rocksdb
c-blosc                           kobalt                            rom-tools
cabal-install                     kompose                           root
caddy                             kops                              roswell
caf                               kotlin                            rpcgen
cafeobj                           kpcli                             rsnapshot
caffe                             krakend                           rst-lint
cake                              krb5                              rsyslog
calabash                          ktlint                            rtags
calceph                           k

 

gcc 버전확인

ELLORDNET-MPR:~ ellord$ gcc --version
Configured with: --prefix=/Library/Developer/CommandLineTools/usr --with-gxx-include-dir=/Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/c++/4.2.1
Apple LLVM version 10.0.1 (clang-1001.0.46.4)
Target: x86_64-apple-darwin18.7.0
Thread model: posix
InstalledDir: /Library/Developer/CommandLineTools/usr/bin

바뀐게 없음.

 

OSX Mojave 에서 계속 동일한 문제 발생으로 OSX Catalina로 업그레이드 후에 계속함.

 

 

시뮬레이터 실행 : react-native run-ios

 

프로젝트 폴더에 가서 실행

 

ELLORDNET-MPR:rnTestProject ellord$ react-native run-ios
info Found Xcode workspace "rnTestProject.xcworkspace"
info Launching iPhone 11 (iOS 13.4)
info Building (using "xcodebuild -workspace rnTestProject.xcworkspace -configuration Debug -scheme rnTestProject -destination id=4086D3BA-23E7-4516-879F-7BA6918C5F33")
................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
info Installing "/Users/ellord/Library/Developer/Xcode/DerivedData/rnTestProject-edpectfrtinssnhkcdvdibmfppvm/Build/Products/Debug-iphonesimulator/rnTestProject.app"
info Launching "org.reactjs.native.example.rnTestProject"
success Successfully launched the app on the simulator
ELLORDNET-MPR:rnTestProject ellord$ 

 

새로운 터미널이 열리고 다음과 같이 됨.

 

 

 

그리고 시뮬에이터가 실행됨.

 

 

'React.js3' 카테고리의 다른 글

hello react-native  (0) 2020.04.11
블로그 이미지

엘로드넷

댓글을 달아 주세요