Notice
Recent Posts
Recent Comments
Tags
- 맥 오라클설치
- asp.net dropdownlist
- SSD 복사
- 바코드 생성하기
- 404에러페이지
- php 캐쉬제거
- XSS방어
- django 엑셀불러오기
- ViewData
- TempData
- jquery 바코드생성
- asp.net Select
- javascript 바코드스캔
- 말줄임표시
- ASP.Net Core 404
- asp.net core Select
- 강제이동
- 하드 마이그레이션
- 파일업로드 유효성체크
- 하드 윈도우 복사
- jquery 바코드
- 파일업로드 체크
- Mac Oracle
- XSS PHP
- javascript redirection
- 타임피커
- javascript 유효성체크
- ViewBag
- 바코드 스캔하기
- javascript 바코드 생성
웹개발자의 기지개
[IOS] M1 에서 pod install 에러날때 (코코아팟) 본문
M1 에서 앱설정을 할때 pod init 은 잘되는데, pod install 이 안되었다.
로제타로 터미널을 다시 띄우고, 아래와 같이 다시 시도한다.
파인더 > 터미널 검색후 > 마우스 우클릭 > 로제타를 사용하여 열기
그다음으로 다시 터미널을 새로 열고,
sudo gem install ffi
그리고, 이제 해당 앱의 루트폴더에서 install을 다시 시도한다.
필자는 아래처럼 인스톨 성공하였다.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
|
Last login: Tue Nov 15 15:04:41 on ttys000
jongwon@ijong-won-ui-MacBookPro ~ % sudo gem install ffi
Password:
Building native extensions. This could take a while...
Successfully installed ffi-1.15.5
Parsing documentation for ffi-1.15.5
Done installing documentation for ffi after 3 seconds
1 gem installed
jongwon@ijong-won-ui-MacBookPro ~ % cd /Users/jongwon/Desktop/swift_project/FcmTest1
jongwon@ijong-won-ui-MacBookPro FcmTest1 % ls
FcmTest1 FcmTest1Tests Podfile
FcmTest1.xcodeproj FcmTest1UITests Pods
jongwon@ijong-won-ui-MacBookPro FcmTest1 % pod install
Analyzing dependencies
Downloading dependencies
Installing BoringSSL-GRPC (0.0.24)
Installing Firebase (10.1.0)
Installing FirebaseAnalytics (10.1.0)
Installing FirebaseAuth (10.1.0)
Installing FirebaseCore (10.1.0)
Installing FirebaseCoreInternal (10.1.0)
Installing FirebaseDatabase (10.1.0)
Installing FirebaseFirestore (10.1.0)
Installing FirebaseInstallations (10.1.0)
Installing FirebaseMessaging (10.1.0)
Installing GTMSessionFetcher (2.3.0)
Installing GoogleAppMeasurement (10.1.0)
Installing GoogleDataTransport (9.2.0)
Installing GoogleUtilities (7.10.0)
Installing Libuv-gRPC (0.0.10)
Installing PromisesObjC (2.1.1)
Installing abseil (1.20211102.0)
Installing gRPC-C++ (1.44.0)
Installing gRPC-Core (1.44.0)
Installing leveldb-library (1.22.1)
Installing nanopb (2.30909.0)
Generating Pods project
Integrating client project
[!] Please close any current Xcode sessions and use `FcmTest1.xcworkspace` for this project from now on.
Pod installation complete! There are 6 dependencies from the Podfile and 21 total pods installed.
[!] Smart quotes were detected and ignored in your Podfile. To avoid issues in the future, you should not use TextEdit for editing it. If you are not using TextEdit, you should turn off smart quotes in your editor of choice.
[!] Automatically assigning platform `iOS` with version `14.0` on target `FcmTest1` because no platform was specified. Please specify a platform for this target in your Podfile. See `https://guides.cocoapods.org/syntax/podfile.html#platform`.
[!] The `FcmTest1UITests [Debug]` target overrides the `ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES` build setting defined in `Pods/Target Support Files/Pods-FcmTest1-FcmTest1UITests/Pods-FcmTest1-FcmTest1UITests.debug.xcconfig'. This can lead to problems with the CocoaPods installation
- Use the `$(inherited)` flag, or
- Remove the build settings from the target.
[!] The `FcmTest1UITests [Release]` target overrides the `ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES` build setting defined in `Pods/Target Support Files/Pods-FcmTest1-FcmTest1UITests/Pods-FcmTest1-FcmTest1UITests.release.xcconfig'. This can lead to problems with the CocoaPods installation
- Use the `$(inherited)` flag, or
- Remove the build settings from the target.
jongwon@ijong-won-ui-MacBookPro FcmTest1 %
|
cs |
[ Xcode 에 코코아팟 (CocoaPods) 설치하기 ]
윤범태의 님의 글 참고바랍니다.
참고 : https://velog.io/@willowleaf07/M1-Mac에서-pod-install-설치-불가-시-해결방안
'IOS' 카테고리의 다른 글
[IOS] 앱아이콘 자동 생성 사이트 - App Icon Maker (0) | 2020.11.21 |
---|---|
IOS 에서 html5 코드 작업시 유의점 (0) | 2019.06.06 |
IOS에서 history.back 사용시 주의점 (0) | 2019.06.05 |
Comments