Skip to content

Commit c20c653

Browse files
committed
Add GPB_USE_PROTOBUF_FRAMEWORK_IMPORTS=1 to podspec
1 parent bc6bdbe commit c20c653

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ios/flutter_blue.podspec

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,6 @@ Bluetooth Low Energy plugin for Flutter.
2727
end
2828

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

32-
end
32+
end

0 commit comments

Comments
 (0)