You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Exclude all FlipperKit transitive dependencies from iOS Release builds (#28504)
Summary:
The `:configuration` option from `pod` only affects the specified pod and not its dependencies [1]. Therefore in order to avoid all transitive dependencies being linked in the resulting Release IPA we need to list them in the `Podfile`.
Note that this will still build Flipper's pods when doing a Release, but it won't link it in the resulting IPA.
[1] https://guides.cocoapods.org/syntax/podfile.html#podFixesreact-native-community/upgrade-support#28
Related CocoaPods/CocoaPods#9658
## Changelog
* [iOS] [Fixed] - Exclude Flipper from iOS Release builds
Pull Request resolved: #28504
Test Plan:
Create a new React Native 0.62 project, run `pod install`, then diff:
```
ProjectName/ios/Pods/Target Support Files/Pods-ProjectName/Pods-ProjectName.debug.xcconfig`
```
and
```
ProjectName/ios/Pods/Target Support Files/Pods-ProjectName/Pods-ProjectName.relaese.xcconfig
```

Reviewed By: passy
Differential Revision: D20894406
Pulled By: priteshrnandgaonkar
fbshipit-source-id: 680780f0f5a85fd8423b85a271a499bd12f06d00
0 commit comments