Skip to content

Commit

Permalink
Use iphonesimulator SDK for Obj-C doc generation (flutter#4241)
Browse files Browse the repository at this point in the history
  • Loading branch information
cbracken authored Oct 18, 2017
1 parent 5202ff8 commit b41c7cf
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tools/gen_objcdoc.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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\
Expand Down

0 comments on commit b41c7cf

Please sign in to comment.