• 카테고리

    질문 & 답변
  • 세부 분야

    웹 개발

  • 해결 여부

    미해결

도대체 알수가 없네요 Pods 폴더가 보이질 않습니다.

18.03.17 23:57 작성 조회수 180

0

안녕하세요.

벌써 몇시간째 헤메이고 있는데요...

강의에서 하라는대로 다 하고 있습니다. 그런데 강의 20 분 정도에 Add Another 에서 Pods 폴더가 보이질 않습니다..도대체 뭐가 잘못된걸까요.

답변 3

·

답변을 작성해보세요.

0

수고 하시네요

ionic 자체는 상당히 안정된 플랫폼입니다.

대부분의 빌드 에러는 플러그인과 관련되어 발생하는 경우가 많습니다.

0

???님의 프로필

???

질문자

2018.03.18

늦은시간에 답변 감사합니다~
지금 다시 해보고 있는데요

프로젝트를 다 없애고 다시 만들어서 해보니까 잘 되네요. 감사합니다.

그런데 build 했을때 다음 같은 에러가 나옵니다.
ionic cordova build ios
Running app-scripts build: --platform ios --target cordova
[11:25:52] build dev started ...
[11:25:52] clean started ...
[11:25:52] clean finished in 2 ms
[11:25:52] copy started ...
[11:25:52] deeplinks started ...
[11:25:52] deeplinks finished in 11 ms
[11:25:52] transpile started ...
[11:25:55] transpile finished in 2.52 s
[11:25:55] preprocess started ...
[11:25:55] preprocess finished in less than 1 ms
[11:25:55] webpack started ...
[11:25:55] copy finished in 2.63 s
[11:25:59] webpack finished in 4.05 s
[11:25:59] sass started ...
Without from option PostCSS could generate wrong source map and will not find Browserslist config. Set it to CSS file path or to undefined to prevent this warning.
[11:25:59] sass finished in 757 ms
[11:25:59] postprocess started ...
[11:26:00] postprocess finished in 5 ms
[11:26:00] lint started ...
[11:26:00] build dev finished in 7.43 s

cordova build ios
(node:46579) UnhandledPromiseRejectionWarning: xcode-select: error: tool 'xcodebuild' requires Xcode, but active developer directory '/Library/Developer/CommandLineTools' is a command line tools instance

(node:46579) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an asyncfunction without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
(node:46579) [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.
============================
검색해보니 금방 나오긴 하네요..
build 하기전에 아래 처럼 하면 안 나오네요..
sudo xcode-select -s /Applications/Xcode.app/Contents/Developer

0

ios 용 ionic app을 만들기 위해서는 개발 기기(맥 pc,맥북등)에 Cocoapods를 설치해주어야 합니다.

sudo gem install cocoapods

pod repo update

터미널에서 위와 같은 명령어를 사용하여 CocoaPod를 설치 후 진행해보세요.