質問するログイン新規登録

質問編集履歴

1

ターミナル操作の追記

2021/02/04 04:37

投稿

Mr.Gorilla
Mr.Gorilla

スコア4

title CHANGED
File without changes
body CHANGED
@@ -18,7 +18,33 @@
18
18
  error: failed to push some refs to 'https://github.com/〇〇/△△.git'
19
19
  ```
20
20
 
21
+ また、ターミナルで「git push -u origin main」としてmainに変えてpushしたところ、以下のようにエラーが出て、実行できませんでした。
22
+ これはファイルサイズが大きすぎるからできないということなのでしょうか?
23
+ 以前、これよりも大きいサイズのファイルをpushしていたので、できないはずはないのですが、今回できなくて困っています。
24
+
25
+ ```
26
+ Enumerating objects: 4752, done.
27
+ Counting objects: 100% (4752/4752), done.
28
+ Delta compression using up to 4 threads
29
+ Compressing objects: 100% (4505/4505), done.
30
+ Writing objects: 100% (4748/4748), 101.86 MiB | 1.05 MiB/s, done.
31
+ Total 4748 (delta 1324), reused 0 (delta 0)
32
+ remote: Resolving deltas: 100% (1324/1324), completed with 2 local objects.
33
+ remote: warning: File Pods/GoogleMaps/Base/Frameworks/GoogleMapsBase.framework/GoogleMapsBase is 53.52 MB; this is larger than GitHub's recommended maximum file size of 50.00 MB
34
+ remote: error: GH001: Large files detected. You may want to try Git Large File Storage - https://git-lfs.github.com.
35
+ remote: error: Trace: 3219ce94d7cbab166cdbd8ff287299fed8d4d12beaf85a33d48577d9ea618fbc
36
+ remote: error: See http://git.io/iEPt8g for more information.
37
+ remote: error: File Pods/GoogleMaps/Maps/Frameworks/GoogleMapsCore.framework/GoogleMapsCore is 132.21 MB; this exceeds GitHub's file size limit of 100.00 MB
38
+ To https://github.com/〇〇/△△.git
39
+ ! [remote rejected] main -> main (pre-receive hook declined)
40
+ error: failed to push some refs to 'https://github.com/〇〇/△△.git'
41
+ ```
42
+
21
43
  ### 補足情報(FW/ツールのバージョンなど)
22
44
 
23
45
  使用環境:Xcode version 12.4
24
- 使用言語:Swift5.3.2
46
+ 使用言語:Swift5.3.2
47
+
48
+ ### 聞きたいこと
49
+ ⚫︎ターミナルを使わず、Xcodeで直接pushできるようにするためには、何が間違っているのでしょうか?
50
+ ⚫︎ターミナルでもうまく実行できなかったのですが、上記のエラーはファイルサイズの問題のみなのでしょうか?