From 8537a8f0e220e55528f00daa31496a49cb0b5bd3 Mon Sep 17 00:00:00 2001 From: Vyacheslav Khorkov Date: Sat, 11 Nov 2023 22:06:07 +0500 Subject: [PATCH] Update README.md --- README.md | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 0051aa23..3ec20860 100644 --- a/README.md +++ b/README.md @@ -80,10 +80,13 @@ If you look for the legacy `Rugby 1.x`, visit [this page](https://github.com/swi
Preconditions

-1. Before using Rugby you should be sure that your project source code is finalized.\ +1. If you use Objective-C in your project, be sure that you import modules correctly.\ + Use `@import Something` instead of `#import "Something.h"`.\ + Because Rugby will include built frameworks in your project; +2. Before using Rugby you should be sure that your project source code is finalized.\ 🔸 For example: if you use `SwiftGen`, run it before calling Rugby.\ Otherwise, your source code will be modified during building with Rugby. Then the hashes of binaries will not be suited; -2. Be sure that all your pods (including development) are ready to build standalone.\ +3. Be sure that all your pods (including development) are ready to build standalone.\ Otherwise, you can get a state when one of them can't be reused correctly without the source of its dependencies.\ As a temporary workaround, you can exclude some pods like `rugby -e BadPod`.\ 🔸 For example: if some of your pods use incorrect headers.