Commit a6d00400 authored by Carola Nitz's avatar Carola Nitz

added basic Tests for codecs

parent 23bc2cc3
Pipeline #207 passed with stage
in 0 seconds
......@@ -90,7 +90,7 @@ EXTERNAL SOURCES:
:commit: 415ea6bb
:git: git://github.com/fkuehne/InAppSettingsKit.git
ObjectiveDropboxOfficial:
:git: git://github.com/TheHungryBu/dropbox-sdk-obj-c.git
:git: git://github.com/carolanitz/dropbox-sdk-obj-c.git
OROpenSubtitleDownloader:
:commit: 0509eac2
:git: https://github.com/orta/OROpenSubtitleDownloader.git
......@@ -106,8 +106,8 @@ CHECKOUT OPTIONS:
:commit: 415ea6bb
:git: git://github.com/fkuehne/InAppSettingsKit.git
ObjectiveDropboxOfficial:
:commit: 369328ebc7fc913654cb9e55974dc2b765fc3cd8
:git: git://github.com/TheHungryBu/dropbox-sdk-obj-c.git
:commit: 153b109c26aa8546fbe99567d229d91e09d2cd3b
:git: git://github.com/carolanitz/dropbox-sdk-obj-c.git
OROpenSubtitleDownloader:
:commit: 0509eac2
:git: https://github.com/orta/OROpenSubtitleDownloader.git
......@@ -140,6 +140,6 @@ SPEC CHECKSUMS:
XKKeychain: 852ef663c56a7194c73d3c68e8d9d4f07b121d4f
xmlrpc: 109bb21d15ed6d108b2c1ac5973a6a223a50f5f4
PODFILE CHECKSUM: 59ad766138d75cf7a189b67145bd9bfc1588f564
PODFILE CHECKSUM: 05942358698906fd73bd5f98bd1bfab33ab05052
COCOAPODS: 1.3.1
COCOAPODS: 1.2.1
......@@ -193,7 +193,7 @@
[self.historyTableView reloadData];
}
[self.urlField resignFirstResponder];
[self performSelectorInBackground:@selector(_openURLStringAndDismiss:) withObject:self.urlField.text];
[self _openURLStringAndDismiss:self.urlField.text];
}
}
......@@ -317,7 +317,7 @@
- (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath
{
[self.historyTableView deselectRowAtIndexPath:indexPath animated:NO];
[self performSelectorInBackground:@selector(_openURLStringAndDismiss:) withObject:_recentURLs[indexPath.row]];
[self _openURLStringAndDismiss:_recentURLs[indexPath.row]];
}
- (void)tableView:(UITableView *)tableView
......@@ -355,9 +355,9 @@ forRowAtIndexPath:(NSIndexPath *)indexPath
NSURL *URLscheme = [NSURL URLWithString:url];
NSString *URLofSubtitle = nil;
if ([URLscheme.scheme isEqualToString:@"http"])
if (self.ScanSubToggleSwitch.on)
if ([URLscheme.scheme isEqualToString:@"http"] && self.ScanSubToggleSwitch.on) {
URLofSubtitle = [self _checkURLofSubtitle:url];
}
VLCPlaybackController *vpc = [VLCPlaybackController sharedInstance];
[vpc playURL:[NSURL URLWithString:url] subtitlesFilePath:URLofSubtitle];
......
......@@ -211,7 +211,9 @@ VLCMediaDelegate>
[self stopPlayback];
} else {
self.sessionWillRestart = NO;
dispatch_async(dispatch_get_main_queue(), ^{
[self startPlayback];
});
}
}
......
<?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>$(DEVELOPMENT_LANGUAGE)</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>BNDL</string>
<key>CFBundleShortVersionString</key>
<string>1.0</string>
<key>CFBundleVersion</key>
<string>1</string>
</dict>
</plist>
//
// VLCTestLibrary.m
// VLC
//
// Created by Carola Nitz on 9/21/17.
// Copyright © 2017 VideoLAN. All rights reserved.
//
#import <XCTest/XCTest.h>
@interface VLC_for_IOSTestMenu : XCTestCase
@end
@implementation VLC_for_IOSTestMenu
- (void)setUp {
[super setUp];
self.continueAfterFailure = YES;
[[[XCUIApplication alloc] init] launch];
[[XCUIDevice sharedDevice] setOrientation:UIDeviceOrientationFaceUp];
}
- (void)tearDown {
// Put teardown code here. This method is called after the invocation of each test method in the class.
[super tearDown];
}
- (void)testMenuTabAllFiles {
XCUIApplication *app = [[XCUIApplication alloc] init];
[app.navigationBars[@"All Files"].buttons[@"Open VLC sidebar menu"] tap];
[app.cells/*@START_MENU_TOKEN@*/.staticTexts[@"All Files"]/*[[".cells.staticTexts[@\"All Files\"]",".staticTexts[@\"All Files\"]"],[[[-1,1],[-1,0]]],[0]]@END_MENU_TOKEN@*/ tap];
XCTAssertNotNil(app.navigationBars[@"All Files"]);
}
- (void)testMenuTabMusicAlbums {
XCUIApplication *app = [[XCUIApplication alloc] init];
[app.navigationBars[@"All Files"].buttons[@"Open VLC sidebar menu"] tap];
[app.cells/*@START_MENU_TOKEN@*/.staticTexts[@"Music Albums"]/*[[".cells.staticTexts[@\"Music Albums\"]",".staticTexts[@\"Music Albums\"]"],[[[-1,1],[-1,0]]],[0]]@END_MENU_TOKEN@*/ tap];
XCTAssertNotNil(app.navigationBars[@"Music Albums"]);
}
- (void)testMenuTabTVShows {
XCUIApplication *app = [[XCUIApplication alloc] init];
[app.navigationBars[@"All Files"].buttons[@"Open VLC sidebar menu"] tap];
[app.cells.staticTexts[@"TV Shows"] tap];
XCTAssertNotNil(app.navigationBars[@"TV Shows"]);
}
- (void)testMenuTabLocalNetwork {
XCUIApplication *app = [[XCUIApplication alloc] init];
[app.navigationBars[@"All Files"].buttons[@"Open VLC sidebar menu"] tap];
[app.cells.staticTexts[@"Local Network"] tap];
XCTAssertNotNil(app.navigationBars[@"Local Network"]);
}
- (void)testMenuTabNetworkStream {
XCUIApplication *app = [[XCUIApplication alloc] init];
[app.navigationBars[@"All Files"].buttons[@"Open VLC sidebar menu"] tap];
[app.cells.staticTexts[@"Network Stream"] tap];
XCTAssertNotNil(app.navigationBars[@"Network Stream"]);
}
- (void)testMenuTabDownloads {
XCUIApplication *app = [[XCUIApplication alloc] init];
[app.navigationBars[@"All Files"].buttons[@"Open VLC sidebar menu"] tap];
[app.cells.staticTexts[@"Downloads"] tap];
XCTAssertNotNil(app.navigationBars[@"Downloads"]);
}
- (void)testMenuTabWifi {
XCUIApplication *app = [[XCUIApplication alloc] init];
[app.navigationBars[@"All Files"].buttons[@"Open VLC sidebar menu"] tap];
[app.cells.staticTexts[@"Sharing via WiFi"] tap];
XCTAssertFalse(app.tables.staticTexts[@"Inactive Server"].exists);
}
- (void)testMenuTabCloudServices {
XCUIApplication *app = [[XCUIApplication alloc] init];
[app.navigationBars[@"All Files"].buttons[@"Open VLC sidebar menu"] tap];
[app.cells.staticTexts[@"Cloud Services"] tap];
XCTAssertNotNil(app.navigationBars[@"Cloud Services"]);
}
- (void)testMenuTabSettings {
XCUIApplication *app = [[XCUIApplication alloc] init];
[app.navigationBars[@"All Files"].buttons[@"Open VLC sidebar menu"] tap];
[app.cells.staticTexts[@"Settings"] tap];
XCTAssertNotNil(app.navigationBars[@"Settings"]);
}
- (void)testMenuTabAbout {
XCUIApplication *app = [[XCUIApplication alloc] init];
[app.navigationBars[@"All Files"].buttons[@"Open VLC sidebar menu"] tap];
[app.cells.staticTexts[@"About VLC for iOS"] tap];
XCTAssertNotNil(app.navigationBars[@"About"]);
}
@end
//
// VLC_for_iOSTestVideoCodecs.m
// VLC for iOSUITests
//
// Created by Carola Nitz on 9/25/17.
// Copyright © 2017 VideoLAN. All rights reserved.
//
#import <XCTest/XCTest.h>
@interface XCUIElement(Test)
- (void)clearAndEnterText:(NSString *)text;
@end
@implementation XCUIElement(Test)
- (void)clearAndEnterText:(NSString *)text {
if( ![[self value] isKindOfClass:[NSString class]]) {
XCTFail("Tried to clear and enter text into a non string value");
return;
}
[self tap];
NSString *deleteString = @"";
for (int i = 0; i < [(NSString *)[self value] length]; i++){
deleteString = [deleteString stringByAppendingString:XCUIKeyboardKeyDelete];
}
[self typeText:deleteString];
[self typeText:text];
}
@end
@interface VLC_for_iOSTestVideoCodecs : XCTestCase
@end
@implementation VLC_for_iOSTestVideoCodecs
- (void)setUp {
[super setUp];
self.continueAfterFailure = YES;
[[[XCUIApplication alloc] init] launch];
[[XCUIDevice sharedDevice] setOrientation:UIDeviceOrientationFaceUp];
}
- (void)tearDown {
// Put teardown code here. This method is called after the invocation of each test method in the class.
[super tearDown];
}
- (void)testMovCodec
{
[self playWithFilename:@"rtsp://184.72.239.149/vod/mp4:BigBuckBunny_175k.mov"];
}
- (void)testHEVCCodec10b
{
[self playWithFilename:@"http://jell.yfish.us/media/jellyfish-90-mbps-hd-hevc-10bit.mkv"];
}
- (void)testHEVCCodec
{
[self playWithFilename:@"http://jell.yfish.us/media/jellyfish-25-mbps-hd-hevc.mkv"];
}
- (void)testH264Codec
{
[self playWithFilename:@"http://jell.yfish.us/media/jellyfish-25-mbps-hd-h264.mkv"];
}
- (void)playWithFilename:(NSString *)filename
{
XCUIApplication *app = [[XCUIApplication alloc] init];
[app.navigationBars[@"All Files"].buttons[@"Open VLC sidebar menu"] tap];
[app.cells.staticTexts[@"Network Stream"] tap];
XCUIElement *httpMyserverComFileMkvTextField = app.textFields.firstMatch;
[httpMyserverComFileMkvTextField clearAndEnterText:filename];
[[[XCUIApplication alloc] init].buttons[@"Open Network Stream"] tap];
XCUIElement *displayTime = app.buttons[@"--:--"];
__block NSPredicate *predicate = [NSPredicate predicateWithFormat:@"exists == 0"];
[self expectationForPredicate:predicate evaluatedWithObject:displayTime handler:nil];
//we wait for the displaytime to change
[self waitForExpectationsWithTimeout:20.0 handler:^(NSError * _Nullable error) {
//once it changes we tap the videoplayer to bring up the playelements
[app.otherElements[@"Video Player"] doubleTap];
XCUIElement *playpause = app.buttons[@"Play or Pause current playback"];
predicate = [NSPredicate predicateWithFormat:@"exists == 1"];
[self expectationForPredicate:predicate evaluatedWithObject:playpause handler:nil];
[self waitForExpectationsWithTimeout:20.0 handler:nil];
}];
}
@end
......@@ -36,6 +36,7 @@
417E68BA1F321EFF00DB9BB2 /* VLCActivityViewControllerVendor.m in Sources */ = {isa = PBXBuildFile; fileRef = 417E68B81F321EFF00DB9BB2 /* VLCActivityViewControllerVendor.m */; };
417E68BB1F321EFF00DB9BB2 /* VLCActivityViewControllerVendor.m in Sources */ = {isa = PBXBuildFile; fileRef = 417E68B81F321EFF00DB9BB2 /* VLCActivityViewControllerVendor.m */; };
4184AA151A5492070063DF5A /* VLCCloudStorageController.m in Sources */ = {isa = PBXBuildFile; fileRef = 4184AA141A5492070063DF5A /* VLCCloudStorageController.m */; };
4187112B1F78F87200317B1A /* VLC_for_iOSTestVideoCodecs.m in Sources */ = {isa = PBXBuildFile; fileRef = 4187112A1F78F87200317B1A /* VLC_for_iOSTestVideoCodecs.m */; };
419A2C661F37A4B70069D224 /* VLCStringsForLocalization.m in Sources */ = {isa = PBXBuildFile; fileRef = 419A2C651F37A4B70069D224 /* VLCStringsForLocalization.m */; };
419A2C671F37A4B70069D224 /* VLCStringsForLocalization.m in Sources */ = {isa = PBXBuildFile; fileRef = 419A2C651F37A4B70069D224 /* VLCStringsForLocalization.m */; };
419A2C681F37A4B70069D224 /* VLCStringsForLocalization.m in Sources */ = {isa = PBXBuildFile; fileRef = 419A2C651F37A4B70069D224 /* VLCStringsForLocalization.m */; };
......@@ -45,6 +46,7 @@
419D7F051F54176900AF69A2 /* VLCTimeNavigationTitleView.xib in Resources */ = {isa = PBXBuildFile; fileRef = 419D7F041F54176900AF69A2 /* VLCTimeNavigationTitleView.xib */; };
419D7F071F54176900AF69A2 /* VLCTimeNavigationTitleView.xib in Resources */ = {isa = PBXBuildFile; fileRef = 419D7F041F54176900AF69A2 /* VLCTimeNavigationTitleView.xib */; };
419D7F081F54176900AF69A2 /* VLCTimeNavigationTitleView.xib in Resources */ = {isa = PBXBuildFile; fileRef = 419D7F041F54176900AF69A2 /* VLCTimeNavigationTitleView.xib */; };
41B0BC931F73EF1B0063BA26 /* VLC_for_IOSTestMenu.m in Sources */ = {isa = PBXBuildFile; fileRef = 41B0BC911F73EF1B0063BA26 /* VLC_for_IOSTestMenu.m */; };
41B93C011A53833B00102E8B /* VLCProgressView.m in Sources */ = {isa = PBXBuildFile; fileRef = 41B93C001A53833B00102E8B /* VLCProgressView.m */; };
41B93C051A53835300102E8B /* VLCCloudServiceCell.m in Sources */ = {isa = PBXBuildFile; fileRef = 41B93C031A53835300102E8B /* VLCCloudServiceCell.m */; };
41B93C081A53853B00102E8B /* VLCCloudServiceCell.xib in Resources */ = {isa = PBXBuildFile; fileRef = 41B93C071A53853B00102E8B /* VLCCloudServiceCell.xib */; };
......@@ -927,6 +929,13 @@
/* End PBXBuildFile section */
/* Begin PBXContainerItemProxy section */
41B0BC8B1F73ED7D0063BA26 /* PBXContainerItemProxy */ = {
isa = PBXContainerItemProxy;
containerPortal = 7D94FCD316DE7D1000F2623B /* Project object */;
proxyType = 1;
remoteGlobalIDString = 7D94FCDA16DE7D1000F2623B;
remoteInfo = "VLC-iOS";
};
7D14C3531BF4E498003DDC41 /* PBXContainerItemProxy */ = {
isa = PBXContainerItemProxy;
containerPortal = 7D94FCD316DE7D1000F2623B /* Project object */;
......@@ -1157,8 +1166,12 @@
417E68B81F321EFF00DB9BB2 /* VLCActivityViewControllerVendor.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = VLCActivityViewControllerVendor.m; sourceTree = "<group>"; };
4184AA131A5492070063DF5A /* VLCCloudStorageController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = VLCCloudStorageController.h; path = Sources/VLCCloudStorageController.h; sourceTree = SOURCE_ROOT; };
4184AA141A5492070063DF5A /* VLCCloudStorageController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = VLCCloudStorageController.m; path = Sources/VLCCloudStorageController.m; sourceTree = SOURCE_ROOT; };
4187112A1F78F87200317B1A /* VLC_for_iOSTestVideoCodecs.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = VLC_for_iOSTestVideoCodecs.m; sourceTree = "<group>"; };
419A2C651F37A4B70069D224 /* VLCStringsForLocalization.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = VLCStringsForLocalization.m; sourceTree = "<group>"; };
419D7F041F54176900AF69A2 /* VLCTimeNavigationTitleView.xib */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = VLCTimeNavigationTitleView.xib; path = Resources/VLCTimeNavigationTitleView.xib; sourceTree = SOURCE_ROOT; };
41B0BC861F73ED7D0063BA26 /* VLC for iOSUITests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = "VLC for iOSUITests.xctest"; sourceTree = BUILT_PRODUCTS_DIR; };
41B0BC8A1F73ED7D0063BA26 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
41B0BC911F73EF1B0063BA26 /* VLC_for_IOSTestMenu.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = VLC_for_IOSTestMenu.m; sourceTree = "<group>"; };
41B93BFF1A53833B00102E8B /* VLCProgressView.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = VLCProgressView.h; path = Sources/VLCProgressView.h; sourceTree = SOURCE_ROOT; };
41B93C001A53833B00102E8B /* VLCProgressView.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = VLCProgressView.m; path = Sources/VLCProgressView.m; sourceTree = SOURCE_ROOT; };
41B93C021A53835300102E8B /* VLCCloudServiceCell.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = VLCCloudServiceCell.h; path = Sources/VLCCloudServiceCell.h; sourceTree = SOURCE_ROOT; };
......@@ -1804,6 +1817,13 @@
/* End PBXFileReference section */
/* Begin PBXFrameworksBuildPhase section */
41B0BC831F73ED7D0063BA26 /* Frameworks */ = {
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
);
runOnlyForDeploymentPostprocessing = 0;
};
7D13293A1BA1F10100BE647E /* Frameworks */ = {
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
......@@ -1997,6 +2017,16 @@
name = "Recovered References";
sourceTree = "<group>";
};
41B0BC871F73ED7D0063BA26 /* VLC for iOSUITests */ = {
isa = PBXGroup;
children = (
4187112A1F78F87200317B1A /* VLC_for_iOSTestVideoCodecs.m */,
41B0BC911F73EF1B0063BA26 /* VLC_for_IOSTestMenu.m */,
41B0BC8A1F73ED7D0063BA26 /* Info.plist */,
);
path = "VLC for iOSUITests";
sourceTree = "<group>";
};
41CD69561A29D71B00E60BCE /* Box */ = {
isa = PBXGroup;
children = (
......@@ -2376,6 +2406,7 @@
DD3567651B6760BF00338947 /* VLC WatchKit Native */,
DD3567741B6760BF00338947 /* VLC WatchKit Native Extension */,
7D13293E1BA1F10100BE647E /* VLC-TV */,
41B0BC871F73ED7D0063BA26 /* VLC for iOSUITests */,
7D94FCDD16DE7D1000F2623B /* Frameworks */,
7D94FCDC16DE7D1000F2623B /* Products */,
A77803FFDA800BD6A3DAED0C /* Pods */,
......@@ -2397,6 +2428,7 @@
7DC550861C046615007B4E42 /* VLC-iOS-no-watch.app */,
7D787FEE1D40FDE70003CFA1 /* VLC-iOS-no-watch-Debug.app */,
7D63BC1A1D414212003C60D3 /* VLC-tvOS-Debug.app */,
41B0BC861F73ED7D0063BA26 /* VLC for iOSUITests.xctest */,
);
name = Products;
sourceTree = "<group>";
......@@ -3217,6 +3249,24 @@
/* End PBXGroup section */
/* Begin PBXNativeTarget section */
41B0BC851F73ED7D0063BA26 /* VLC for iOSUITests */ = {
isa = PBXNativeTarget;
buildConfigurationList = 41B0BC901F73ED7D0063BA26 /* Build configuration list for PBXNativeTarget "VLC for iOSUITests" */;
buildPhases = (
41B0BC821F73ED7D0063BA26 /* Sources */,
41B0BC831F73ED7D0063BA26 /* Frameworks */,
41B0BC841F73ED7D0063BA26 /* Resources */,
);
buildRules = (
);
dependencies = (
41B0BC8C1F73ED7D0063BA26 /* PBXTargetDependency */,
);
name = "VLC for iOSUITests";
productName = "VLC for iOSUITests";
productReference = 41B0BC861F73ED7D0063BA26 /* VLC for iOSUITests.xctest */;
productType = "com.apple.product-type.bundle.ui-testing";
};
7D13293C1BA1F10100BE647E /* VLC-tvOS */ = {
isa = PBXNativeTarget;
buildConfigurationList = 7D1329541BA1F10100BE647E /* Build configuration list for PBXNativeTarget "VLC-tvOS" */;
......@@ -3378,6 +3428,12 @@
LastUpgradeCheck = 0710;
ORGANIZATIONNAME = VideoLAN;
TargetAttributes = {
41B0BC851F73ED7D0063BA26 = {
CreatedOnToolsVersion = 9.0;
DevelopmentTeam = 75GAHG3SZQ;
ProvisioningStyle = Automatic;
TestTargetID = 7D94FCDA16DE7D1000F2623B;
};
7D13293C1BA1F10100BE647E = {
CreatedOnToolsVersion = 7.1;
DevelopmentTeam = 75GAHG3SZQ;
......@@ -3504,6 +3560,7 @@
7DC54FA51C046615007B4E42 /* VLC-iOS-no-watch */,
7D787F1B1D40FDE70003CFA1 /* VLC-iOS-no-watch-Debug */,
7D63BB811D414212003C60D3 /* VLC-tvOS-Debug */,
41B0BC851F73ED7D0063BA26 /* VLC for iOSUITests */,
);
};
/* End PBXProject section */
......@@ -3575,6 +3632,13 @@
/* End PBXReferenceProxy section */
/* Begin PBXResourcesBuildPhase section */
41B0BC841F73ED7D0063BA26 /* Resources */ = {
isa = PBXResourcesBuildPhase;
buildActionMask = 2147483647;
files = (
);
runOnlyForDeploymentPostprocessing = 0;
};
7D13293B1BA1F10100BE647E /* Resources */ = {
isa = PBXResourcesBuildPhase;
buildActionMask = 2147483647;
......@@ -3912,7 +3976,7 @@
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n";
shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n";
showEnvVarsInLog = 0;
};
41F7087C1F37900A00953630 /* ShellScript */ = {
......@@ -3984,7 +4048,7 @@
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n";
shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n";
showEnvVarsInLog = 0;
};
70B91CB914052D9EA124AEC3 /* [CP] Embed Pods Frameworks */ = {
......@@ -4054,7 +4118,7 @@
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n";
shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n";
showEnvVarsInLog = 0;
};
7D63BC141D414212003C60D3 /* [CP] Embed Pods Frameworks */ = {
......@@ -4146,7 +4210,7 @@
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n";
shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n";
showEnvVarsInLog = 0;
};
A2A77B2E8117AEB87124DCCA /* [CP] Embed Pods Frameworks */ = {
......@@ -4194,7 +4258,7 @@
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n";
shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n";
showEnvVarsInLog = 0;
};
D5E71C917AC0F153A13E1C49 /* [CP] Copy Pods Resources */ = {
......@@ -4270,12 +4334,21 @@
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n";
shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n";
showEnvVarsInLog = 0;
};
/* End PBXShellScriptBuildPhase section */
/* Begin PBXSourcesBuildPhase section */
41B0BC821F73ED7D0063BA26 /* Sources */ = {
isa = PBXSourcesBuildPhase;
buildActionMask = 2147483647;
files = (
4187112B1F78F87200317B1A /* VLC_for_iOSTestVideoCodecs.m in Sources */,
41B0BC931F73EF1B0063BA26 /* VLC_for_IOSTestMenu.m in Sources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
7D1329391BA1F10100BE647E /* Sources */ = {
isa = PBXSourcesBuildPhase;
buildActionMask = 2147483647;
......@@ -4892,6 +4965,11 @@
/* End PBXSourcesBuildPhase section */
/* Begin PBXTargetDependency section */
41B0BC8C1F73ED7D0063BA26 /* PBXTargetDependency */ = {
isa = PBXTargetDependency;
target = 7D94FCDA16DE7D1000F2623B /* VLC-iOS */;
targetProxy = 41B0BC8B1F73ED7D0063BA26 /* PBXContainerItemProxy */;
};
7D14C3541BF4E498003DDC41 /* PBXTargetDependency */ = {
isa = PBXTargetDependency;
target = DD35676F1B6760BF00338947 /* VLC-watchOS-Extension */;
......@@ -5075,6 +5153,146 @@
/* End PBXVariantGroup section */
/* Begin XCBuildConfiguration section */
41B0BC8D1F73ED7D0063BA26 /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
CLANG_ANALYZER_NONNULL = YES;
CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
CLANG_CXX_LANGUAGE_STANDARD = "gnu++14";
CLANG_ENABLE_MODULES = YES;
CLANG_ENABLE_OBJC_ARC = YES;
CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
CLANG_WARN_BOOL_CONVERSION = YES;
CLANG_WARN_COMMA = YES;
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
CLANG_WARN_INFINITE_RECURSION = YES;
CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
CLANG_WARN_STRICT_PROTOTYPES = YES;
CLANG_WARN_SUSPICIOUS_MOVE = YES;
CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE;
CLANG_WARN_UNREACHABLE_CODE = YES;
CODE_SIGN_IDENTITY = "iPhone Developer";
CODE_SIGN_STYLE = Automatic;
DEBUG_INFORMATION_FORMAT = dwarf;
DEVELOPMENT_TEAM = 75GAHG3SZQ;
ENABLE_STRICT_OBJC_MSGSEND = YES;
GCC_C_LANGUAGE_STANDARD = gnu11;
GCC_NO_COMMON_BLOCKS = YES;
GCC_OPTIMIZATION_LEVEL = 0;
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
GCC_WARN_UNDECLARED_SELECTOR = YES;
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES;
INFOPLIST_FILE = "VLC for iOSUITests/Info.plist";
IPHONEOS_DEPLOYMENT_TARGET = 11.0;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
MTL_ENABLE_DEBUG_INFO = YES;
PRODUCT_BUNDLE_IDENTIFIER = "org.example.com.VLC-for-iOSUITests";
PRODUCT_NAME = "$(TARGET_NAME)";
TARGETED_DEVICE_FAMILY = "1,2";
TEST_TARGET_NAME = "VLC-iOS";
};
name = Debug;
};
41B0BC8E1F73ED7D0063BA26 /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
CLANG_ANALYZER_NONNULL = YES;
CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
CLANG_CXX_LANGUAGE_STANDARD = "gnu++14";
CLANG_ENABLE_MODULES = YES;
CLANG_ENABLE_OBJC_ARC = YES;
CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
CLANG_WARN_BOOL_CONVERSION = YES;
CLANG_WARN_COMMA = YES;
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
CLANG_WARN_INFINITE_RECURSION = YES;
CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
CLANG_WARN_STRICT_PROTOTYPES = YES;
CLANG_WARN_SUSPICIOUS_MOVE = YES;
CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE;
CLANG_WARN_UNREACHABLE_CODE = YES;
CODE_SIGN_IDENTITY = "iPhone Developer";
CODE_SIGN_STYLE = Automatic;
COPY_PHASE_STRIP = NO;
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
DEVELOPMENT_TEAM = 75GAHG3SZQ;
ENABLE_NS_ASSERTIONS = NO;
ENABLE_STRICT_OBJC_MSGSEND = YES;
GCC_C_LANGUAGE_STANDARD = gnu11;
GCC_NO_COMMON_BLOCKS = YES;
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
GCC_WARN_UNDECLARED_SELECTOR = YES;
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES;
INFOPLIST_FILE = "VLC for iOSUITests/Info.plist";
IPHONEOS_DEPLOYMENT_TARGET = 11.0;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
MTL_ENABLE_DEBUG_INFO = NO;
PRODUCT_BUNDLE_IDENTIFIER = "org.example.com.VLC-for-iOSUITests";
PRODUCT_NAME = "$(TARGET_NAME)";
TARGETED_DEVICE_FAMILY = "1,2";
TEST_TARGET_NAME = "VLC-iOS";
};
name = Release;
};
41B0BC8F1F73ED7D0063BA26 /* Distribution */ = {
isa = XCBuildConfiguration;
buildSettings = {
CLANG_ANALYZER_NONNULL = YES;
CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
CLANG_CXX_LANGUAGE_STANDARD = "gnu++14";
CLANG_ENABLE_MODULES = YES;
CLANG_ENABLE_OBJC_ARC = YES;
CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
CLANG_WARN_BOOL_CONVERSION = YES;
CLANG_WARN_COMMA = YES;
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
CLANG_WARN_INFINITE_RECURSION = YES;
CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
CLANG_WARN_STRICT_PROTOTYPES = YES;
CLANG_WARN_SUSPICIOUS_MOVE = YES;
CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE;
CLANG_WARN_UNREACHABLE_CODE = YES;
CODE_SIGN_IDENTITY = "iPhone Developer";
CODE_SIGN_STYLE = Automatic;
COPY_PHASE_STRIP = NO;
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
DEVELOPMENT_TEAM = 75GAHG3SZQ;
ENABLE_NS_ASSERTIONS = NO;
ENABLE_STRICT_OBJC_MSGSEND = YES;
GCC_C_LANGUAGE_STANDARD = gnu11;
GCC_NO_COMMON_BLOCKS = YES;
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
GCC_WARN_UNDECLARED_SELECTOR = YES;
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES;
INFOPLIST_FILE = "VLC for iOSUITests/Info.plist";
IPHONEOS_DEPLOYMENT_TARGET = 11.0;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
MTL_ENABLE_DEBUG_INFO = NO;
PRODUCT_BUNDLE_IDENTIFIER = "org.example.com.VLC-for-iOSUITests";
PRODUCT_NAME = "$(TARGET_NAME)";
TARGETED_DEVICE_FAMILY = "1,2";
TEST_TARGET_NAME = "VLC-iOS";
};
name = Distribution;
};
7D1329511BA1F10100BE647E /* Debug */ = {
isa = XCBuildConfiguration;
baseConfigurationReference = F25DF68DCD1A8FA89D1933B3 /* Pods-VLC-tvOS.debug.xcconfig */;
......@@ -6128,6 +6346,16 @@
/* End XCBuildConfiguration section */
/* Begin XCConfigurationList section */
41B0BC901F73ED7D0063BA26 /* Build configuration list for PBXNativeTarget "VLC for iOSUITests" */ = {
isa = XCConfigurationList;
buildConfigurations = (