Skip to content

Commit

Permalink
Add GPB_USE_PROTOBUF_FRAMEWORK_IMPORTS=1 to podspec
Browse files Browse the repository at this point in the history
  • Loading branch information
pauldemarco committed Oct 24, 2019
1 parent bc6bdbe commit c20c653
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ios/flutter_blue.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,6 @@ Bluetooth Low Energy plugin for Flutter.
end

# Flutter.framework does not contain a i386 slice. Only x86_64 simulators are supported.
s.pod_target_xcconfig = { 'DEFINES_MODULE' => 'YES', 'VALID_ARCHS[sdk=iphonesimulator*]' => 'x86_64', }
s.pod_target_xcconfig = { 'DEFINES_MODULE' => 'YES', 'VALID_ARCHS[sdk=iphonesimulator*]' => 'x86_64', 'GCC_PREPROCESSOR_DEFINITIONS' => '$(inherited) GPB_USE_PROTOBUF_FRAMEWORK_IMPORTS=1', }

end
end

0 comments on commit c20c653

Please sign in to comment.