APPLEMAIL-42 Delete unused code. Add install scheme.

APPLEMAIL-42
David Alarcon 2 years ago
parent a86ec68c05
commit 89bb682032

@ -19,11 +19,6 @@ NS_ASSUME_NONNULL_BEGIN
- (void)start;
- (void)stop;
/// Wraps color_from_rating.
- (void)colorFromRating:(PEPRating)rating
errorCallback:(void (^)(NSError * _Nonnull))errorCallback
successCallback:(void (^)(PEPColor))successCallback;
@end
NS_ASSUME_NONNULL_END

@ -103,7 +103,8 @@ successCallback:(nonnull void (^)(PEPIdentity * _Nonnull))successCallback {
__block PEPColor color = PEPColorNoColor;
[[self.connection synchronousRemoteObjectProxyWithErrorHandler:^(NSError * _Nonnull error) {
NSLog(@"[PEP4I meant I'll keep working on it a little bit more, and we APPLEMAIL] Error: %@", error);
NSLog(@"[PEP4APPLEMAIL] Error: %@", error);
// Nothing to do
}] colorFromRating:rating resultBlock:^(PEPObjCAdapterXpcApiResult * _Nonnull result) {
color = [(NSNumber *)[result.result firstObject] intValue];
}];

@ -65,7 +65,7 @@
- (void)colorFromRating:(PEPRating)rating
resultBlock:(void (^)(PEPObjCAdapterXpcApiResult * _Nonnull))resultCallback {
NSLog(@"%s, __PRETTY_FUNCTION__");
NSLog(@"%s", __PRETTY_FUNCTION__);
PEPSession *session = [PEPSession new];
PEPColor color = [session colorFromRating:rating];

@ -0,0 +1,67 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "1240"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"
buildImplicitDependencies = "YES">
<BuildActionEntries>
<BuildActionEntry
buildForTesting = "YES"
buildForRunning = "YES"
buildForProfiling = "YES"
buildForArchiving = "YES"
buildForAnalyzing = "YES">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "4E44A4C226247559001F9D55"
BuildableName = "Install pEpMacOSAdapter Service"
BlueprintName = "Install pEpMacOSAdapter Service"
ReferencedContainer = "container:pEpMacOSAdapter.xcodeproj">
</BuildableReference>
</BuildActionEntry>
</BuildActionEntries>
</BuildAction>
<TestAction
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
shouldUseLaunchSchemeArgsEnv = "YES">
<Testables>
</Testables>
</TestAction>
<LaunchAction
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
launchStyle = "0"
useCustomWorkingDirectory = "NO"
ignoresPersistentStateOnLaunch = "NO"
debugDocumentVersioning = "YES"
debugServiceExtension = "internal"
allowLocationSimulation = "YES">
</LaunchAction>
<ProfileAction
buildConfiguration = "Release"
shouldUseLaunchSchemeArgsEnv = "YES"
savedToolIdentifier = ""
useCustomWorkingDirectory = "NO"
debugDocumentVersioning = "YES">
<MacroExpansion>
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "4E44A4C226247559001F9D55"
BuildableName = "Install pEpMacOSAdapter Service"
BlueprintName = "Install pEpMacOSAdapter Service"
ReferencedContainer = "container:pEpMacOSAdapter.xcodeproj">
</BuildableReference>
</MacroExpansion>
</ProfileAction>
<AnalyzeAction
buildConfiguration = "Debug">
</AnalyzeAction>
<ArchiveAction
buildConfiguration = "Release"
revealArchiveInOrganizer = "YES">
</ArchiveAction>
</Scheme>
Loading…
Cancel
Save