Skip to content
This repository was archived by the owner on Jul 1, 2022. It is now read-only.

Commit

Permalink
Use SPM instead of CocoaPods
Browse files Browse the repository at this point in the history
  • Loading branch information
schiewe committed Jul 1, 2021
1 parent 9470cd4 commit 0b3c122
Show file tree
Hide file tree
Showing 18 changed files with 148 additions and 228 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -91,3 +91,4 @@ fastlane/screenshots
fastlane/test_output
*Example.xcworkspace
Podfile.lock
*swiftpm
9 changes: 0 additions & 9 deletions Configuration/SampleCode.xcconfig
Original file line number Diff line number Diff line change
@@ -1,12 +1,3 @@
// This file is part of an img.ly Software Development Kit.
// Copyright (C) 2016-2020 img.ly GmbH <contact@img.ly>
// All rights reserved.
// Redistribution and use in source and binary forms, without
// modification, are permitted provided that the following license agreement
// is approved and a legal/financial contract was signed by the user.
// The license agreement can be found under the following link:
// https://www.photoeditorsdk.com/LICENSE.txt

// The `SAMPLE_CODE_DISAMBIGUATOR` configuration is to make it easier to build
// and run a sample code project. Once you set your project's development team,
// you'll have a unique bundle identifier. This is because the bundle identifier
Expand Down
11 changes: 0 additions & 11 deletions Examples/ObjcExample/Configuration/ObjcExample-Debug.xcconfig

This file was deleted.

11 changes: 0 additions & 11 deletions Examples/ObjcExample/Configuration/ObjcExample-Release.xcconfig

This file was deleted.

63 changes: 43 additions & 20 deletions Examples/ObjcExample/ObjcExample.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
archiveVersion = 1;
classes = {
};
objectVersion = 46;
objectVersion = 52;
objects = {

/* Begin PBXBuildFile section */
Expand All @@ -15,6 +15,7 @@
2B4792B91E02E67F00BBB8D9 /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 2B4792B71E02E67F00BBB8D9 /* LaunchScreen.storyboard */; };
2BB142A41FE9640A000EC46D /* ios_license.dms in Resources */ = {isa = PBXBuildFile; fileRef = 2BB142A31FE9640A000EC46D /* ios_license.dms */; };
3D3099522314118300CFC46F /* Skater.mp4 in Resources */ = {isa = PBXBuildFile; fileRef = 3D3099512314118300CFC46F /* Skater.mp4 */; };
4A80F761268DBAEF00ECBD34 /* VideoEditorSDK in Frameworks */ = {isa = PBXBuildFile; productRef = 4A80F760268DBAEF00ECBD34 /* VideoEditorSDK */; };
/* End PBXBuildFile section */

/* Begin PBXFileReference section */
Expand All @@ -29,8 +30,6 @@
2B4792B81E02E67F00BBB8D9 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = "<group>"; };
2B4792BA1E02E67F00BBB8D9 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
2BB142A31FE9640A000EC46D /* ios_license.dms */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = ios_license.dms; sourceTree = "<group>"; };
3D03399D224BAB0200F52FD8 /* ObjcExample-Debug.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; name = "ObjcExample-Debug.xcconfig"; path = "Configuration/ObjcExample-Debug.xcconfig"; sourceTree = SOURCE_ROOT; };
3D03399E224BAB0200F52FD8 /* ObjcExample-Release.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; name = "ObjcExample-Release.xcconfig"; path = "Configuration/ObjcExample-Release.xcconfig"; sourceTree = SOURCE_ROOT; };
3D3099512314118300CFC46F /* Skater.mp4 */ = {isa = PBXFileReference; lastKnownFileType = file; name = Skater.mp4; path = ../../../Assets/Skater.mp4; sourceTree = "<group>"; };
3DDFA79F224A21F600330C82 /* SampleCode.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; name = SampleCode.xcconfig; path = ../../../Configuration/SampleCode.xcconfig; sourceTree = "<group>"; };
/* End PBXFileReference section */
Expand All @@ -40,6 +39,7 @@
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
4A80F761268DBAEF00ECBD34 /* VideoEditorSDK in Frameworks */,
);
runOnlyForDeploymentPostprocessing = 0;
};
Expand Down Expand Up @@ -68,7 +68,6 @@
isa = PBXGroup;
children = (
3DDFA79F224A21F600330C82 /* SampleCode.xcconfig */,
3D03399C224BAADE00F52FD8 /* Configuration */,
2B4792AC1E02E67F00BBB8D9 /* AppDelegate.h */,
2B4792AD1E02E67F00BBB8D9 /* AppDelegate.m */,
2B4792B51E02E67F00BBB8D9 /* Assets.xcassets */,
Expand All @@ -92,15 +91,6 @@
name = "Supporting Files";
sourceTree = "<group>";
};
3D03399C224BAADE00F52FD8 /* Configuration */ = {
isa = PBXGroup;
children = (
3D03399D224BAB0200F52FD8 /* ObjcExample-Debug.xcconfig */,
3D03399E224BAB0200F52FD8 /* ObjcExample-Release.xcconfig */,
);
name = Configuration;
sourceTree = "<group>";
};
/* End PBXGroup section */

/* Begin PBXNativeTarget section */
Expand All @@ -117,6 +107,9 @@
dependencies = (
);
name = ObjcExample;
packageProductDependencies = (
4A80F760268DBAEF00ECBD34 /* VideoEditorSDK */,
);
productName = ObjcExample;
productReference = 2B4792A61E02E67F00BBB8D9 /* ObjcExample.app */;
productType = "com.apple.product-type.application";
Expand All @@ -127,7 +120,7 @@
2B47929E1E02E67E00BBB8D9 /* Project object */ = {
isa = PBXProject;
attributes = {
LastUpgradeCheck = 1020;
LastUpgradeCheck = 1240;
ORGANIZATIONNAME = "9elements GmbH";
TargetAttributes = {
2B4792A51E02E67F00BBB8D9 = {
Expand All @@ -145,6 +138,9 @@
Base,
);
mainGroup = 2B47929D1E02E67E00BBB8D9;
packageReferences = (
4A80F75F268DBAEF00ECBD34 /* XCRemoteSwiftPackageReference "vesdk-ios-build" */,
);
productRefGroup = 2B4792A71E02E67F00BBB8D9 /* Products */;
projectDirPath = "";
projectRoot = "";
Expand Down Expand Up @@ -204,7 +200,7 @@
/* Begin XCBuildConfiguration section */
2B4792BB1E02E67F00BBB8D9 /* Debug */ = {
isa = XCBuildConfiguration;
baseConfigurationReference = 3D03399D224BAB0200F52FD8 /* ObjcExample-Debug.xcconfig */;
baseConfigurationReference = 3DDFA79F224A21F600330C82 /* SampleCode.xcconfig */;
buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO;
CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES;
Expand All @@ -228,6 +224,7 @@
CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES;
CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
CLANG_WARN_STRICT_PROTOTYPES = YES;
CLANG_WARN_SUSPICIOUS_MOVE = YES;
Expand Down Expand Up @@ -262,7 +259,7 @@
};
2B4792BC1E02E67F00BBB8D9 /* Release */ = {
isa = XCBuildConfiguration;
baseConfigurationReference = 3D03399E224BAB0200F52FD8 /* ObjcExample-Release.xcconfig */;
baseConfigurationReference = 3DDFA79F224A21F600330C82 /* SampleCode.xcconfig */;
buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO;
CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES;
Expand All @@ -286,6 +283,7 @@
CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES;
CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
CLANG_WARN_STRICT_PROTOTYPES = YES;
CLANG_WARN_SUSPICIOUS_MOVE = YES;
Expand Down Expand Up @@ -314,25 +312,31 @@
};
2B4792BE1E02E67F00BBB8D9 /* Debug */ = {
isa = XCBuildConfiguration;
baseConfigurationReference = 3D03399D224BAB0200F52FD8 /* ObjcExample-Debug.xcconfig */;
baseConfigurationReference = 3DDFA79F224A21F600330C82 /* SampleCode.xcconfig */;
buildSettings = {
ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES;
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
INFOPLIST_FILE = ObjcExample/Info.plist;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/Frameworks",
);
PRODUCT_BUNDLE_IDENTIFIER = "ly.img.VideoEditorSDK.ObjC.${PRODUCT_NAME}${SAMPLE_CODE_DISAMBIGUATOR}";
PRODUCT_NAME = "$(TARGET_NAME)";
};
name = Debug;
};
2B4792BF1E02E67F00BBB8D9 /* Release */ = {
isa = XCBuildConfiguration;
baseConfigurationReference = 3D03399E224BAB0200F52FD8 /* ObjcExample-Release.xcconfig */;
baseConfigurationReference = 3DDFA79F224A21F600330C82 /* SampleCode.xcconfig */;
buildSettings = {
ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES;
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
INFOPLIST_FILE = ObjcExample/Info.plist;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/Frameworks",
);
PRODUCT_BUNDLE_IDENTIFIER = "ly.img.VideoEditorSDK.ObjC.${PRODUCT_NAME}${SAMPLE_CODE_DISAMBIGUATOR}";
PRODUCT_NAME = "$(TARGET_NAME)";
};
Expand Down Expand Up @@ -360,6 +364,25 @@
defaultConfigurationName = Release;
};
/* End XCConfigurationList section */

/* Begin XCRemoteSwiftPackageReference section */
4A80F75F268DBAEF00ECBD34 /* XCRemoteSwiftPackageReference "vesdk-ios-build" */ = {
isa = XCRemoteSwiftPackageReference;
repositoryURL = "https://github.com/imgly/vesdk-ios-build";
requirement = {
kind = upToNextMajorVersion;
minimumVersion = 10.21.5;
};
};
/* End XCRemoteSwiftPackageReference section */

/* Begin XCSwiftPackageProductDependency section */
4A80F760268DBAEF00ECBD34 /* VideoEditorSDK */ = {
isa = XCSwiftPackageProductDependency;
package = 4A80F75F268DBAEF00ECBD34 /* XCRemoteSwiftPackageReference "vesdk-ios-build" */;
productName = VideoEditorSDK;
};
/* End XCSwiftPackageProductDependency section */
};
rootObject = 2B47929E1E02E67E00BBB8D9 /* Project object */;
}
9 changes: 0 additions & 9 deletions Examples/ObjcExample/ObjcExample/AppDelegate.h
Original file line number Diff line number Diff line change
@@ -1,12 +1,3 @@
// This file is part of an img.ly Software Development Kit.
// Copyright (C) 2016-2020 img.ly GmbH <contact@img.ly>
// All rights reserved.
// Redistribution and use in source and binary forms, without
// modification, are permitted provided that the following license agreement
// is approved and a legal/financial contract was signed by the user.
// The license agreement can be found under the following link:
// https://www.photoeditorsdk.com/LICENSE.txt

#import <UIKit/UIKit.h>

@interface AppDelegate : UIResponder <UIApplicationDelegate>
Expand Down
9 changes: 0 additions & 9 deletions Examples/ObjcExample/ObjcExample/AppDelegate.m
Original file line number Diff line number Diff line change
@@ -1,12 +1,3 @@
// This file is part of an img.ly Software Development Kit.
// Copyright (C) 2016-2020 img.ly GmbH <contact@img.ly>
// All rights reserved.
// Redistribution and use in source and binary forms, without
// modification, are permitted provided that the following license agreement
// is approved and a legal/financial contract was signed by the user.
// The license agreement can be found under the following link:
// https://www.photoeditorsdk.com/LICENSE.txt

#import "AppDelegate.h"
@import VideoEditorSDK;

Expand Down
9 changes: 0 additions & 9 deletions Examples/ObjcExample/ObjcExample/ViewController.h
Original file line number Diff line number Diff line change
@@ -1,12 +1,3 @@
// This file is part of an img.ly Software Development Kit.
// Copyright (C) 2016-2020 img.ly GmbH <contact@img.ly>
// All rights reserved.
// Redistribution and use in source and binary forms, without
// modification, are permitted provided that the following license agreement
// is approved and a legal/financial contract was signed by the user.
// The license agreement can be found under the following link:
// https://www.photoeditorsdk.com/LICENSE.txt

#import <UIKit/UIKit.h>

@interface ViewController : UITableViewController
Expand Down
9 changes: 0 additions & 9 deletions Examples/ObjcExample/ObjcExample/ViewController.m
Original file line number Diff line number Diff line change
@@ -1,12 +1,3 @@
// This file is part of an img.ly Software Development Kit.
// Copyright (C) 2016-2020 img.ly GmbH <contact@img.ly>
// All rights reserved.
// Redistribution and use in source and binary forms, without
// modification, are permitted provided that the following license agreement
// is approved and a legal/financial contract was signed by the user.
// The license agreement can be found under the following link:
// https://www.photoeditorsdk.com/LICENSE.txt

#import "ViewController.h"
@import CoreLocation;
@import VideoEditorSDK;
Expand Down
9 changes: 0 additions & 9 deletions Examples/ObjcExample/ObjcExample/main.m
Original file line number Diff line number Diff line change
@@ -1,12 +1,3 @@
// This file is part of an img.ly Software Development Kit.
// Copyright (C) 2016-2020 img.ly GmbH <contact@img.ly>
// All rights reserved.
// Redistribution and use in source and binary forms, without
// modification, are permitted provided that the following license agreement
// is approved and a legal/financial contract was signed by the user.
// The license agreement can be found under the following link:
// https://www.photoeditorsdk.com/LICENSE.txt

#import <UIKit/UIKit.h>
#import "AppDelegate.h"

Expand Down
11 changes: 0 additions & 11 deletions Examples/SwiftExample/Configuration/SwiftExample-Debug.xcconfig

This file was deleted.

11 changes: 0 additions & 11 deletions Examples/SwiftExample/Configuration/SwiftExample-Release.xcconfig

This file was deleted.

Loading

0 comments on commit 0b3c122

Please sign in to comment.