@@ -28,7 +28,7 @@ Install the [CocoaPods dependency manager](https://cocoapods.org/) using the ins
28
28
<tabs >
29
29
<tab title =" RVM " >
30
30
31
- 1 . Install [ Ruby version manager ] ( https://rvm.io/rvm/install ) in case you don't have it yet.
31
+ 1 . Install [ RVM ] ( https://rvm.io/rvm/install ) in case you don't have it yet.
32
32
2 . Install Ruby. You can choose a specific version:
33
33
34
34
``` bash
@@ -314,10 +314,75 @@ manually or using a shell command:
314
314
echo -e " kotlin.apple.cocoapods.bin=$( which pod) " >> local.properties
315
315
` ` `
316
316
317
- ### Module not found {initial-collapse-state=" collapsed" collapsible=" true" }
317
+ ### Module or framework not found {initial-collapse-state=" collapsed" collapsible=" true" }
318
318
319
- You may encounter a ` module ' SomeSDK' not found` error that is connected with the [C-interop](native-c-interop.md) issue.
320
- Try these workarounds to avoid this error:
319
+ When installing Pods, you may encounter ` module ' SomeSDK' not found` or ` framework ' SomeFramework' not found`
320
+ errors related to [C interop](native-c-interop.md) issues. To resolve such errors, try these solutions:
321
+
322
+ #### Update packages
323
+
324
+ Update your installation tool and the installed packages (gems):
325
+
326
+ <tabs>
327
+ <tab title=" RVM" >
328
+
329
+ 1. Update RVM:
330
+
331
+ ` ` ` bash
332
+ rvm get stable
333
+ ` ` `
334
+
335
+ 2. Update Ruby's package manager, RubyGems:
336
+
337
+ ` ` ` bash
338
+ gem update --system
339
+ ` ` `
340
+
341
+ 3. Upgrade all installed gems to their latest versions:
342
+
343
+ ` ` ` bash
344
+ gem update
345
+ ` ` `
346
+
347
+ </tab>
348
+ <tab title=" Rbenv" >
349
+
350
+ 1. Update Rbenv:
351
+
352
+ ` ` ` bash
353
+ cd ~ /.rbenv
354
+ git pull
355
+ ` ` `
356
+
357
+ 2. Update Ruby's package manager, RubyGems:
358
+
359
+ ` ` ` bash
360
+ gem update --system
361
+ ` ` `
362
+
363
+ 3. Upgrade all the installed gems to their latest versions:
364
+
365
+ ` ` ` bash
366
+ gem update
367
+ ` ` `
368
+
369
+ </tab>
370
+ <tab title=" Homebrew" >
371
+
372
+ 1. Update the Homebrew package manager:
373
+
374
+ ` ` ` bash
375
+ brew update
376
+ ` ` `
377
+
378
+ 2. Upgrade all the installed packages to their latest versions:
379
+
380
+ ` ` ` bash
381
+ brew upgrade
382
+ ` ` ` `
383
+
384
+ < /tab>
385
+ < /tabs>
321
386
322
387
# ### Specify the framework name
323
388
@@ -331,6 +396,7 @@ Try these workarounds to avoid this error:
331
396
moduleName = "SDWebImageMapKit"
332
397
}
333
398
```
399
+
334
400
#### Specify headers
335
401
336
402
If the Pod doesn' t contain a ` .modulemap` file, like the ` pod(" NearbyMessages" )` , specify the main header explicitly:
0 commit comments