iOS ํ๋ ์์ํฌ, ๋ผ์ด๋ธ๋ฌ๋ฆฌ ์กฐ์ฌํ ๋ด์ฉ๋ค์ ๋๋ค. ์ค์ ๊ฐ๋ฐ ์ ์์ค์ฝ๋์์์ ์ค์ ํด์ค์ผ ํ ๋ถ๋ถ์ด ๋ ์๋๋ฐ ํด๋น ๋ถ๋ถ์ ๊ธฐ๊ณ ๋ง๋ฅ ๊ณ์ ์ค๋ฅ ํ๋์ฉ ๋ณด๋ฉด์ ๋ผ์๋ง์ถ๋ ๋ฐฉ์์ผ๋ก ํด๊ฒฐํ๊ธฐ ๋๋ฌธ์ ๋ฐฉ์ ์ ๋๋ง ์ฐธ๊ณ ํด์ฃผ์ธ์. ์๋ ์์ฑ๋ ์์๋๋ก ๋ณด์๋๊ฒ ๋ ์ดํด๊ฐ ์ ๋์ค ๊ฒ์ ๋๋ค. ์ ๋ iOS ์ฒ์ํ๋ ์ ์ฅ์์ ์์ฑํ๊ฑฐ๋ผ ํ๋ฆฐ ๋ด์ฉ์ด ์์ ์ ์์ต๋๋ค. ๊ฐ์ ๋น๋ ์ธํ ์ ๋ง๊ฒ ์ค์ ํด์ค์ผ ํ๋ ๋ถ๋ถ์ด ๋ง๋ค๊ณ ํ๋จํด์ ์ค๋ฅ๋ ๋ง์ด ๋์ค๊ฒ๋๋ค...
[iOS] framework ๊ธฐ๋ณธ : https://dongdong216.tistory.com/4
[iOS] framework ๊ธฐ๋ณธ
1. CPU Architecture ์์ดํฐ์ ๊ธฐ์ข ์ ๋ฐ๋ผ ๋ค๋ฅธ ์ํคํ ์ฒ์ CPU๋ฅผ ์ฌ์ฉํจ. ๋น๋๋ฅผ ํ๋ฉด Execute file์ด ์์ฑ๋๊ณ ์ด ํ์ผ์ CPU์์ ์ฝ๊ธฐ ๋๋ฌธ์ ์ด์ ๋ง๋ ์ํคํ ์ฒ ์์ฑ์ด ํ์ํจ. ๊ธฐ์ข ๋ณ ์ํคํ ์ฒ armv7 :
dongdong216.tistory.com
[iOS] Private Repository์ CocoaPod Framework ์ฌ๋ฆฌ๊ธฐ : https://dongdong216.tistory.com/6
[iOS] Private Repository์ CocoaPod Framework ์ฌ๋ฆฌ๊ธฐ
1. bitbucket์ ๋ ๊ฐ์ repository๊ฐ ํ์ํจ. ์ค์ ํ๋ ์์ํฌ๋ก ์ฌ์ฉํ ์ฝ๋ ์ ์ฅํ remote repo 1๋ฒ์์ ์ฌ๋ฆฐ cocoapod ํ๋ ์์ํฌ์ ์คํ์ ๊ด๋ฆฌํ remote repo ๋นํธ๋ฒํท์ ๋ ๊ฐ ๋ค private์ผ๋ก ๋ง๋ค๊ณ git ์ฃผ
dongdong216.tistory.com
[iOS] XCFramework private repository์ cocoapod์ผ๋ก ๋ฐฐํฌํ๊ธฐ : https://dongdong216.tistory.com/7
[iOS] XCFramework private repository์ cocoapod์ผ๋ก ๋ฐฐํฌํ๊ธฐ
A. pros & cons pros ๋น๋๋ ํ๋ ์์ํฌ ๋จ์ ๊ณต์ ์ด๊ธฐ ๋๋ฌธ์ ๋ด๋ถ ์ฝ๋๋ฅผ ์ ์ฑ ์ ์ ๊ฐ ์ง์ ๋์ปดํ์ผ ํด๋ณด์ง ์๋ ์ด์ ๋ณด์ ๋น๊ต์ ๋์ static / dynamic framework๋ฅผ ๋ฐฐํฌํ๋ ์ชฝ์์ ๊ฐ์ ํ ์ ์์ (๋ฐ
dongdong216.tistory.com
[iOS] XCFramework build script : https://dongdong216.tistory.com/8
[iOS] XCFramework build script
A. ์ ์ฒด ๊ณผ์ ํ๋ ์์ํฌ > Targets > Build Phases ์ด๋ ํ new Target Aggregate ์ถ๊ฐ Run script phase ์ถ๊ฐ ์ ์ฝ๋ ์ถ๊ฐ ๋น๋ ํ ์คํธ B. ๊ฐ ๊ณผ์ ์์ธ - 1 Project Navigator์์ SDK Point Home ์ ํ ๋ง์ฝ ํ๋ก์ ํธ์ X ์ณ
dongdong216.tistory.com
[iOS] framework ์์ ํ๊ฒฝ ๋ง๋ค๊ธฐ : https://dongdong216.tistory.com/9
[iOS] framework ์์ ํ๊ฒฝ ๋ง๋ค๊ธฐ
A. ์ ์ฒด ๊ณผ์ SDK Framework Project, Test App Project ๋ ๋ค ์กด์ฌํ๋ค๋ ์ ์ ํ์ ์์ฑํ์์ต๋๋ค. Workspace ์์ฑ ๋ง๋ ์ํฌ์คํ์ด์ค ์ด๊ณ Project Navigator ์ฐํด๋ฆญ > Add File to “workspace ์ด๋ฆ” > ํ๋ ์์ํฌ, ํ
dongdong216.tistory.com
[iOS] Framework์ ์ข ์์ฑ ์ถ๊ฐ ์ ์์ ํ๊ฒฝ ์ธํ : https://dongdong216.tistory.com/10
[iOS] Framework์ ์ข ์์ฑ ์ถ๊ฐ ์ ์์ ํ๊ฒฝ ์ธํ
A. Framework ๊ฐ๋ฐํ ๋ Framework ํ๋ก์ ํธ ๋๋ ํ ๋ฆฌ์์ cmd open → pod init ์ถ๊ฐํ๊ณ ์ ํ๋ ๋ผ์ด๋ธ๋ฌ๋ฆฌ .podfile์ ๋ฃ์ด์ค ํ pod install ํ ์คํธ ํ๋ก์ ํธ, ํ๋ ์์ํฌ ํ๋ก์ ํธ ๊ฐ์ด ๋ฃ์ด ๋ ์ํฌ์คํ์ด
dongdong216.tistory.com
[iOS] 1st party framework์์ 3rd party framework ์ฌ์ฉ : https://dongdong216.tistory.com/11
[iOS] 1st party framework์์ 3rd party framework ์ฌ์ฉ
A. Umbrella Framework ๋ถ๊ฐ๋ฅ Technical Note TN2435: Embedding Frameworks In An App Umbrella framework : ํ๋ ์์ํฌ๊ฐ ๋ค๋ฅธ ํ๋ ์์ํฌ๋ฅผ ํฌํจํ๋ ํํ. macOS์์๋ ๊ฐ๋ฅํ์ง๋ง ์ง์๋๋ ๊ตฌ์กฐ. iOS, watchOS, tvOS์์๋ ๋ถ
dongdong216.tistory.com
[iOS] pod dependency trouble shooting : https://dongdong216.tistory.com/12
[iOS] pod dependency trouble shooting
A. ์งํฅํ๋ ๊ฒ third party lib๋ฅผ ์ฌ์ฉํ๊ณ ์๋ framework๋ฅผ xcframework๋ก buildํ ์ ์์ด์ผ ํจ. cocoapod์ ๋ฐฐํฌํ ๋ ์ด xcframework๊ฐ ์์กดํ๊ณ ์๋ ์ข ์์ฑ๋ค์ ์๋์ผ๋ก ์ค์นํ ์ ์์ด์ผ ํจ. B. ํด๊ฒฐ๋ฐฉ์ 2
dongdong216.tistory.com
[iOS] static framework to xcframework, cocoapod ๋ฐฐํฌ : https://dongdong216.tistory.com/13
[iOS] static framework to xcframework, cocoapod ๋ฐฐํฌ
A. ๊ฒฐ๋ก ํธ์คํธ ์ฑ์์ static, dynamic ๊ด๊ณ ์์ด ์ฌ์ฉ ๊ฐ๋ฅ ํธ์คํธ ์ฑ์์ ์ด๋ฏธ a ๋ผ์ด๋ธ๋ฌ๋ฆฌ ์ฌ์ฉํ๊ณ ์๋๋ฐ ํ๋ ์์ํฌ์์๋ a ์ฌ์ฉํด์ผ ๋๋ฉด ์ถฉ๋ ์์ด ๊ทธ๋ฅ ์ค์น๋์ด ์๋ ๊ฑธ๋ก ์ฌ์ฉ๋จ. ํ๋
dongdong216.tistory.com
'CS > iOS, Swift' ์นดํ ๊ณ ๋ฆฌ์ ๋ค๋ฅธ ๊ธ
[iOS] ํค์ฒด์ธ ์ ํธ (0) | 2023.04.07 |
---|---|
[iOS] ํด์ฑ (0) | 2023.04.07 |
[iOS] static framework to xcframework, cocoapod ๋ฐฐํฌ (0) | 2023.04.07 |
[iOS] pod dependency trouble shooting (0) | 2023.04.07 |
[iOS] 1st party framework์์ 3rd party framework ์ฌ์ฉ (0) | 2023.04.07 |