Permalink
Browse files

Adding tvOS framework target

  • Loading branch information...
uerceg
uerceg committed Aug 30, 2016
1 parent 6f37edd commit 55fb75df30ae6697bf75017b32a719170f2fd03b
Showing with 819 additions and 333 deletions.
  1. +442 −6 Adjust.xcodeproj/project.pbxproj
  2. +27 −0 AdjustSdkTv/AdjustSdkTv.h
  3. +26 −0 AdjustSdkTv/Info.plist
  4. +7 −2 Scripts/adjust_build.sh
  5. +6 −6 examples/AdjustExample-tvOS/AdjustExample-tvOS.xcodeproj/project.pbxproj
  6. +0 −1 examples/AdjustExample-tvOS/AdjustExample-tvOS/Adjust/AdjustSdk.framework/AdjustSdk
  7. +0 −1 examples/AdjustExample-tvOS/AdjustExample-tvOS/Adjust/AdjustSdk.framework/Headers
  8. BIN examples/AdjustExample-tvOS/AdjustExample-tvOS/Adjust/AdjustSdk.framework/Versions/A/AdjustSdk
  9. +0 −271 ...ustExample-tvOS/AdjustExample-tvOS/Adjust/AdjustSdk.framework/Versions/A/Headers/ADJSociomantic.h
  10. +0 −43 ...AdjustExample-tvOS/AdjustExample-tvOS/Adjust/AdjustSdk.framework/Versions/A/Headers/ADJTrademob.h
  11. +0 −1 examples/AdjustExample-tvOS/AdjustExample-tvOS/Adjust/AdjustSdk.framework/Versions/Current
  12. BIN examples/AdjustExample-tvOS/AdjustExample-tvOS/Adjust/AdjustSdkTV.framework/AdjustSdkTV
  13. 0 ...ple-tvOS/Adjust/{AdjustSdk.framework/Versions/A → AdjustSdkTV.framework}/Headers/ADJAttribution.h
  14. 0 ...tExample-tvOS/Adjust/{AdjustSdk.framework/Versions/A → AdjustSdkTV.framework}/Headers/ADJConfig.h
  15. 0 ...stExample-tvOS/Adjust/{AdjustSdk.framework/Versions/A → AdjustSdkTV.framework}/Headers/ADJEvent.h
  16. 0 ...le-tvOS/Adjust/{AdjustSdk.framework/Versions/A → AdjustSdkTV.framework}/Headers/ADJEventFailure.h
  17. 0 ...le-tvOS/Adjust/{AdjustSdk.framework/Versions/A → AdjustSdkTV.framework}/Headers/ADJEventSuccess.h
  18. 0 ...tExample-tvOS/Adjust/{AdjustSdk.framework/Versions/A → AdjustSdkTV.framework}/Headers/ADJLogger.h
  19. 0 ...-tvOS/Adjust/{AdjustSdk.framework/Versions/A → AdjustSdkTV.framework}/Headers/ADJSessionFailure.h
  20. 0 ...-tvOS/Adjust/{AdjustSdk.framework/Versions/A → AdjustSdkTV.framework}/Headers/ADJSessionSuccess.h
  21. 0 ...justExample-tvOS/Adjust/{AdjustSdk.framework/Versions/A → AdjustSdkTV.framework}/Headers/Adjust.h
  22. +27 −0 examples/AdjustExample-tvOS/AdjustExample-tvOS/Adjust/AdjustSdkTV.framework/Headers/AdjustSdkTV.h
  23. BIN examples/AdjustExample-tvOS/AdjustExample-tvOS/Adjust/AdjustSdkTV.framework/Info.plist
  24. +6 −0 examples/AdjustExample-tvOS/AdjustExample-tvOS/Adjust/AdjustSdkTV.framework/Modules/module.modulemap
  25. +276 −0 ...s/AdjustExample-tvOS/AdjustExample-tvOS/Adjust/AdjustSdkTV.framework/_CodeSignature/CodeResources
  26. +1 −1 examples/AdjustExample-tvOS/AdjustExample-tvOS/AppDelegate.h
  27. +1 −1 examples/AdjustExample-tvOS/AdjustExample-tvOS/ViewControllertvOS.m

Large diffs are not rendered by default.

Oops, something went wrong.
@@ -0,0 +1,27 @@
//
// AdjustSdkTv.h
// AdjustSdkTv
//
// Created by Uglješa Erceg on 29/08/16.
// Copyright © 2016 adjust GmbH. All rights reserved.
//
#import <UIKit/UIKit.h>
//! Project version number for AdjustSdkTv.
FOUNDATION_EXPORT double AdjustSdkTvVersionNumber;
//! Project version string for AdjustSdkTv.
FOUNDATION_EXPORT const unsigned char AdjustSdkTvVersionString[];
// In this header, you should import all the public headers of your framework using statements like #import <AdjustSdkTv/PublicHeader.h>
#import <AdjustSdkTv/Adjust.h>
#import <AdjustSdkTv/ADJEvent.h>
#import <AdjustSdkTv/ADJConfig.h>
#import <AdjustSdkTv/ADJLogger.h>
#import <AdjustSdkTv/ADJAttribution.h>
#import <AdjustSdkTv/ADJEventSuccess.h>
#import <AdjustSdkTv/ADJEventFailure.h>
#import <AdjustSdkTv/ADJSessionSuccess.h>
#import <AdjustSdkTv/ADJSessionFailure.h>
@@ -0,0 +1,26 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>CFBundleDevelopmentRegion</key>
<string>en</string>
<key>CFBundleExecutable</key>
<string>$(EXECUTABLE_NAME)</string>
<key>CFBundleIdentifier</key>
<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleName</key>
<string>$(PRODUCT_NAME)</string>
<key>CFBundlePackageType</key>
<string>FMWK</string>
<key>CFBundleShortVersionString</key>
<string>1.0</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
<string>$(CURRENT_PROJECT_VERSION)</string>
<key>NSPrincipalClass</key>
<string></string>
</dict>
</plist>
@@ -9,17 +9,22 @@ cd ..
# Clean the folders
rm -rf Frameworks/Static
rm -rf Frameworks/Dynamic
rm -rf Frameworks/tvOS
# Create needed folders
mkdir -p Frameworks/Static
mkdir -p Frameworks/Dynamic
mkdir -p Frameworks/tvOS
# Build static AdjustSdk.framework
xcodebuild -target AdjustStatic -configuration Release
# Build dynamic AdjustSdk.framework
xcodebuild -target AdjustSdk -configuration Release
# Build tvOS AdjustSdkTV.framework
xcodebuild -target AdjustSdkTv -configuration Release
# Build Carthage AdjustSdk.framework
carthage build --no-skip-current
@@ -43,5 +48,5 @@ rm -rf examples/AdjustExample-iWatch/AdjustExample-iWatch/Adjust/AdjustSdk.frame
cp -R Frameworks/Static/AdjustSdk.framework examples/AdjustExample-iWatch/AdjustExample-iWatch/Adjust/
# Copy static framework into example tvOS app
rm -rf examples/AdjustExample-tvOS/AdjustExample-tvOS/Adjust/AdjustSdk.framework
cp -R Frameworks/Static/AdjustSdk.framework examples/AdjustExample-tvOS/AdjustExample-tvOS/Adjust/
rm -rf examples/AdjustExample-tvOS/AdjustExample-tvOS/Adjust/AdjustSdkTv.framework
cp -R Frameworks/tvOS/AdjustSdkTv.framework examples/AdjustExample-tvOS/AdjustExample-tvOS/Adjust/
@@ -15,7 +15,7 @@
963909D01BCC0DA600A2E8A4 /* AdSupport.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 963909CF1BCC0DA600A2E8A4 /* AdSupport.framework */; settings = {ATTRIBUTES = (Weak, ); }; };
9DC95F2F1C10596500138E4B /* Constants.m in Sources */ = {isa = PBXBuildFile; fileRef = 9DC95F2E1C10596500138E4B /* Constants.m */; };
9DC95F321C105B4C00138E4B /* URLRequest.m in Sources */ = {isa = PBXBuildFile; fileRef = 9DC95F311C105B4C00138E4B /* URLRequest.m */; };
9DFB04DA1D746081006D48FC /* AdjustSdk.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 9DFB04D91D746081006D48FC /* AdjustSdk.framework */; };
9DFB060A1D746FB9006D48FC /* AdjustSdkTV.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 9DFB06091D746FB9006D48FC /* AdjustSdkTV.framework */; };
/* End PBXBuildFile section */
/* Begin PBXFileReference section */
@@ -33,16 +33,16 @@
9DC95F2E1C10596500138E4B /* Constants.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = Constants.m; sourceTree = "<group>"; };
9DC95F301C105B4C00138E4B /* URLRequest.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = URLRequest.h; sourceTree = "<group>"; };
9DC95F311C105B4C00138E4B /* URLRequest.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = URLRequest.m; sourceTree = "<group>"; };
9DFB04D91D746081006D48FC /* AdjustSdk.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = AdjustSdk.framework; path = Adjust/AdjustSdk.framework; sourceTree = "<group>"; };
9DFB06091D746FB9006D48FC /* AdjustSdkTV.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = AdjustSdkTV.framework; path = Adjust/AdjustSdkTV.framework; sourceTree = "<group>"; };
/* End PBXFileReference section */
/* Begin PBXFrameworksBuildPhase section */
963909AF1BCC0D8300A2E8A4 /* Frameworks */ = {
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
9DFB04DA1D746081006D48FC /* AdjustSdk.framework in Frameworks */,
963909D01BCC0DA600A2E8A4 /* AdSupport.framework in Frameworks */,
9DFB060A1D746FB9006D48FC /* AdjustSdkTV.framework in Frameworks */,
);
runOnlyForDeploymentPostprocessing = 0;
};
@@ -96,8 +96,8 @@
9DF7ACCA1CB50DB700D3591F /* Frameworks */ = {
isa = PBXGroup;
children = (
9DFB04D91D746081006D48FC /* AdjustSdk.framework */,
963909CF1BCC0DA600A2E8A4 /* AdSupport.framework */,
9DFB06091D746FB9006D48FC /* AdjustSdkTV.framework */,
);
name = Frameworks;
sourceTree = "<group>";
@@ -285,7 +285,7 @@
);
INFOPLIST_FILE = "AdjustExample-tvOS/Info.plist";
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
PRODUCT_BUNDLE_IDENTIFIER = "com.adjust.AdjustExample-tvOS";
PRODUCT_BUNDLE_IDENTIFIER = com.adjust.example;
PRODUCT_NAME = "$(TARGET_NAME)";
TVOS_DEPLOYMENT_TARGET = 9.0;
};
@@ -303,7 +303,7 @@
);
INFOPLIST_FILE = "AdjustExample-tvOS/Info.plist";
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
PRODUCT_BUNDLE_IDENTIFIER = "com.adjust.AdjustExample-tvOS";
PRODUCT_BUNDLE_IDENTIFIER = com.adjust.example;
PRODUCT_NAME = "$(TARGET_NAME)";
TVOS_DEPLOYMENT_TARGET = 9.0;
};

This file was deleted.

Oops, something went wrong.

This file was deleted.

Oops, something went wrong.
Oops, something went wrong.

0 comments on commit 55fb75d

Please sign in to comment.