Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

[ios-sdk] Fix docs/distribution scripts

Summary:
Appledoc docset name was referenced twice, and differently. Fixed to use the variable set by common.sh, and fixed
common.sh to set the right name.

Test Plan: Revert Plan:

Reviewers: jacl

Reviewed By: jacl

Differential Revision: https://phabricator.fb.com/D497697
  • Loading branch information...
commit 77dc3cd2cd6625a02c5e8eede904bd6356f82208 1 parent 32d03d0
@clang13 clang13 authored
View
1  README.mdown
@@ -7,3 +7,4 @@ Except as otherwise noted, the Facebook SDK for iOS is licensed under the Apache
Learn more about about the provided samples, documentation, integrating the SDK into your app, accessing source code, and more at http://developers.facebook.com/ios.
+NOTE: By default, the Facebook SDK for iOS is installed in ~/Documents/FacebookSDK. A simple way to test your install is to build and run the project at ~/Documents/FacebookSDK/Samples/JustRequestSample/JustRequestSample.xcodeproj.
View
2  scripts/build_documentation.sh
@@ -38,7 +38,7 @@ test -d $FB_SDK_BUILD \
cd $FB_SDK_SRC
APPLEDOC=appledoc
-DOCSET="$FB_SDK_BUILD"/com.facebook.Facebook-SDK-3_0-for-iOS.docset
+DOCSET="$FB_SDK_BUILD"/"$FB_SDK_DOCSET_NAME"
rm -rf $DOCSET
View
2  scripts/common.sh
@@ -61,7 +61,7 @@ if [ -z "$FB_SDK_SCRIPT" ]; then
FB_SDK_FRAMEWORK=$FB_SDK_BUILD/$FB_SDK_FRAMEWORK_NAME
# The name of the docset
- FB_SDK_DOCSET_NAME=com.facebook.Facebook-iOS-SDK.docset
+ FB_SDK_DOCSET_NAME=com.facebook.Facebook-SDK-3_0-for-iOS.docset
# The path to the framework docs
FB_SDK_FRAMEWORK_DOCS=$FB_SDK_BUILD/$FB_SDK_DOCSET_NAME
Please sign in to comment.
Something went wrong with that request. Please try again.