• 로그인
  • 장바구니에 상품이 없습니다.

home2 게시판 Flutter 게시판 앱 권한요청중 에러

앱 권한요청중 에러

4 글 보임 - 1 에서 4 까지 (총 4 중에서)
  • 글쓴이
  • #63521

    김대연
    참가자
    ios 셋팅중에 다음 명령어를 입력하면 
    $ sudo gem install cocoapods
    
    삭제했다 재설치도 하고 
    homebrew 를 사용하여 설치한다음 현재 버전도 확인됐는데 
    
    이런 에러가 뜹니다.
    rlaeodus17naver.com@gimdaeyeon-ui-MacBook-Pro ios % sudo gem install cocoapods
    Ignoring ffi-1.15.3 because its extensions are not built. Try: gem pristine ffi --version 1.15.3
    ERROR:  Error installing cocoapods:
            ERROR: Failed to build gem native extension.
        current directory: /Library/Ruby/Gems/2.6.0/gems/ffi-1.15.3/ext/ffi_c
    /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/bin/ruby -I /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0 -r ./siteconf20230120-96424-1yl8vyk.rb extconf.rb
    checking for ffi.h... /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/mkmf.rb:467:in `try_do': The compiler failed to generate an executable file. (RuntimeError)
    You have to install development tools first.
            from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/mkmf.rb:585:in `block in try_compile'
            from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/mkmf.rb:534:in `with_werror'
            from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/mkmf.rb:585:in `try_compile'
            from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/mkmf.rb:1109:in `block in have_header'
            from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/mkmf.rb:959:in `block in checking_for'
            from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/mkmf.rb:361:in `block (2 levels) in postpone'
            from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/mkmf.rb:331:in `open'
            from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/mkmf.rb:361:in `block in postpone'
            from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/mkmf.rb:331:in `open'
            from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/mkmf.rb:357:in `postpone'
            from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/mkmf.rb:958:in `checking_for'
            from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/mkmf.rb:1108:in `have_header'
            from extconf.rb:10:in `system_libffi_usable?'
            from extconf.rb:42:in `<main>'
    To see why this extension failed to compile, please check the mkmf.log which can be found here:
      /Library/Ruby/Gems/2.6.0/extensions/universal-darwin-21/2.6.0/ffi-1.15.3/mkmf.log
    extconf failed, exit code 1
    Gem files will remain installed in /Library/Ruby/Gems/2.6.0/gems/ffi-1.15.3 for inspection.
    Results logged to /Library/Ruby/Gems/2.6.0/extensions/universal-darwin-21/2.6.0/ffi-1.15.3/gem_make.out
    
    #63544

    codingapple
    키 마스터
    https://stackoverflow.com/questions/72359116/error-updating-cocoapods-after-upgrading-to-flutter-3-0-1
    이거 따라해봅시다
    #63559

    김대연
    참가자
    해보고 있긴한데 저는 m1칩이 아니라서 안되는거 같네요
    #63632

    codingapple
    키 마스터
    sudo gem update --system
    sudo gem install -n /usr/local/bin cocoapods -v 1.8.4
    차례로 입력해보면 될 수도 있다는군요
4 글 보임 - 1 에서 4 까지 (총 4 중에서)
  • 답변은 로그인 후 가능합니다.

About

현재 월 700명 신규수강중입니다.

  (09:00~20:00) 빠른 상담은 카톡 플러스친구 코딩애플 (링크)
  admin@codingapple.com
  이용약관
ⓒ Codingapple, 강의 예제, 영상 복제 금지
top

© Codingapple, All rights reserved. 슈퍼로켓 에듀케이션 / 서울특별시 강동구 고덕로 19길 30 / 사업자등록번호 : 212-26-14752 온라인 교육학원업 / 통신판매업신고번호 : 제 2017-서울강동-0002 호 / 개인정보관리자 : 박종흠