[iOS] cocoa pods install parseError

Nanaimo::Reader::ParseError – [!] Found additional characters after parsing the root plist object

 #  ——————————————-

1>  version https://git-lfs.github.com/spec/v1

            ^

https://stackoverflow.com/questions/62102476/pod-issue-nanaimoreaderparseerror-array-missing-in-between-obje/72855456#72855456

[iOS] app size 최소화

카메라, 동영상 편집 앱을 만들 때 필터나 효과를 입히기 위한 리소스 크기가 커서 함께 패키징 하기에 부담스러울 때가 있다. 이런경우 앱스토어에 번들을 올려두고 on demand resource로 다운로드 받도록 하면 최초 다운로드 받을 때 앱의 크기를 줄일 수 있다.

On-Demand Resources

관련 API

[Knowledge] 소비자 중심 경영 (CCM)

일부 내용을 발췌

소비자중심경영(CCM) 인증이란, 기업이 수행하는 모든 활동을 소비자 관점에서 소비자 중심으로 구성하고 관련 경영활동을 지속적으로 개선하고 있는지를 심사하여 인증하는 제도이다. 공정거래위원회가 주관하고 있으며 그에 대한 인증은 한국소비자에서 진행하고 있다. 신청 대상은 물품의 제조·수입·판매 또는 용역 제공의 모든 과정이 소비자 중심으로 이루어지는 경영을 하는 사업자로 해당 인증을 기업이 받게 되면 우수기업 포상, 중소벤처기업부 소관 중소기업 정책자금 융자 한도 상향, 공정거래협약 이행평가 시 가점 부여 등의 인센티브가 제공된다. 

출처 : 소비라이프뉴스(http://www.sobilife.com)


원문 :
http://www.sobilife.com/news/articleView.html?idxno=25092

[Tip] iOS 11 Ambiguous Layouts

stackView 안에 들어갈 때 uilabel같은 텍스트 길이에 따라서 높이가 결정되는 control 계열은 문자열이 없을 때 높이값이 모호하게 된다. 보통 hugging, compressionResistance priority를 조정하면 해결 되기는 한다.


label.setContentHuggingPriority(.required, for: .vertical)
    label.setContentCompressionResistancePriority(.required, for: .vertical)

하지만 iOS 11에서 Ambiguous Layouts warning이 발생하게 된다.

label의 텍스트 내용이 없을 때 구체적으로 높이를 얼마만큼 되어야 하는지 stackView arrangedSubview 조건이 모호하게 된다.

즉, 명시적으로 label의 최소 높이를 constraint로 지정 하게 되면 이 warning과 layout이 올바로 나오지 않는 현상이 해결된다.

[iOS] man in the middle attack (ssl pinnig) 방지 (WIP)

결론부터 이야기 하면 클라이언트에서는 서버 인증서가 올바른지 검증하고 확인하는 작업을 직접 해줘야 한다.

Medium.com에서 보기

그리고 내가 만든 웹소켓, http api 프로토콜이 남들에게 노출되는 것을 원하지 않는다면 charles와 같은 디버깅 툴 인증서를 통해 통신하는 것을 막아야 한다.

아래 글을 참고해서 공부하고 좀 더 부연 설명할 예정임

https://www.raywenderlich.com/1484288-preventing-man-in-the-middle-attacks-in-ios-with-ssl-pinning

[iOS] fix fastlane-plugin-firebase_app_distribution undefined

if fastlane add_plugin dose not work

[!] Could not find lane 'ios firebase_app_distribution'. Available lanes: ios release_dev, ios release_beta, ios release_prod, ios pre_build, ios increment_marketing_version, ios build, ios upload_to_firebase, ios upload_to_appstoreconnect, ios upload_to_crash

try below solution

// gemspec of firebase fastlane plugin 
// https://github.com/fastlane/fastlane-plugin-firebase_app_distribution/blob/master/fastlane-plugin-firebase_app_distribution.gemspec

$vi Gemfile
// add plugin
gem "fastlane-plugin-firebase_app_distribution" 

$bundle update

Using fastlane 2.167.0
Fetching fastlane-plugin-firebase_app_distribution 0.2.4
Installing fastlane-plugin-firebase_app_distribution 0.2.4

...
// then add plugin
$fastlane add_plugin firebase_app_distribution

// or update plugins
$fastlane update_plugins

References

https://stackoverflow.com/questions/60783449/how-to-fix-fastlane-plugin-firebase-app-distribution-undefined

AVFoundation 동영상 편집

동영상 편집 잘 정리됨

레터박스

https://forums.raywenderlich.com/t/extend-video-render-size-and-add-background-ios-swift/97957

비디오 화면전환

https://github.com/robovm/apple-ios-samples/tree/master/AVCustomEdit/AVCustomEdit

PIP

https://abdulazeem.wordpress.com/2012/04/02/video-manipulation-in-ios-resizingmerging-and-overlapping-videos-in-ios/