diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..2eea4f4 --- /dev/null +++ b/.gitignore @@ -0,0 +1,3 @@ +.DS_Store +Reaper.xcframework.zip + diff --git a/Package.swift b/Package.swift new file mode 100644 index 0000000..3916f9a --- /dev/null +++ b/Package.swift @@ -0,0 +1,20 @@ +// swift-tools-version:5.7.1 +import PackageDescription + +let package = Package( + name: "Reaper", + platforms: [ + .iOS(.v13), + ], + products: [ + .library( + name: "Reaper", + targets: ["Reaper"]), + ], + targets: [ + .binaryTarget( + name: "Reaper", + url: "https://github.com/EmergeTools/Reaper/releases/download/1.1.0/Reaper.xcframework.zip", + checksum: "f0fc4ccd13e7fe755a937f203e5f4bf6144439fced650b7d693041b72759c873"), + ] +) diff --git a/Reaper.podspec b/Reaper.podspec deleted file mode 100644 index 4d53d66..0000000 --- a/Reaper.podspec +++ /dev/null @@ -1,14 +0,0 @@ -Pod::Spec.new do |s| - s.name = "Reaper" - s.version = "1.0.1" - s.summary = "A tool for detecting unused code" - s.description = "For more info, see https://docs.emergetools.com/docs/overview-4" - s.homepage = "https://emergetools.com" - s.license = { :type => 'MIT', :file => 'LICENSE' } - s.source = { :git => "https://github.com/EmergeTools/Reaper.git", :tag => s.version.to_s } - s.vendored_frameworks = "Reaper.xcframework" - s.authors = "Emerge Tools" - s.platform = :ios - s.ios.deployment_target = '13.0' - s.frameworks = 'UIKit' -end diff --git a/Reaper.xcframework/Info.plist b/Reaper.xcframework/Info.plist deleted file mode 100644 index 4d66f00..0000000 --- a/Reaper.xcframework/Info.plist +++ /dev/null @@ -1,40 +0,0 @@ - - - - - AvailableLibraries - - - LibraryIdentifier - ios-arm64 - LibraryPath - Reaper.framework - SupportedArchitectures - - arm64 - - SupportedPlatform - ios - - - LibraryIdentifier - ios-arm64_x86_64-simulator - LibraryPath - Reaper.framework - SupportedArchitectures - - arm64 - x86_64 - - SupportedPlatform - ios - SupportedPlatformVariant - simulator - - - CFBundlePackageType - XFWK - XCFrameworkFormatVersion - 1.0 - - diff --git a/Reaper.xcframework/ios-arm64/Reaper.framework/Headers/Reaper.h b/Reaper.xcframework/ios-arm64/Reaper.framework/Headers/Reaper.h deleted file mode 100644 index e88fdb1..0000000 --- a/Reaper.xcframework/ios-arm64/Reaper.framework/Headers/Reaper.h +++ /dev/null @@ -1,15 +0,0 @@ -#import - -NS_ASSUME_NONNULL_BEGIN - -@interface EMGReaper : NSObject - -+ (instancetype)sharedInstance; -- (void)startWithAPIKey:(NSString *)APIKey; - -- (instancetype)init NS_UNAVAILABLE; -+ (instancetype)new NS_UNAVAILABLE; - -@end - -NS_ASSUME_NONNULL_END diff --git a/Reaper.xcframework/ios-arm64/Reaper.framework/Info.plist b/Reaper.xcframework/ios-arm64/Reaper.framework/Info.plist deleted file mode 100644 index dd25bd0..0000000 Binary files a/Reaper.xcframework/ios-arm64/Reaper.framework/Info.plist and /dev/null differ diff --git a/Reaper.xcframework/ios-arm64/Reaper.framework/Modules/module.modulemap b/Reaper.xcframework/ios-arm64/Reaper.framework/Modules/module.modulemap deleted file mode 100644 index a7ee24c..0000000 --- a/Reaper.xcframework/ios-arm64/Reaper.framework/Modules/module.modulemap +++ /dev/null @@ -1,6 +0,0 @@ -framework module Reaper { - umbrella header "Reaper.h" - - export * - module * { export * } -} diff --git a/Reaper.xcframework/ios-arm64/Reaper.framework/Reaper b/Reaper.xcframework/ios-arm64/Reaper.framework/Reaper deleted file mode 100644 index 3d97da8..0000000 Binary files a/Reaper.xcframework/ios-arm64/Reaper.framework/Reaper and /dev/null differ diff --git a/Reaper.xcframework/ios-arm64/Reaper.framework/_CodeSignature/CodeDirectory b/Reaper.xcframework/ios-arm64/Reaper.framework/_CodeSignature/CodeDirectory deleted file mode 100644 index 03bdbde..0000000 Binary files a/Reaper.xcframework/ios-arm64/Reaper.framework/_CodeSignature/CodeDirectory and /dev/null differ diff --git a/Reaper.xcframework/ios-arm64/Reaper.framework/_CodeSignature/CodeRequirements b/Reaper.xcframework/ios-arm64/Reaper.framework/_CodeSignature/CodeRequirements deleted file mode 100644 index b3a65ba..0000000 Binary files a/Reaper.xcframework/ios-arm64/Reaper.framework/_CodeSignature/CodeRequirements and /dev/null differ diff --git a/Reaper.xcframework/ios-arm64/Reaper.framework/_CodeSignature/CodeRequirements-1 b/Reaper.xcframework/ios-arm64/Reaper.framework/_CodeSignature/CodeRequirements-1 deleted file mode 100644 index b6645b1..0000000 Binary files a/Reaper.xcframework/ios-arm64/Reaper.framework/_CodeSignature/CodeRequirements-1 and /dev/null differ diff --git a/Reaper.xcframework/ios-arm64/Reaper.framework/_CodeSignature/CodeResources b/Reaper.xcframework/ios-arm64/Reaper.framework/_CodeSignature/CodeResources deleted file mode 100644 index b64544b..0000000 --- a/Reaper.xcframework/ios-arm64/Reaper.framework/_CodeSignature/CodeResources +++ /dev/null @@ -1,132 +0,0 @@ - - - - - files - - Headers/Reaper.h - - BX9WiiE8l3iPkj+Q5+QMZyEKRnk= - - Info.plist - - +xJKnEgorB7uG0WvzFft7rvCrNA= - - Modules/module.modulemap - - oDw+Ky3bfZaVgqCOB/m0jgYwzVw= - - - files2 - - Headers/Reaper.h - - hash - - BX9WiiE8l3iPkj+Q5+QMZyEKRnk= - - hash2 - - KTSpr4Pv94PnyPqXD0CyMoCl1xn79Wmh/1VbIdNPbxE= - - - Modules/module.modulemap - - hash - - oDw+Ky3bfZaVgqCOB/m0jgYwzVw= - - hash2 - - doDP5mizNCGUQvLT3v/++oMTegdmYkJ/pGwcNcz+5VI= - - - - rules - - ^.* - - ^.*\.lproj/ - - optional - - weight - 1000 - - ^.*\.lproj/locversion.plist$ - - omit - - weight - 1100 - - ^Base\.lproj/ - - weight - 1010 - - ^version.plist$ - - - rules2 - - .*\.dSYM($|/) - - weight - 11 - - ^(.*/)?\.DS_Store$ - - omit - - weight - 2000 - - ^.* - - ^.*\.lproj/ - - optional - - weight - 1000 - - ^.*\.lproj/locversion.plist$ - - omit - - weight - 1100 - - ^Base\.lproj/ - - weight - 1010 - - ^Info\.plist$ - - omit - - weight - 20 - - ^PkgInfo$ - - omit - - weight - 20 - - ^embedded\.provisionprofile$ - - weight - 20 - - ^version\.plist$ - - weight - 20 - - - - diff --git a/Reaper.xcframework/ios-arm64/Reaper.framework/_CodeSignature/CodeSignature b/Reaper.xcframework/ios-arm64/Reaper.framework/_CodeSignature/CodeSignature deleted file mode 100644 index 3b827fc..0000000 Binary files a/Reaper.xcframework/ios-arm64/Reaper.framework/_CodeSignature/CodeSignature and /dev/null differ diff --git a/Reaper.xcframework/ios-arm64_x86_64-simulator/Reaper.framework/Headers/Reaper.h b/Reaper.xcframework/ios-arm64_x86_64-simulator/Reaper.framework/Headers/Reaper.h deleted file mode 100644 index e88fdb1..0000000 --- a/Reaper.xcframework/ios-arm64_x86_64-simulator/Reaper.framework/Headers/Reaper.h +++ /dev/null @@ -1,15 +0,0 @@ -#import - -NS_ASSUME_NONNULL_BEGIN - -@interface EMGReaper : NSObject - -+ (instancetype)sharedInstance; -- (void)startWithAPIKey:(NSString *)APIKey; - -- (instancetype)init NS_UNAVAILABLE; -+ (instancetype)new NS_UNAVAILABLE; - -@end - -NS_ASSUME_NONNULL_END diff --git a/Reaper.xcframework/ios-arm64_x86_64-simulator/Reaper.framework/Info.plist b/Reaper.xcframework/ios-arm64_x86_64-simulator/Reaper.framework/Info.plist deleted file mode 100644 index 0f417da..0000000 Binary files a/Reaper.xcframework/ios-arm64_x86_64-simulator/Reaper.framework/Info.plist and /dev/null differ diff --git a/Reaper.xcframework/ios-arm64_x86_64-simulator/Reaper.framework/Modules/module.modulemap b/Reaper.xcframework/ios-arm64_x86_64-simulator/Reaper.framework/Modules/module.modulemap deleted file mode 100644 index a7ee24c..0000000 --- a/Reaper.xcframework/ios-arm64_x86_64-simulator/Reaper.framework/Modules/module.modulemap +++ /dev/null @@ -1,6 +0,0 @@ -framework module Reaper { - umbrella header "Reaper.h" - - export * - module * { export * } -} diff --git a/Reaper.xcframework/ios-arm64_x86_64-simulator/Reaper.framework/Reaper b/Reaper.xcframework/ios-arm64_x86_64-simulator/Reaper.framework/Reaper deleted file mode 100644 index 59668ee..0000000 Binary files a/Reaper.xcframework/ios-arm64_x86_64-simulator/Reaper.framework/Reaper and /dev/null differ diff --git a/Reaper.xcframework/ios-arm64_x86_64-simulator/Reaper.framework/_CodeSignature/CodeDirectory b/Reaper.xcframework/ios-arm64_x86_64-simulator/Reaper.framework/_CodeSignature/CodeDirectory deleted file mode 100644 index 6f849fc..0000000 Binary files a/Reaper.xcframework/ios-arm64_x86_64-simulator/Reaper.framework/_CodeSignature/CodeDirectory and /dev/null differ diff --git a/Reaper.xcframework/ios-arm64_x86_64-simulator/Reaper.framework/_CodeSignature/CodeRequirements b/Reaper.xcframework/ios-arm64_x86_64-simulator/Reaper.framework/_CodeSignature/CodeRequirements deleted file mode 100644 index dbf9d61..0000000 Binary files a/Reaper.xcframework/ios-arm64_x86_64-simulator/Reaper.framework/_CodeSignature/CodeRequirements and /dev/null differ diff --git a/Reaper.xcframework/ios-arm64_x86_64-simulator/Reaper.framework/_CodeSignature/CodeRequirements-1 b/Reaper.xcframework/ios-arm64_x86_64-simulator/Reaper.framework/_CodeSignature/CodeRequirements-1 deleted file mode 100644 index 3dbc56d..0000000 Binary files a/Reaper.xcframework/ios-arm64_x86_64-simulator/Reaper.framework/_CodeSignature/CodeRequirements-1 and /dev/null differ diff --git a/Reaper.xcframework/ios-arm64_x86_64-simulator/Reaper.framework/_CodeSignature/CodeResources b/Reaper.xcframework/ios-arm64_x86_64-simulator/Reaper.framework/_CodeSignature/CodeResources deleted file mode 100644 index 190dcdf..0000000 --- a/Reaper.xcframework/ios-arm64_x86_64-simulator/Reaper.framework/_CodeSignature/CodeResources +++ /dev/null @@ -1,132 +0,0 @@ - - - - - files - - Headers/Reaper.h - - BX9WiiE8l3iPkj+Q5+QMZyEKRnk= - - Info.plist - - 60KDIVKSitiBYy8tOlUxRtFk1bA= - - Modules/module.modulemap - - oDw+Ky3bfZaVgqCOB/m0jgYwzVw= - - - files2 - - Headers/Reaper.h - - hash - - BX9WiiE8l3iPkj+Q5+QMZyEKRnk= - - hash2 - - KTSpr4Pv94PnyPqXD0CyMoCl1xn79Wmh/1VbIdNPbxE= - - - Modules/module.modulemap - - hash - - oDw+Ky3bfZaVgqCOB/m0jgYwzVw= - - hash2 - - doDP5mizNCGUQvLT3v/++oMTegdmYkJ/pGwcNcz+5VI= - - - - rules - - ^.* - - ^.*\.lproj/ - - optional - - weight - 1000 - - ^.*\.lproj/locversion.plist$ - - omit - - weight - 1100 - - ^Base\.lproj/ - - weight - 1010 - - ^version.plist$ - - - rules2 - - .*\.dSYM($|/) - - weight - 11 - - ^(.*/)?\.DS_Store$ - - omit - - weight - 2000 - - ^.* - - ^.*\.lproj/ - - optional - - weight - 1000 - - ^.*\.lproj/locversion.plist$ - - omit - - weight - 1100 - - ^Base\.lproj/ - - weight - 1010 - - ^Info\.plist$ - - omit - - weight - 20 - - ^PkgInfo$ - - omit - - weight - 20 - - ^embedded\.provisionprofile$ - - weight - 20 - - ^version\.plist$ - - weight - 20 - - - - diff --git a/Reaper.xcframework/ios-arm64_x86_64-simulator/Reaper.framework/_CodeSignature/CodeSignature b/Reaper.xcframework/ios-arm64_x86_64-simulator/Reaper.framework/_CodeSignature/CodeSignature deleted file mode 100644 index e69de29..0000000