added codelab texts and images#167
Open
KuzminVik wants to merge 10 commits intoicerockdev:docusaurusfrom
Open
Conversation
added 9 commits
March 17, 2026 19:32
# Conflicts: # onboarding/project-setup.md
RezMike
requested changes
Apr 27, 2026
RezMike
reviewed
Apr 28, 2026
|
|
||
| ### 2.5. CocoaPods | ||
|
|
||
| Для работы с зависимостями на iOS мы используем CocoaPods, а также Kotlin-модуль подключается в Xcode-проект через CocoaPods-интеграцию. Поэтому требуется установить актуальную версию CocoaPods. |
| export ANDROID_SDK_ROOT=~/Library/Android/sdk | ||
| ``` | ||
|
|
||
| В старых версиях Android Studio (начиная с 4.2) иногда требовалось отключить флаг Preferences -> Experimental -> Do not build Gradle task during Gradle sync, чтобы задачи на сборку модулей появились во вкладке Gradle. В актуальных версиях эта проблема встречается реже, но имейте в виду. |
Contributor
There was a problem hiding this comment.
Лучше но всё равно имейте это в виду
| CommentSpacing: false # Отступы в комментариях | ||
| ArgumentListWrapping: false # Перенос аргументов | ||
| NoEmptyFirstLineInMethodBlock: false | ||
| Filename: false # Имя файла snake_case |
Contributor
There was a problem hiding this comment.
Тут стоит выровнять комменты вертикально друг относительно друга, желательно с отступом от самой длинной строки, примерно так:
CommentSpacing: false # Отступы в комментариях
ArgumentListWrapping: false # Перенос аргументов
NoEmptyFirstLineInMethodBlock: false
Filename: false # Имя файла snake_case
P.S. в редакторе текст не моноширинный, поэтому такое надо проверять в превью
|
|
||
| После клонирования открываем проект в Android Studio. Для этого запускаем IDE, выбираем ` File -> Open ` и указываем папку, в которую склонировали репозиторий. При первом открытии должно появиться следующее окно: | ||
|
|
||
|  |
Contributor
There was a problem hiding this comment.
Кажется, в начале опечатка - ndroid
| syncMultiPlatformLibrary.... | ||
|
|
||
| Если возникают ошибки компиляции iOS-приложения, связанные с отсутствием MultiPlatformLibrary, проверьте интеграцию ( | ||
| наличие фреймворка по скриншоту выше), а также наличие самого файла фреймворка по пути |
Contributor
There was a problem hiding this comment.
Тут скобка должна быть не на предыдущей строка, а на этой, иначе там пробел добавится
| все мультиплатформенные модули. | ||
|
|
||
| Для примера откроем в Xcode файл ` mpp-library/src/commonMain/kotlin/org/example/library/SharedFactory.kt ` и поставим | ||
| брейкпоинт (кликнув на номер строки) на строке в конструкторе класса с инициализацией логгера ` Napier `: |
Contributor
There was a problem hiding this comment.
Лучше чуть поменять местами слва - брейкпоинт (кликнув на номер строки) в конструкторе класса на строке с инициализацией логгера
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.