From e6c37be1814d9b56b4bdd0947cda898a56212c0d Mon Sep 17 00:00:00 2001 From: Chris Bracken Date: Wed, 18 Oct 2017 13:23:13 -0700 Subject: [PATCH] Use iphonesimulator SDK for Obj-C doc generation (flutter/engine#4241) See: https://github.com/realm/jazzy/issues/791 --- engine/src/flutter/tools/gen_objcdoc.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/engine/src/flutter/tools/gen_objcdoc.sh b/engine/src/flutter/tools/gen_objcdoc.sh index 85595d1d0d..cc8e8b9a42 100755 --- a/engine/src/flutter/tools/gen_objcdoc.sh +++ b/engine/src/flutter/tools/gen_objcdoc.sh @@ -17,15 +17,18 @@ if [ $# -eq 0 ] exit 1 fi +# Use iPhoneSimulator SDK +# See: https://github.com/realm/jazzy/issues/791 jazzy \ --objc\ + --sdk iphonesimulator\ --clean\ --author Flutter Team\ --author_url 'https://flutter.io'\ --github_url 'https://github.com/flutter'\ --github-file-prefix 'http://github.com/flutter/engine/blob/master'\ --module-version 1.0.0\ - --xcodebuild-arguments --objc,shell/platform/darwin/ios/framework/Headers/Flutter.h,--,-x,objective-c,-isysroot,$(xcrun --show-sdk-path --sdk iphoneos),-I,$(pwd)\ + --xcodebuild-arguments --objc,shell/platform/darwin/ios/framework/Headers/Flutter.h,--,-x,objective-c,-isysroot,$(xcrun --show-sdk-path),-I,$(pwd)\ --module Flutter\ --root-url https://docs.flutter.io/objc/\ --output $1\