Skip to content

Commit 8ff8967

Browse files
authoredDec 20, 2021
BUILD_LIBRARY_FOR_DISTRIBUTION option
1 parent 2cb6cb4 commit 8ff8967

File tree

1 file changed

+12
-7
lines changed

1 file changed

+12
-7
lines changed
 

‎README.md

+12-7
Original file line numberDiff line numberDiff line change
@@ -27,15 +27,20 @@ To install the sdk, you just need to add the following lines in your project Pod
2727
pod "Screeb", "0.7.0"
2828
```
2929

30-
31-
### Carthage (Not available yet)
32-
33-
To install the sdk, you just need to add the following lines in your project Cartfile file :
34-
35-
```
36-
github "ScreebApp/sdk-ios-public" "0.7.0"
30+
At the end of the Podfile, add this code :
31+
32+
```ruby
33+
post_install do |installer|
34+
installer.pods_project.targets.each do |target|
35+
target.build_configurations.each do |config|
36+
config.build_settings['BUILD_LIBRARY_FOR_DISTRIBUTION'] = 'YES'
37+
end
38+
end
39+
end
3740
```
3841

42+
> Screeb sdk supports module stability across Swift versions used by dependencies, so we need all dependencies to be built with the BUILD_LIBRARY_FOR_DISTRIBUTION flag enabled
43+
3944
## How to configure the iOS SDK
4045
[See here.](https://github.com/ScreebApp/developers/wiki/ios-SDK-install)
4146

0 commit comments

Comments
 (0)
Please sign in to comment.