Skip to content

Commit 8edd796

Browse files
committed
adjust build ios
1 parent c415a69 commit 8edd796

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

examples/build_ios.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -290,10 +290,15 @@ The `project.pbxproj` needs native target entries for both extensions. These are
290290

291291
---
292292

293-
## 6. Run pod install
293+
## 6. Install dependencies
294+
295+
Run `flutter pub get` first (the Podfile reads `Generated.xcconfig` which this creates), then `pod install`:
294296

295297
```sh
298+
flutter pub get
296299
cd ios && pod install
297300
```
298301

299302
This generates the Pods workspace, xcconfig files, and CocoaPods build phases (`[CP] Check Pods Manifest.lock`, `[CP] Embed Pods Frameworks`). Open the `.xcworkspace` file (not `.xcodeproj`) going forward.
303+
304+
Note: avoid setting `CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER` in extension build configurations since CocoaPods provides it via xcconfig.

0 commit comments

Comments
 (0)