(주)누리웨어

화상연동/Web,APP 구축및서비스/LMS/평생교육/학점은행/기업교육/연수관리/설문구축/

IOS cocoapods 설치

  • 설치

 

  • 프로젝트에  cocoapod 적용


  •  
  • 프로젝트를 오픈
    “적용대상 Project”.xcworkspace를 오픈한다.

반드시 *.xcworkspace를 오픈한다.

 

  • 1.Delete the standalone files (Podfile Podfile.lock and your Pods directory)
  • 2.Delete the generated xcworkspace
  • 3.Open your xcodeproj file, delete the references to Pods.xcconfig and libPods.a (in the Frameworks group)
  • 4.Under your Build Phases delete the Copy Pods ResourcesEmbed Pods Frameworks andCheck Pods Manifest.lock phases.
  • 5.This may seem obvious but you’ll need to integrate the 3rd party libraries some other way or remove references to them from your code.

 


  1.  
  2. TroubleShooting

–  install 후에   No such module ‘Firebase…’  Error  =>  pod update

-bash: /usr/local/bin/pod: /System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/bin/ruby: bad interpreter: No such file or directory

위의 에러가 발생할 경우 (보통 Mac OS 업그레이드 후 발생)

sudo gem install cocoapods 다시 설치하면 해결

댓글 남기기