-
Notifications
You must be signed in to change notification settings - Fork 51
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
333 changed files
with
13,393 additions
and
5,607 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
OUTDIR=`pwd`/out | ||
OUTDIR_DEVICE=`pwd`/out_device | ||
OUTDIR_SIMULATOR=`pwd`/out_simulator | ||
LOGDIR=$OUTDIR/log | ||
BUILDDIR=$OUTDIR/build | ||
SCHEMENAME="AppNexusSDK" | ||
|
||
rm -fr $OUTDIR > /dev/null 2>&1 | ||
rm -fr $OUTDIR_DEVICE > /dev/null 2>&1 | ||
rm -fr $OUTDIR_SIMULATOR > /dev/null 2>&1 | ||
|
||
function buildDevice { | ||
echo "Building framework for device:" $1 | ||
LOGFILE=$LOGDIR/$1.log | ||
xcodebuild -project "ANSDK.xcodeproj" -scheme $1 -configuration "Release" -sdk "iphoneos" CONFIGURATION_BUILD_DIR=$OUTDIR SYMROOT=$BUILDDIR OBJROOT=$BUILDDIR > $LOGFILE 2>&1 || { echo "Error in build check log $LOGFILE"; exit;} | ||
mkdir -p $OUTDIR/$1 | ||
mv $OUTDIR/$1.framework $OUTDIR/$1/$1.framework | ||
} | ||
|
||
function buildSim { | ||
echo "Building framework for simulator:" $1 | ||
LOGFILE=$LOGDIR/$1.log | ||
xcodebuild -project "ANSDK.xcodeproj" -scheme $1 -configuration "Release" -sdk "iphonesimulator" CONFIGURATION_BUILD_DIR=$OUTDIR SYMROOT=$BUILDDIR OBJROOT=$BUILDDIR > $LOGFILE 2>&1 || { echo "Error in build check log $LOGFILE"; exit;} | ||
mkdir -p $OUTDIR/$1 | ||
mv $OUTDIR/$1.framework $OUTDIR/$1/$1.framework | ||
} | ||
|
||
### device | ||
mkdir -p $LOGDIR | ||
buildDevice $SCHEMENAME | ||
rm -rf $OUTDIR/Intermediates | ||
rm -rf $BUILDDIR | ||
mv $OUTDIR $OUTDIR_DEVICE | ||
|
||
### simulator | ||
|
||
mkdir -p $LOGDIR | ||
buildSim $SCHEMENAME | ||
rm -rf $OUTDIR/Intermediates | ||
rm -rf $BUILDDIR | ||
mv $OUTDIR $OUTDIR_SIMULATOR | ||
|
||
### combine | ||
echo 'Combining framework architectures' | ||
|
||
mkdir -p $OUTDIR/$SCHEMENAME | ||
cp -a $OUTDIR_DEVICE/$SCHEMENAME/$SCHEMENAME.framework $OUTDIR/$SCHEMENAME | ||
lipo -create $OUTDIR_DEVICE/$SCHEMENAME/$SCHEMENAME.framework/$SCHEMENAME $OUTDIR_SIMULATOR/$SCHEMENAME/$SCHEMENAME.framework/$SCHEMENAME -output $OUTDIR/$SCHEMENAME/$SCHEMENAME.framework/$SCHEMENAME | ||
rm -rf $OUTDIR_DEVICE/$SCHEMENAME/$SCHEMENAME.framework | ||
|
||
rm -fr $OUTDIR_DEVICE > /dev/null 2>&1 | ||
rm -fr $OUTDIR_SIMULATOR > /dev/null 2>&1 | ||
rm -rf `pwd`/build |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file modified
BIN
-24.3 KB
(100%)
mediation/mediatedviews/Amazon/AmazonSDK/AmazonAd.framework/Versions/A/AmazonAd
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 5 additions & 0 deletions
5
mediation/mediatedviews/Facebook/FacebookSDK/FBAudienceNetwork.README.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
|
||
Facebook Audience Network for iOS | ||
================================= | ||
|
||
Documentation is available at https://developers.facebook.com/docs/audience-network. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file modified
BIN
+4.06 MB
(180%)
...diatedviews/Facebook/FacebookSDK/FBAudienceNetwork.framework/Versions/A/FBAudienceNetwork
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
45 changes: 45 additions & 0 deletions
45
mediation/mediatedviews/Facebook/FacebookSDK/README-FACEBOOK.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
Facebook SDK for iOS | ||
==================== | ||
|
||
This open-source library allows you to integrate Facebook into your iOS app. | ||
|
||
Learn more about the provided samples, documentation, integrating the SDK into your app, accessing source code, and more at https://developers.facebook.com/ios | ||
|
||
NOTE: By default, the Facebook SDK for iOS is installed in ~/Documents/FacebookSDK | ||
|
||
TRY IT OUT | ||
---------- | ||
1. Download the SDK at https://developers.facebook.com/ios or via Cocoapods by adding the 'Facebook-iOS-SDK' pod. | ||
2. Test your install: build and run the project at ~/Documents/FacebookSDK/Samples/HelloFacebookSample/HelloFacebookSample.xcodeproj | ||
3. Check-out the tutorials available online at: https://developers.facebook.com/docs/getting-started/getting-started-with-the-ios-sdk | ||
4. Start coding! Visit https://developers.facebook.com/ios for tutorials and reference documentation. | ||
|
||
FEATURES | ||
-------- | ||
* Login - https://developers.facebook.com/docs/facebook-login | ||
* Sharing - https://developers.facebook.com/docs/sharing | ||
* App Links - https://developers.facebook.com/docs/applinks | ||
* Graph API - https://developers.facebook.com/docs/ios/graph | ||
|
||
GIVE FEEDBACK | ||
------------- | ||
Please report bugs or issues to https://developers.facebook.com/bugs/ | ||
|
||
You can also join the Facebook Developers Group on Facebook (https://www.facebook.com/groups/fbdevelopers/) or ask questions on Stack Overflow (http://facebook.stackoverflow.com) | ||
|
||
LICENSE | ||
------- | ||
Except as otherwise noted, the Facebook SDK for iOS is licensed under the Apache License, Version 2.0 (http://www.apache.org/licenses/LICENSE-2.0.html). | ||
|
||
DEVELOPER TERMS | ||
--------------- | ||
|
||
- By enabling Facebook integrations, including through this SDK, you can share information with Facebook, including information about people’s use of your app. Facebook will use information received in accordance with our Data Use Policy [https://www.facebook.com/about/privacy/], including to provide you with insights about the effectiveness of your ads and the use of your app. These integrations also enable us and our partners to serve ads on and off Facebook. | ||
|
||
- You may limit your sharing of information with us by updating the Insights control in the developer tool [https://developers.facebook.com/apps/{app_id}/advanced]. | ||
|
||
- If you use a Facebook integration, including to share information with us, you agree and confirm that you have provided appropriate and sufficiently prominent notice to and obtained the appropriate consent from your users regarding such collection, use, and disclosure (including, at a minimum, through your privacy policy). You further agree that you will not share information with us about children under the age of 13. | ||
|
||
- You agree to comply with all applicable laws and regulations and also agree to our Terms <https://www.facebook.com/policies/>, including our Platform Policies <https://developers.facebook.com/policy/>.and Advertising Guidelines, as applicable <https://www.facebook.com/ad_guidelines.php>. | ||
|
||
By using the Facebook SDK for iOS you agree to these terms. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.