diff --git a/ios/Podfile b/ios/Podfile index 0089b40256..14221839f8 100644 --- a/ios/Podfile +++ b/ios/Podfile @@ -35,6 +35,16 @@ abstract_target 'Status' do target 'StatusImPR' do end + post_install do |installer| + # some of libs wouldn't be build for x86_64 otherwise and that is + # necessary for ios simulators + installer.pods_project.targets.each do |target| + target.build_configurations.each do |config| + config.build_settings['ONLY_ACTIVE_ARCH'] = 'NO' + end + end + end + use_native_modules! end