Commit 171df6c9 authored by Felix Paul Kühne's avatar Felix Paul Kühne

Basic HockeySDK integration

parent 66b136bf
......@@ -16,6 +16,7 @@
#import "VLCCloudServicesTVViewController.h"
#import "VLCHTTPUploaderController.h"
#import "VLCRemotePlaybackViewController.h"
#import <HockeySDK/HockeySDK.h>
@interface AppleTVAppDelegate ()
{
......@@ -56,6 +57,14 @@
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
{
BITHockeyManager *hockeyManager = [BITHockeyManager sharedHockeyManager];
[hockeyManager configureWithBetaIdentifier:@"0114ca8e265244ce588d2ebd035c3577"
liveIdentifier:@"c95f4227dff96c61f8b3a46a25edc584"
delegate:nil];
// Configure the SDK in here only!
[hockeyManager startManager];
self.window = [[UIWindow alloc] initWithFrame:[[UIScreen mainScreen] bounds]];
_localNetworkVC = [[VLCServerListTVViewController alloc] initWithNibName:nil bundle:nil];
_cloudServicesVC = [[VLCCloudServicesTVViewController alloc] initWithNibName:nil bundle:nil];
......
......@@ -438,6 +438,9 @@
7DEC8BE91BD68BC9006E1093 /* Settings.bundle in Resources */ = {isa = PBXBuildFile; fileRef = 7DEC8BE81BD68BC9006E1093 /* Settings.bundle */; };
7DEC8C1F1BD6A113006E1093 /* UIDevice+VLC.m in Sources */ = {isa = PBXBuildFile; fileRef = 7D3784C7183A9972009EE944 /* UIDevice+VLC.m */; };
7DEDD38C1BE936130053802C /* About Contents.html in Resources */ = {isa = PBXBuildFile; fileRef = 7DEDD38B1BE936130053802C /* About Contents.html */; };
7DEF22151C08759C00DA9789 /* HockeySDK.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 7DEF22141C08759C00DA9789 /* HockeySDK.framework */; };
7DEF22171C08778700DA9789 /* HockeySDK.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 7DEF22161C08778700DA9789 /* HockeySDK.framework */; };
7DEF22181C08778700DA9789 /* HockeySDK.framework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = 7DEF22161C08778700DA9789 /* HockeySDK.framework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; };
7DF04F4D1961F2B8004A5429 /* web-download-fixed.png in Resources */ = {isa = PBXBuildFile; fileRef = 7DF04F491961F2B8004A5429 /* web-download-fixed.png */; };
7DF04F4E1961F2B8004A5429 /* web-download.png in Resources */ = {isa = PBXBuildFile; fileRef = 7DF04F4A1961F2B8004A5429 /* web-download.png */; };
7DF04F4F1961F2B8004A5429 /* web-open-fixed.png in Resources */ = {isa = PBXBuildFile; fileRef = 7DF04F4B1961F2B8004A5429 /* web-open-fixed.png */; };
......@@ -737,6 +740,7 @@
dstPath = "";
dstSubfolderSpec = 10;
files = (
7DEF22181C08778700DA9789 /* HockeySDK.framework in Embed Frameworks */,
7D5278DE1BD7DF1800D0CA0E /* DropboxTVSDK.framework in Embed Frameworks */,
);
name = "Embed Frameworks";
......@@ -1122,6 +1126,9 @@
7DEC8BDD1BD67899006E1093 /* VLCFullscreenMovieTVViewController.xib */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.xib; path = VLCFullscreenMovieTVViewController.xib; sourceTree = "<group>"; };
7DEC8BE81BD68BC9006E1093 /* Settings.bundle */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.plug-in"; path = Settings.bundle; sourceTree = "<group>"; };
7DEDD38B1BE936130053802C /* About Contents.html */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.html; path = "About Contents.html"; sourceTree = "<group>"; };
7DEF22101C08754000DA9789 /* libHockeySDK.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = libHockeySDK.a; path = "ImportedSources/HockeySDK-tvOS/Support/build/Debug-appletvos/libHockeySDK.a"; sourceTree = "<group>"; };
7DEF22141C08759C00DA9789 /* HockeySDK.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = HockeySDK.framework; path = "ImportedSources/HockeySDK-tvOS/Support/build/Debug-appletvos/HockeySDK.framework"; sourceTree = "<group>"; };
7DEF22161C08778700DA9789 /* HockeySDK.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; name = HockeySDK.framework; path = "/Users/fkuehne/Library/Developer/Xcode/DerivedData/VLC_for_iOS-bycjwefmfylktwecihfbktrjsqob/Build/Products/Debug-appletvos/HockeySDK.framework"; sourceTree = "<absolute>"; };
7DF04F491961F2B8004A5429 /* web-download-fixed.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = "web-download-fixed.png"; path = "Resources/web-download-fixed.png"; sourceTree = SOURCE_ROOT; };
7DF04F4A1961F2B8004A5429 /* web-download.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = "web-download.png"; path = "Resources/web-download.png"; sourceTree = SOURCE_ROOT; };
7DF04F4B1961F2B8004A5429 /* web-open-fixed.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = "web-open-fixed.png"; path = "Resources/web-open-fixed.png"; sourceTree = SOURCE_ROOT; };
......@@ -1382,6 +1389,7 @@
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
7DEF22151C08759C00DA9789 /* HockeySDK.framework in Frameworks */,
7D0C352F1BD97BC50058CD19 /* libLiveTVSDK.a in Frameworks */,
7DC71D0E1BC81F70001FACAA /* AVFoundation.framework in Frameworks */,
7DF28AE11BA31C580030C944 /* libc++.tbd in Frameworks */,
......@@ -1389,6 +1397,7 @@
7DF28ADD1BA31C390030C944 /* OpenGLES.framework in Frameworks */,
7D5278D81BD7DEF600D0CA0E /* DropboxTVSDK.framework in Frameworks */,
7DF28ADB1BA31C2B0030C944 /* CoreText.framework in Frameworks */,
7DEF22171C08778700DA9789 /* HockeySDK.framework in Frameworks */,
7DF28AD71BA31C150030C944 /* AudioToolbox.framework in Frameworks */,
7D1FEBD41BA3184A00D1058E /* libTVVLCKit.a in Frameworks */,
690D0AB5E34F29B46839C92E /* libPods-VLC-TV.a in Frameworks */,
......@@ -1873,6 +1882,7 @@
7D94FCD216DE7D1000F2623B = {
isa = PBXGroup;
children = (
7DEF22161C08778700DA9789 /* HockeySDK.framework */,
DD29A3E81BF21E3D00A27A91 /* SharedConfig.xcconfig */,
7D94FCE416DE7D1000F2623B /* iOS specific classes */,
7DADC55C1704FAA8001DAC63 /* XIBs */,
......@@ -1906,6 +1916,8 @@
7D94FCDD16DE7D1000F2623B /* Frameworks */ = {
isa = PBXGroup;
children = (
7DEF22141C08759C00DA9789 /* HockeySDK.framework */,
7DEF22101C08754000DA9789 /* libHockeySDK.a */,
7D0C352E1BD97BC50058CD19 /* libLiveTVSDK.a */,
7D8968701BD3058800F4EAAD /* LocalAuthentication.framework */,
7DC71D0D1BC81F70001FACAA /* AVFoundation.framework */,
......@@ -3740,6 +3752,10 @@
"CODE_SIGN_IDENTITY[sdk=appletvos*]" = "iPhone Developer";
DEBUG_INFORMATION_FORMAT = dwarf;
ENABLE_STRICT_OBJC_MSGSEND = YES;
FRAMEWORK_SEARCH_PATHS = (
"$(inherited)",
"$(PROJECT_DIR)/ImportedSources/HockeySDK-tvOS/Support/build/Debug-appletvos",
);
GCC_NO_COMMON_BLOCKS = YES;
GCC_OPTIMIZATION_LEVEL = 0;
GCC_PRECOMPILE_PREFIX_HEADER = YES;
......@@ -3756,15 +3772,17 @@
"$(SRCROOT)/ImportedSources/OneDrive/src/LiveSDK/Library/**",
);
INFOPLIST_FILE = "Apple-TV/Info.plist";
KEYCHAIN_ACCESS_GROUP = "$(AppIdentifierPrefix)$(BUNDLE_IDENTIFIER_PREFIX).vlc-tvos";
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
LIBRARY_SEARCH_PATHS = (
"$(inherited)",
"$(PROJECT_DIR)/ImportedSources/VLCKit/build/Debug-appletvos",
"$(SDKROOT)/usr/lib/system",
"$(PROJECT_DIR)/ImportedSources/OneDrive/src/build/Debug-appletvos",
"$(PROJECT_DIR)/ImportedSources/HockeySDK-tvOS/Support/build/Debug-appletvos",
);
MTL_ENABLE_DEBUG_INFO = YES;
PRODUCT_BUNDLE_IDENTIFIER = "${BUNDLE_IDENTIFIER_PREFIX}.vlc-ios";
PRODUCT_BUNDLE_IDENTIFIER = "${BUNDLE_IDENTIFIER_PREFIX}.vlc-tvos";
PRODUCT_NAME = "$(TARGET_NAME)";
PROVISIONING_PROFILE = "";
SDKROOT = appletvos;
......@@ -3792,6 +3810,10 @@
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
ENABLE_NS_ASSERTIONS = NO;
ENABLE_STRICT_OBJC_MSGSEND = YES;
FRAMEWORK_SEARCH_PATHS = (
"$(inherited)",
"$(PROJECT_DIR)/ImportedSources/HockeySDK-tvOS/Support/build/Debug-appletvos",
);
GCC_NO_COMMON_BLOCKS = YES;
GCC_PRECOMPILE_PREFIX_HEADER = YES;
GCC_PREFIX_HEADER = "Apple-TV/TVPrefixHeader.pch";
......@@ -3807,15 +3829,17 @@
"$(SRCROOT)/ImportedSources/OneDrive/src/LiveSDK/Library/**",
);
INFOPLIST_FILE = "Apple-TV/Info.plist";
KEYCHAIN_ACCESS_GROUP = "$(AppIdentifierPrefix)$(BUNDLE_IDENTIFIER_PREFIX).vlc-tvos";
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
LIBRARY_SEARCH_PATHS = (
"$(inherited)",
"$(PROJECT_DIR)/ImportedSources/VLCKit/build/Debug-appletvos",
"$(SDKROOT)/usr/lib/system",
"$(PROJECT_DIR)/ImportedSources/OneDrive/src/build/Debug-appletvos",
"$(PROJECT_DIR)/ImportedSources/HockeySDK-tvOS/Support/build/Debug-appletvos",
);
MTL_ENABLE_DEBUG_INFO = NO;
PRODUCT_BUNDLE_IDENTIFIER = "${BUNDLE_IDENTIFIER_PREFIX}.vlc-ios";
PRODUCT_BUNDLE_IDENTIFIER = "${BUNDLE_IDENTIFIER_PREFIX}.vlc-tvos";
PRODUCT_NAME = "$(TARGET_NAME)";
PROVISIONING_PROFILE = "";
SDKROOT = appletvos;
......@@ -3843,6 +3867,10 @@
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
ENABLE_NS_ASSERTIONS = NO;
ENABLE_STRICT_OBJC_MSGSEND = YES;
FRAMEWORK_SEARCH_PATHS = (
"$(inherited)",
"$(PROJECT_DIR)/ImportedSources/HockeySDK-tvOS/Support/build/Debug-appletvos",
);
GCC_NO_COMMON_BLOCKS = YES;
GCC_PRECOMPILE_PREFIX_HEADER = YES;
GCC_PREFIX_HEADER = "Apple-TV/TVPrefixHeader.pch";
......@@ -3858,15 +3886,17 @@
"$(SRCROOT)/ImportedSources/OneDrive/src/LiveSDK/Library/**",
);
INFOPLIST_FILE = "Apple-TV/Info.plist";
KEYCHAIN_ACCESS_GROUP = "$(AppIdentifierPrefix)$(BUNDLE_IDENTIFIER_PREFIX).vlc-tvos";
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
LIBRARY_SEARCH_PATHS = (
"$(inherited)",
"$(PROJECT_DIR)/ImportedSources/VLCKit/build/Debug-appletvos",
"$(SDKROOT)/usr/lib/system",
"$(PROJECT_DIR)/ImportedSources/OneDrive/src/build/Debug-appletvos",
"$(PROJECT_DIR)/ImportedSources/HockeySDK-tvOS/Support/build/Debug-appletvos",
);
MTL_ENABLE_DEBUG_INFO = NO;
PRODUCT_BUNDLE_IDENTIFIER = "${BUNDLE_IDENTIFIER_PREFIX}.vlc-ios";
PRODUCT_BUNDLE_IDENTIFIER = "${BUNDLE_IDENTIFIER_PREFIX}.vlc-tvos";
PRODUCT_NAME = "$(TARGET_NAME)";
PROVISIONING_PROFILE = "";
SDKROOT = appletvos;
......
......@@ -19,6 +19,9 @@
<FileRef
location = "group:ImportedSources/OneDrive/src/LiveSDK.xcodeproj">
</FileRef>
<FileRef
location = "group:ImportedSources/HockeySDK-tvOS/Support/HockeySDK.xcodeproj">
</FileRef>
<FileRef
location = "group:Pods/Pods.xcodeproj">
</FileRef>
......
......@@ -173,6 +173,15 @@ cd ..
rm dropbox-ios-sdk-${DROPBOXSDKVERSION}.zip
rm -rf __MACOSX
fi
if ! [ -e HockeySDK-tvOS ]; then
curl -L -O https://www.dropbox.com/s/pie0xxmf6xmj6wl/HockeySDK-tvOS.zip?dl=0
unzip -q HockeySDK-tvOS.zip?dl=0
cd HockeySDK-tvOS
patch -p1 < ../../patches/hockey/hockey.patch
cd ..
rm HockeySDK-tvOS.zip?dl=0
rm -rf __MACOSX
fi
if ! [ -e OneDrive ]; then
git clone git://github.com/liveservices/LiveSDK-for-iOS.git OneDrive
cd OneDrive && git am ../../patches/onedrive/*.patch && cd ..
......
diff -ru HockeySDK-tvOS/Support/HockeySDK.xcodeproj/project.pbxproj HockeySDK-tvOS/Support/HockeySDK.xcodeproj/project.pbxproj
--- /Users/fkuehne/Desktop/HockeySDK-tvOS/Support/HockeySDK.xcodeproj/project.pbxproj 2015-10-30 12:45:50.000000000 +0100
+++ HockeySDK-tvOS/Support/HockeySDK.xcodeproj/project.pbxproj 2015-11-27 12:34:18.000000000 +0100
@@ -158,13 +158,11 @@
1EB617B71B0A31D30035A986 /* BITCrashReportTextFormatterTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 1E566D061A275C4C0070F514 /* BITCrashReportTextFormatterTests.m */; };
1EB617B81B0A31DB0035A986 /* BITTestHelper.m in Sources */ = {isa = PBXBuildFile; fileRef = 1EA1170616F53B91001C015C /* BITTestHelper.m */; };
1EB617B91B0A32780035A986 /* HockeySDKResources.bundle in Resources */ = {isa = PBXBuildFile; fileRef = 1E59550A15B6F45800A03429 /* HockeySDKResources.bundle */; };
- 1EB617BA1B0A32870035A986 /* AssetsLibrary.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 9760F6C318BB4D2D00959B93 /* AssetsLibrary.framework */; };
1EB617BC1B0A32C90035A986 /* CoreText.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 1EB617BB1B0A32C90035A986 /* CoreText.framework */; };
1EB617BE1B0A32D00035A986 /* CoreGraphics.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 1EB617BD1B0A32D00035A986 /* CoreGraphics.framework */; };
1EB617BF1B0A32DC0035A986 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = E400561D148D79B500EB22B9 /* Foundation.framework */; };
1EB617C01B0A32E40035A986 /* MobileCoreServices.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 97CC11F81917C0310028768F /* MobileCoreServices.framework */; };
1EB617C21B0A32EE0035A986 /* QuartzCore.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 1EB617C11B0A32EE0035A986 /* QuartzCore.framework */; };
- 1EB617C31B0A32F70035A986 /* QuickLook.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 97BD9BD4191109730043FD59 /* QuickLook.framework */; };
1EB617C51B0A33020035A986 /* Security.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 1EB617C41B0A33020035A986 /* Security.framework */; };
1EB617C71B0A330C0035A986 /* SystemConfiguration.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 1EB617C61B0A330C0035A986 /* SystemConfiguration.framework */; };
1EB617C91B0A33140035A986 /* UIKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 1EB617C81B0A33140035A986 /* UIKit.framework */; };
@@ -395,14 +393,12 @@
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
- 1EB617BA1B0A32870035A986 /* AssetsLibrary.framework in Frameworks */,
1EB617BC1B0A32C90035A986 /* CoreText.framework in Frameworks */,
1EB617BE1B0A32D00035A986 /* CoreGraphics.framework in Frameworks */,
1EB617BF1B0A32DC0035A986 /* Foundation.framework in Frameworks */,
1EB617C01B0A32E40035A986 /* MobileCoreServices.framework in Frameworks */,
1EB617C21B0A32EE0035A986 /* QuartzCore.framework in Frameworks */,
1EB617CB1B0A34040035A986 /* CrashReporter.framework in Frameworks */,
- 1EB617C31B0A32F70035A986 /* QuickLook.framework in Frameworks */,
1EB617C51B0A33020035A986 /* Security.framework in Frameworks */,
1EB617C71B0A330C0035A986 /* SystemConfiguration.framework in Frameworks */,
1EB617C91B0A33140035A986 /* UIKit.framework in Frameworks */,
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment