https://developer.apple.com/documentation/photokit

 

Apple Developer Documentation

 

developer.apple.com

 

Installing PhotoEditorSDK (10.23.1)

Installing imglyKit (10.23.1)

 

포토킷 예제는

 

https://github.com/imgly/pesdk-ios-examples

 

imgly/pesdk-ios-examples

A fully customizable photo editor for your app. Contribute to imgly/pesdk-ios-examples development by creating an account on GitHub.

github.com

objective-C , Swift 코드 둘 다 있어서 비교하기도 좋고...

 

오브젝티브 C 의 경우 정상 동작 확인했다.

 

pod 'PhotoEditorSDK'

 

참, 좋다. 그러나 역시 유료...

 

https://img.ly/pricing/configure-your-product

 

Price Calculator | IMG.LY

Not ready to get started yet? Why don't you take our editors for a test drive with a free trial or browse the FAQs?

img.ly

 

git 에도 안 올라가네...

Enumerating objects: 771, done.

Counting objects: 100% (771/771), done.

Delta compression using up to 16 threads

Compressing objects: 100% (746/746), done.

Writing objects: 100% (749/749), 77.75 MiB | 702.00 KiB/s, done.

Total 749 (delta 47), reused 0 (delta 0)

remote: Resolving deltas: 100% (47/47), completed with 18 local objects.

remote: error: GH001: Large files detected. You may want to try Git Large File Storage - https://git-lfs.github.com.

remote: error: Trace: ce5efb725d2417032acef77cd0abc232f6791cef39146cc2cbac700024735657

remote: error: See http://git.io/iEPt8g for more information.

remote: error: File Pods/imglyKit/ImglyKit.framework/ImglyKit is 150.33 MB; this exceeds GitHub's file size limit of 100.00 MB

 

 

git rm --cached Pods/imglyKit/ImglyKit.framework/ImglyKit

git commit --amend -CHEAD

[rel03 15a5da4] .

 Date: Wed May 26 17:27:21 2021 +0900

 3 files changed, 65 insertions(+), 4 deletions(-)

 delete mode 100755 Pods/imglyKit/ImglyKit.framework/ImglyKit

 

git push

Enumerating objects: 780, done.

Counting objects: 100% (780/780), done.

Delta compression using up to 16 threads

Compressing objects: 100% (755/755), done.

Writing objects:  13% (105/758), 1Writing objects:  14% (107/758), 1Writing objectsWriting objects: 100% (758/758), 77.75 MiB | 1.03 MiB/s, done.

Total 758 (delta 54), reused 0 (delta 0)

remote: Resolving deltas: 100% (54/54), completed with 18 local objects.

remote: error: GH001: Large files detected. You may want to try Git Large File Storage - https://git-lfs.github.com.

remote: error: Trace: 62cf00ddea2368d0eb0fd133d3fa8e9fb309b3448be13de070c88c33b000d361

remote: error: See http://git.io/iEPt8g for more information.

remote: error: File Pods/imglyKit/ImglyKit.framework/ImglyKit is 150.33 MB; this exceeds GitHub's file size limit of 100.00 MB

 

뭐야...

https://stackoverflow.com/questions/19573031/cant-push-to-github-because-of-large-file-which-i-already-deleted

 

Can't push to GitHub because of large file which I already deleted

Currently I have Empty GitHub repo SSH server repo (main) Local Repo SSH server repo was the most up-to-date repo (production site) so I did a Git clone from there to local. I then tried to do a ...

stackoverflow.com

안되잖아.

 

 

git filter-branch --tree-filter 'rm Pods/imglyKit/ImglyKit.framework/ImglyKit' HEAD

WARNING: git-filter-branch has a glut of gotchas generating mangled history

rewrites.  Hit Ctrl-C before proceeding to abort, then use an

alternative filtering tool such as 'git filter-repo'

(https://github.com/newren/git-filter-repo/) instead.  See the

filter-branch manual page for more details; to squelch this warning,

set FILTER_BRANCH_SQUELCH_WARNING=1.

 

Proceeding with filter-branch...

 

Rewrite 6a758d6dca2bdef2f13f60d2d494f411f7168604 (1/133) (0 seconds passed, remaining 0 predicted)    rm: Pods/imglyKit/ImglyKit.framework/ImglyKit: No such file or directory

tree filter failed: rm Pods/imglyKit/ImglyKit.framework/ImglyKit

 

 

git push origin master --force

Total 0 (delta 0), reused 0 (delta 0)

To github.com:hajunho/hanaMaster.git

 + 84e7d84...d45c23c master -> master (forced update)

 

이걸로 해결...

 

에혀... 반쪽짜리 git이다. 이 경험으로 이미지 라이브러리 넣기 전에 고민 좀 하고 넣어야 할 듯.

'Objective-C, SQLite3' 카테고리의 다른 글

sqlite3 파일 생성  (0) 2021.05.26
sql 공통 .h, .m 작성법  (0) 2021.05.26
ViewController 자료 교환 방식 수정  (0) 2021.05.20
잘 되던게, 갑자기 안되는 문제 해결.  (0) 2021.05.20
ImageButton  (0) 2021.05.18

+ Recent posts