This commit is contained in:
Matthew Podwysocki 2020-10-01 17:20:21 -04:00 коммит произвёл GitHub
Родитель a73a459245
Коммит 09df89f423
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
17 изменённых файлов: 1010 добавлений и 0 удалений

Просмотреть файл

@ -0,0 +1,380 @@
// !$*UTF8*$!
{
archiveVersion = 1;
classes = {
};
objectVersion = 50;
objects = {
/* Begin PBXBuildFile section */
4C1E7CEE24F59038001A7C8E /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 4C1E7CED24F59038001A7C8E /* AppDelegate.m */; };
4C1E7CF124F59038001A7C8E /* SceneDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 4C1E7CF024F59038001A7C8E /* SceneDelegate.m */; };
4C1E7CF424F59038001A7C8E /* ViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 4C1E7CF324F59038001A7C8E /* ViewController.m */; };
4C1E7CF724F59038001A7C8E /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 4C1E7CF524F59038001A7C8E /* Main.storyboard */; };
4C1E7CF924F5903C001A7C8E /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 4C1E7CF824F5903C001A7C8E /* Assets.xcassets */; };
4C1E7CFC24F5903C001A7C8E /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 4C1E7CFA24F5903C001A7C8E /* LaunchScreen.storyboard */; };
4C1E7CFF24F5903C001A7C8E /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 4C1E7CFE24F5903C001A7C8E /* main.m */; };
4C1E7D0824F590D8001A7C8E /* PushKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 4C1E7D0724F590D8001A7C8E /* PushKit.framework */; };
4C1E7D0A24F590DD001A7C8E /* UserNotifications.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 4C1E7D0924F590DD001A7C8E /* UserNotifications.framework */; };
4C1E7D0C24F590E3001A7C8E /* UIKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 4C1E7D0B24F590E3001A7C8E /* UIKit.framework */; };
4C1E7D0E24F590EC001A7C8E /* SystemConfiguration.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 4C1E7D0D24F590EC001A7C8E /* SystemConfiguration.framework */; };
4C1E7D1024F592A1001A7C8E /* CallKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 4C1E7D0F24F592A1001A7C8E /* CallKit.framework */; };
/* End PBXBuildFile section */
/* Begin PBXFileReference section */
4C1E7CE924F59038001A7C8E /* SampleVOIPApp.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = SampleVOIPApp.app; sourceTree = BUILT_PRODUCTS_DIR; };
4C1E7CEC24F59038001A7C8E /* AppDelegate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = AppDelegate.h; sourceTree = "<group>"; };
4C1E7CED24F59038001A7C8E /* AppDelegate.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = AppDelegate.m; sourceTree = "<group>"; };
4C1E7CEF24F59038001A7C8E /* SceneDelegate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = SceneDelegate.h; sourceTree = "<group>"; };
4C1E7CF024F59038001A7C8E /* SceneDelegate.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = SceneDelegate.m; sourceTree = "<group>"; };
4C1E7CF224F59038001A7C8E /* ViewController.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = ViewController.h; sourceTree = "<group>"; };
4C1E7CF324F59038001A7C8E /* ViewController.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = ViewController.m; sourceTree = "<group>"; };
4C1E7CF624F59038001A7C8E /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = "<group>"; };
4C1E7CF824F5903C001A7C8E /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = "<group>"; };
4C1E7CFB24F5903C001A7C8E /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = "<group>"; };
4C1E7CFD24F5903C001A7C8E /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
4C1E7CFE24F5903C001A7C8E /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = "<group>"; };
4C1E7D0524F59052001A7C8E /* SampleVOIPApp.entitlements */ = {isa = PBXFileReference; lastKnownFileType = text.plist.entitlements; path = SampleVOIPApp.entitlements; sourceTree = "<group>"; };
4C1E7D0724F590D8001A7C8E /* PushKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = PushKit.framework; path = System/Library/Frameworks/PushKit.framework; sourceTree = SDKROOT; };
4C1E7D0924F590DD001A7C8E /* UserNotifications.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = UserNotifications.framework; path = System/Library/Frameworks/UserNotifications.framework; sourceTree = SDKROOT; };
4C1E7D0B24F590E3001A7C8E /* UIKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = UIKit.framework; path = System/Library/Frameworks/UIKit.framework; sourceTree = SDKROOT; };
4C1E7D0D24F590EC001A7C8E /* SystemConfiguration.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = SystemConfiguration.framework; path = System/Library/Frameworks/SystemConfiguration.framework; sourceTree = SDKROOT; };
4C1E7D0F24F592A1001A7C8E /* CallKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CallKit.framework; path = System/Library/Frameworks/CallKit.framework; sourceTree = SDKROOT; };
/* End PBXFileReference section */
/* Begin PBXFrameworksBuildPhase section */
4C1E7CE624F59038001A7C8E /* Frameworks */ = {
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
4C1E7D1024F592A1001A7C8E /* CallKit.framework in Frameworks */,
4C1E7D0E24F590EC001A7C8E /* SystemConfiguration.framework in Frameworks */,
4C1E7D0C24F590E3001A7C8E /* UIKit.framework in Frameworks */,
4C1E7D0A24F590DD001A7C8E /* UserNotifications.framework in Frameworks */,
4C1E7D0824F590D8001A7C8E /* PushKit.framework in Frameworks */,
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXFrameworksBuildPhase section */
/* Begin PBXGroup section */
4C1E7CE024F59038001A7C8E = {
isa = PBXGroup;
children = (
4C1E7CEB24F59038001A7C8E /* SampleVOIPApp */,
4C1E7CEA24F59038001A7C8E /* Products */,
4C1E7D0624F590D7001A7C8E /* Frameworks */,
);
sourceTree = "<group>";
};
4C1E7CEA24F59038001A7C8E /* Products */ = {
isa = PBXGroup;
children = (
4C1E7CE924F59038001A7C8E /* SampleVOIPApp.app */,
);
name = Products;
sourceTree = "<group>";
};
4C1E7CEB24F59038001A7C8E /* SampleVOIPApp */ = {
isa = PBXGroup;
children = (
4C1E7D0524F59052001A7C8E /* SampleVOIPApp.entitlements */,
4C1E7CEC24F59038001A7C8E /* AppDelegate.h */,
4C1E7CED24F59038001A7C8E /* AppDelegate.m */,
4C1E7CEF24F59038001A7C8E /* SceneDelegate.h */,
4C1E7CF024F59038001A7C8E /* SceneDelegate.m */,
4C1E7CF224F59038001A7C8E /* ViewController.h */,
4C1E7CF324F59038001A7C8E /* ViewController.m */,
4C1E7CF524F59038001A7C8E /* Main.storyboard */,
4C1E7CF824F5903C001A7C8E /* Assets.xcassets */,
4C1E7CFA24F5903C001A7C8E /* LaunchScreen.storyboard */,
4C1E7CFD24F5903C001A7C8E /* Info.plist */,
4C1E7CFE24F5903C001A7C8E /* main.m */,
);
path = SampleVOIPApp;
sourceTree = "<group>";
};
4C1E7D0624F590D7001A7C8E /* Frameworks */ = {
isa = PBXGroup;
children = (
4C1E7D0F24F592A1001A7C8E /* CallKit.framework */,
4C1E7D0D24F590EC001A7C8E /* SystemConfiguration.framework */,
4C1E7D0B24F590E3001A7C8E /* UIKit.framework */,
4C1E7D0924F590DD001A7C8E /* UserNotifications.framework */,
4C1E7D0724F590D8001A7C8E /* PushKit.framework */,
);
name = Frameworks;
sourceTree = "<group>";
};
/* End PBXGroup section */
/* Begin PBXNativeTarget section */
4C1E7CE824F59038001A7C8E /* SampleVOIPApp */ = {
isa = PBXNativeTarget;
buildConfigurationList = 4C1E7D0224F5903C001A7C8E /* Build configuration list for PBXNativeTarget "SampleVOIPApp" */;
buildPhases = (
4C1E7CE524F59038001A7C8E /* Sources */,
4C1E7CE624F59038001A7C8E /* Frameworks */,
4C1E7CE724F59038001A7C8E /* Resources */,
);
buildRules = (
);
dependencies = (
);
name = SampleVOIPApp;
productName = VOIPTester;
productReference = 4C1E7CE924F59038001A7C8E /* SampleVOIPApp.app */;
productType = "com.apple.product-type.application";
};
/* End PBXNativeTarget section */
/* Begin PBXProject section */
4C1E7CE124F59038001A7C8E /* Project object */ = {
isa = PBXProject;
attributes = {
LastUpgradeCheck = 1200;
ORGANIZATIONNAME = Microsoft;
TargetAttributes = {
4C1E7CE824F59038001A7C8E = {
CreatedOnToolsVersion = 11.6;
};
};
};
buildConfigurationList = 4C1E7CE424F59038001A7C8E /* Build configuration list for PBXProject "SampleVOIPApp" */;
compatibilityVersion = "Xcode 9.3";
developmentRegion = en;
hasScannedForEncodings = 0;
knownRegions = (
en,
Base,
);
mainGroup = 4C1E7CE024F59038001A7C8E;
productRefGroup = 4C1E7CEA24F59038001A7C8E /* Products */;
projectDirPath = "";
projectRoot = "";
targets = (
4C1E7CE824F59038001A7C8E /* SampleVOIPApp */,
);
};
/* End PBXProject section */
/* Begin PBXResourcesBuildPhase section */
4C1E7CE724F59038001A7C8E /* Resources */ = {
isa = PBXResourcesBuildPhase;
buildActionMask = 2147483647;
files = (
4C1E7CFC24F5903C001A7C8E /* LaunchScreen.storyboard in Resources */,
4C1E7CF924F5903C001A7C8E /* Assets.xcassets in Resources */,
4C1E7CF724F59038001A7C8E /* Main.storyboard in Resources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXResourcesBuildPhase section */
/* Begin PBXSourcesBuildPhase section */
4C1E7CE524F59038001A7C8E /* Sources */ = {
isa = PBXSourcesBuildPhase;
buildActionMask = 2147483647;
files = (
4C1E7CF424F59038001A7C8E /* ViewController.m in Sources */,
4C1E7CEE24F59038001A7C8E /* AppDelegate.m in Sources */,
4C1E7CFF24F5903C001A7C8E /* main.m in Sources */,
4C1E7CF124F59038001A7C8E /* SceneDelegate.m in Sources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXSourcesBuildPhase section */
/* Begin PBXVariantGroup section */
4C1E7CF524F59038001A7C8E /* Main.storyboard */ = {
isa = PBXVariantGroup;
children = (
4C1E7CF624F59038001A7C8E /* Base */,
);
name = Main.storyboard;
sourceTree = "<group>";
};
4C1E7CFA24F5903C001A7C8E /* LaunchScreen.storyboard */ = {
isa = PBXVariantGroup;
children = (
4C1E7CFB24F5903C001A7C8E /* Base */,
);
name = LaunchScreen.storyboard;
sourceTree = "<group>";
};
/* End PBXVariantGroup section */
/* Begin XCBuildConfiguration section */
4C1E7D0024F5903C001A7C8E /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO;
CLANG_ANALYZER_NONNULL = YES;
CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
CLANG_CXX_LANGUAGE_STANDARD = "gnu++14";
CLANG_CXX_LIBRARY = "libc++";
CLANG_ENABLE_MODULES = YES;
CLANG_ENABLE_OBJC_ARC = YES;
CLANG_ENABLE_OBJC_WEAK = YES;
CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
CLANG_WARN_BOOL_CONVERSION = YES;
CLANG_WARN_COMMA = YES;
CLANG_WARN_CONSTANT_CONVERSION = YES;
CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
CLANG_WARN_EMPTY_BODY = YES;
CLANG_WARN_ENUM_CONVERSION = YES;
CLANG_WARN_INFINITE_RECURSION = YES;
CLANG_WARN_INT_CONVERSION = YES;
CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
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;
CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE;
CLANG_WARN_UNREACHABLE_CODE = YES;
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
COPY_PHASE_STRIP = NO;
DEBUG_INFORMATION_FORMAT = dwarf;
ENABLE_STRICT_OBJC_MSGSEND = YES;
ENABLE_TESTABILITY = YES;
GCC_C_LANGUAGE_STANDARD = gnu11;
GCC_DYNAMIC_NO_PIC = NO;
GCC_NO_COMMON_BLOCKS = YES;
GCC_OPTIMIZATION_LEVEL = 0;
GCC_PREPROCESSOR_DEFINITIONS = (
"DEBUG=1",
"$(inherited)",
);
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;
GCC_WARN_UNUSED_VARIABLE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 13.6;
MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE;
MTL_FAST_MATH = YES;
ONLY_ACTIVE_ARCH = YES;
SDKROOT = iphoneos;
};
name = Debug;
};
4C1E7D0124F5903C001A7C8E /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO;
CLANG_ANALYZER_NONNULL = YES;
CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
CLANG_CXX_LANGUAGE_STANDARD = "gnu++14";
CLANG_CXX_LIBRARY = "libc++";
CLANG_ENABLE_MODULES = YES;
CLANG_ENABLE_OBJC_ARC = YES;
CLANG_ENABLE_OBJC_WEAK = YES;
CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
CLANG_WARN_BOOL_CONVERSION = YES;
CLANG_WARN_COMMA = YES;
CLANG_WARN_CONSTANT_CONVERSION = YES;
CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
CLANG_WARN_EMPTY_BODY = YES;
CLANG_WARN_ENUM_CONVERSION = YES;
CLANG_WARN_INFINITE_RECURSION = YES;
CLANG_WARN_INT_CONVERSION = YES;
CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
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;
CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE;
CLANG_WARN_UNREACHABLE_CODE = YES;
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
COPY_PHASE_STRIP = NO;
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
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;
GCC_WARN_UNUSED_VARIABLE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 13.6;
MTL_ENABLE_DEBUG_INFO = NO;
MTL_FAST_MATH = YES;
SDKROOT = iphoneos;
VALIDATE_PRODUCT = YES;
};
name = Release;
};
4C1E7D0324F5903C001A7C8E /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
CODE_SIGN_ENTITLEMENTS = SampleVOIPApp/SampleVOIPApp.entitlements;
CODE_SIGN_STYLE = Automatic;
DEVELOPMENT_TEAM = S4V3D7CHJR;
INFOPLIST_FILE = SampleVOIPApp/Info.plist;
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/Frameworks",
);
PRODUCT_BUNDLE_IDENTIFIER = com.microsoft.SampleVOIPApp;
PRODUCT_NAME = "$(TARGET_NAME)";
TARGETED_DEVICE_FAMILY = "1,2";
};
name = Debug;
};
4C1E7D0424F5903C001A7C8E /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
CODE_SIGN_ENTITLEMENTS = SampleVOIPApp/SampleVOIPApp.entitlements;
CODE_SIGN_STYLE = Automatic;
DEVELOPMENT_TEAM = S4V3D7CHJR;
INFOPLIST_FILE = SampleVOIPApp/Info.plist;
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/Frameworks",
);
PRODUCT_BUNDLE_IDENTIFIER = com.microsoft.SampleVOIPApp;
PRODUCT_NAME = "$(TARGET_NAME)";
TARGETED_DEVICE_FAMILY = "1,2";
};
name = Release;
};
/* End XCBuildConfiguration section */
/* Begin XCConfigurationList section */
4C1E7CE424F59038001A7C8E /* Build configuration list for PBXProject "SampleVOIPApp" */ = {
isa = XCConfigurationList;
buildConfigurations = (
4C1E7D0024F5903C001A7C8E /* Debug */,
4C1E7D0124F5903C001A7C8E /* Release */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
4C1E7D0224F5903C001A7C8E /* Build configuration list for PBXNativeTarget "SampleVOIPApp" */ = {
isa = XCConfigurationList;
buildConfigurations = (
4C1E7D0324F5903C001A7C8E /* Debug */,
4C1E7D0424F5903C001A7C8E /* Release */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
/* End XCConfigurationList section */
};
rootObject = 4C1E7CE124F59038001A7C8E /* Project object */;
}

Просмотреть файл

@ -0,0 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<Workspace
version = "1.0">
<FileRef
location = "self:/Users/matthewp/git/VOIPTester/SampleVOIPApp.xcodeproj">
</FileRef>
</Workspace>

Просмотреть файл

@ -0,0 +1,8 @@
<?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>IDEDidComputeMac32BitWarning</key>
<true/>
</dict>
</plist>

Просмотреть файл

@ -0,0 +1,78 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "1200"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"
buildImplicitDependencies = "YES">
<BuildActionEntries>
<BuildActionEntry
buildForTesting = "YES"
buildForRunning = "YES"
buildForProfiling = "YES"
buildForArchiving = "YES"
buildForAnalyzing = "YES">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "4C1E7CE824F59038001A7C8E"
BuildableName = "SampleVOIPApp.app"
BlueprintName = "SampleVOIPApp"
ReferencedContainer = "container:SampleVOIPApp.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">
<BuildableProductRunnable
runnableDebuggingMode = "0">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "4C1E7CE824F59038001A7C8E"
BuildableName = "SampleVOIPApp.app"
BlueprintName = "SampleVOIPApp"
ReferencedContainer = "container:SampleVOIPApp.xcodeproj">
</BuildableReference>
</BuildableProductRunnable>
</LaunchAction>
<ProfileAction
buildConfiguration = "Release"
shouldUseLaunchSchemeArgsEnv = "YES"
savedToolIdentifier = ""
useCustomWorkingDirectory = "NO"
debugDocumentVersioning = "YES">
<BuildableProductRunnable
runnableDebuggingMode = "0">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "4C1E7CE824F59038001A7C8E"
BuildableName = "SampleVOIPApp.app"
BlueprintName = "SampleVOIPApp"
ReferencedContainer = "container:SampleVOIPApp.xcodeproj">
</BuildableReference>
</BuildableProductRunnable>
</ProfileAction>
<AnalyzeAction
buildConfiguration = "Debug">
</AnalyzeAction>
<ArchiveAction
buildConfiguration = "Release"
revealArchiveInOrganizer = "YES">
</ArchiveAction>
</Scheme>

Просмотреть файл

@ -0,0 +1,11 @@
//----------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
//----------------------------------------------------------------
#import <UIKit/UIKit.h>
@interface AppDelegate : UIResponder <UIApplicationDelegate>
@end

Просмотреть файл

@ -0,0 +1,185 @@
//----------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
//----------------------------------------------------------------
#import "AppDelegate.h"
#import <PushKit/PushKit.h>
#import <CallKit/CallKit.h>
@interface AppDelegate () <PKPushRegistryDelegate, CXProviderDelegate>
@property (nonatomic, strong) PKPushRegistry *voipRegistry;
@property (nonatomic, strong) NSString *voipToken;
@property (nonatomic, strong) CXProvider *callProvider;
@property (nonatomic, strong) CXCallController *callController;
@property (nonatomic, strong) NSUUID *currentCall;
@end
@implementation AppDelegate
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
[self registerForVoIPPushes];
[self configureCallKit];
return YES;
}
- (void) configureCallKit {
CXProviderConfiguration *config = [[CXProviderConfiguration alloc] initWithLocalizedName:@"VoIP Service"];
config.supportsVideo = YES;
config.supportedHandleTypes = [NSSet setWithObject:@(CXHandleTypePhoneNumber)];
config.supportsVideo = YES;
config.maximumCallsPerCallGroup = 1;
self.callProvider = [[CXProvider alloc] initWithConfiguration:config];
[self.callProvider setDelegate:self queue:nil];
}
- (void) registerForVoIPPushes {
self.voipRegistry = [[PKPushRegistry alloc] initWithQueue:nil];
self.voipRegistry.delegate = self;
// Initiate registration.
self.voipRegistry.desiredPushTypes = [NSSet setWithObject:PKPushTypeVoIP];
}
#pragma mark CXProviderDelegate
- (void)providerDidBegin:(CXProvider *)provider {
}
- (void)provider:(CXProvider *)provider performStartCallAction:(CXStartCallAction *)action {
[self.callProvider reportOutgoingCallWithUUID:action.callUUID startedConnectingAtDate:nil];
[self.callProvider reportOutgoingCallWithUUID:action.callUUID connectedAtDate:nil];
[action fulfill];
}
- (void)provider:(CXProvider *)provider performAnswerCallAction:(CXAnswerCallAction *)action {
self.currentCall = nil;
[action fulfill];
}
- (void)provider:(CXProvider *)provider performEndCallAction:(CXEndCallAction *)action {
[action fulfill];
}
- (void)provider:(CXProvider *)provider performSetHeldCallAction:(CXSetHeldCallAction *)action {
if (action.isOnHold) {
// TODO: stop audio
} else {
// TODO: start audio
}
[action fulfill];
}
- (void)provider:(CXProvider *)provider performSetMutedCallAction:(CXSetMutedCallAction *)action {
}
- (void)provider:(CXProvider *)provider performSetGroupCallAction:(CXSetGroupCallAction *)action {
}
- (void)provider:(CXProvider *)provider performPlayDTMFCallAction:(CXPlayDTMFCallAction *)action {
}
- (void)provider:(CXProvider *)provider timedOutPerformingAction:(CXAction *)action {
}
- (void)provider:(CXProvider *)provider didActivateAudioSession:(AVAudioSession *)audioSession {
}
- (void)provider:(CXProvider *)provider didDeactivateAudioSession:(AVAudioSession *)audioSession {
}
- (void)providerDidReset:(nonnull CXProvider *)provider {
}
#pragma mark PKPushRegistry
- (void)pushRegistry:(PKPushRegistry *)registry
didUpdatePushCredentials:(PKPushCredentials *)pushCredentials
forType:(PKPushType)type {
NSData *pushToken = pushCredentials.token;
NSString *voipTokenString = [self convertTokenToString:pushToken];
self.voipToken = voipTokenString;
NSLog(@"Registered with token: %@", voipTokenString);
}
- (void)pushRegistry:(PKPushRegistry *)registry
didReceiveIncomingPushWithPayload:(PKPushPayload *)payload
forType:(PKPushType)type
withCompletionHandler:(void (^)(void))completion {
if (type == PKPushTypeVoIP) {
NSString *handle = [payload.dictionaryPayload objectForKey:@"handle"];
NSString *uuidString = [payload.dictionaryPayload objectForKey:@"callUUID"];
/***/
NSUUID *callUUID = [[NSUUID alloc] initWithUUIDString:uuidString];
CXCallUpdate *callUpdate = [CXCallUpdate new];
CXHandle *phoneNumber = [[CXHandle alloc] initWithType:CXHandleTypePhoneNumber value:handle];
callUpdate.remoteHandle = phoneNumber;
__weak AppDelegate *weakSelf = self;
[self.callProvider reportNewIncomingCallWithUUID:callUUID update:callUpdate completion:^(NSError * _Nullable error) {
if (error != nil) {
NSLog(@"Error with call %@", error.localizedDescription);
}
weakSelf.currentCall = callUUID;
NSLog(@"Call complete");
completion();
}];
}
}
#pragma mark - UISceneSession lifecycle
- (UISceneConfiguration *)application:(UIApplication *)application configurationForConnectingSceneSession:(UISceneSession *)connectingSceneSession options:(UISceneConnectionOptions *)options {
// Called when a new scene session is being created.
// Use this method to select a configuration to create the new scene with.
return [[UISceneConfiguration alloc] initWithName:@"Default Configuration" sessionRole:connectingSceneSession.role];
}
- (void)application:(UIApplication *)application didDiscardSceneSessions:(NSSet<UISceneSession *> *)sceneSessions {
// Called when the user discards a scene session.
// If any sessions were discarded while the application was not running, this will be called shortly after application:didFinishLaunchingWithOptions.
// Use this method to release any resources that were specific to the discarded scenes, as they will not return.
}
#pragma mark Helpers
- (NSString *)convertTokenToString:(NSData *)token {
if (!token) {
return nil;
}
const unsigned char *dataBuffer = token.bytes;
NSMutableString *stringBuffer = [NSMutableString stringWithCapacity:(token.length * 2)];
for (NSUInteger i = 0; i < token.length; ++i) {
[stringBuffer appendFormat:@"%02x", dataBuffer[i]];
}
return [NSString stringWithString:stringBuffer];
}
@end

Просмотреть файл

@ -0,0 +1,98 @@
{
"images" : [
{
"idiom" : "iphone",
"scale" : "2x",
"size" : "20x20"
},
{
"idiom" : "iphone",
"scale" : "3x",
"size" : "20x20"
},
{
"idiom" : "iphone",
"scale" : "2x",
"size" : "29x29"
},
{
"idiom" : "iphone",
"scale" : "3x",
"size" : "29x29"
},
{
"idiom" : "iphone",
"scale" : "2x",
"size" : "40x40"
},
{
"idiom" : "iphone",
"scale" : "3x",
"size" : "40x40"
},
{
"idiom" : "iphone",
"scale" : "2x",
"size" : "60x60"
},
{
"idiom" : "iphone",
"scale" : "3x",
"size" : "60x60"
},
{
"idiom" : "ipad",
"scale" : "1x",
"size" : "20x20"
},
{
"idiom" : "ipad",
"scale" : "2x",
"size" : "20x20"
},
{
"idiom" : "ipad",
"scale" : "1x",
"size" : "29x29"
},
{
"idiom" : "ipad",
"scale" : "2x",
"size" : "29x29"
},
{
"idiom" : "ipad",
"scale" : "1x",
"size" : "40x40"
},
{
"idiom" : "ipad",
"scale" : "2x",
"size" : "40x40"
},
{
"idiom" : "ipad",
"scale" : "1x",
"size" : "76x76"
},
{
"idiom" : "ipad",
"scale" : "2x",
"size" : "76x76"
},
{
"idiom" : "ipad",
"scale" : "2x",
"size" : "83.5x83.5"
},
{
"idiom" : "ios-marketing",
"scale" : "1x",
"size" : "1024x1024"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}

Просмотреть файл

@ -0,0 +1,6 @@
{
"info" : {
"author" : "xcode",
"version" : 1
}
}

Просмотреть файл

@ -0,0 +1,25 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="13122.16" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" launchScreen="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES" initialViewController="01J-lp-oVM">
<dependencies>
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="13104.12"/>
<capability name="Safe area layout guides" minToolsVersion="9.0"/>
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
</dependencies>
<scenes>
<!--View Controller-->
<scene sceneID="EHf-IW-A2E">
<objects>
<viewController id="01J-lp-oVM" sceneMemberID="viewController">
<view key="view" contentMode="scaleToFill" id="Ze5-6b-2t3">
<rect key="frame" x="0.0" y="0.0" width="375" height="667"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<color key="backgroundColor" xcode11CocoaTouchSystemColor="systemBackgroundColor" cocoaTouchSystemColor="whiteColor"/>
<viewLayoutGuide key="safeArea" id="6Tk-OE-BBY"/>
</view>
</viewController>
<placeholder placeholderIdentifier="IBFirstResponder" id="iYj-Kq-Ea1" userLabel="First Responder" sceneMemberID="firstResponder"/>
</objects>
<point key="canvasLocation" x="53" y="375"/>
</scene>
</scenes>
</document>

Просмотреть файл

@ -0,0 +1,24 @@
<?xml version="1.0" encoding="UTF-8"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="13122.16" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES" initialViewController="BYZ-38-t0r">
<dependencies>
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="13104.12"/>
<capability name="Safe area layout guides" minToolsVersion="9.0"/>
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
</dependencies>
<scenes>
<!--View Controller-->
<scene sceneID="tne-QT-ifu">
<objects>
<viewController id="BYZ-38-t0r" customClass="ViewController" customModuleProvider="" sceneMemberID="viewController">
<view key="view" contentMode="scaleToFill" id="8bC-Xf-vdC">
<rect key="frame" x="0.0" y="0.0" width="375" height="667"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<color key="backgroundColor" xcode11CocoaTouchSystemColor="systemBackgroundColor" cocoaTouchSystemColor="whiteColor"/>
<viewLayoutGuide key="safeArea" id="6Tk-OE-BBY"/>
</view>
</viewController>
<placeholder placeholderIdentifier="IBFirstResponder" id="dkx-z0-nzr" sceneMemberID="firstResponder"/>
</objects>
</scene>
</scenes>
</document>

Просмотреть файл

@ -0,0 +1,69 @@
<?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>$(PRODUCT_BUNDLE_PACKAGE_TYPE)</string>
<key>CFBundleShortVersionString</key>
<string>1.0</string>
<key>CFBundleVersion</key>
<string>1</string>
<key>LSRequiresIPhoneOS</key>
<true/>
<key>UIApplicationSceneManifest</key>
<dict>
<key>UIApplicationSupportsMultipleScenes</key>
<false/>
<key>UISceneConfigurations</key>
<dict>
<key>UIWindowSceneSessionRoleApplication</key>
<array>
<dict>
<key>UISceneConfigurationName</key>
<string>Default Configuration</string>
<key>UISceneDelegateClassName</key>
<string>SceneDelegate</string>
<key>UISceneStoryboardFile</key>
<string>Main</string>
</dict>
</array>
</dict>
</dict>
<key>UIBackgroundModes</key>
<array>
<string>remote-notification</string>
<string>voip</string>
</array>
<key>UILaunchStoryboardName</key>
<string>LaunchScreen</string>
<key>UIMainStoryboardFile</key>
<string>Main</string>
<key>UIRequiredDeviceCapabilities</key>
<array>
<string>armv7</string>
</array>
<key>UISupportedInterfaceOrientations</key>
<array>
<string>UIInterfaceOrientationPortrait</string>
<string>UIInterfaceOrientationLandscapeLeft</string>
<string>UIInterfaceOrientationLandscapeRight</string>
</array>
<key>UISupportedInterfaceOrientations~ipad</key>
<array>
<string>UIInterfaceOrientationPortrait</string>
<string>UIInterfaceOrientationPortraitUpsideDown</string>
<string>UIInterfaceOrientationLandscapeLeft</string>
<string>UIInterfaceOrientationLandscapeRight</string>
</array>
</dict>
</plist>

Просмотреть файл

@ -0,0 +1,8 @@
<?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>aps-environment</key>
<string>development</string>
</dict>
</plist>

Просмотреть файл

@ -0,0 +1,12 @@
//----------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
//----------------------------------------------------------------
#import <UIKit/UIKit.h>
@interface SceneDelegate : UIResponder <UIWindowSceneDelegate>
@property (strong, nonatomic) UIWindow * window;
@end

Просмотреть файл

@ -0,0 +1,54 @@
//----------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
//----------------------------------------------------------------
#import "SceneDelegate.h"
@interface SceneDelegate ()
@end
@implementation SceneDelegate
- (void)scene:(UIScene *)scene willConnectToSession:(UISceneSession *)session options:(UISceneConnectionOptions *)connectionOptions {
// Use this method to optionally configure and attach the UIWindow `window` to the provided UIWindowScene `scene`.
// If using a storyboard, the `window` property will automatically be initialized and attached to the scene.
// This delegate does not imply the connecting scene or session are new (see `application:configurationForConnectingSceneSession` instead).
}
- (void)sceneDidDisconnect:(UIScene *)scene {
// Called as the scene is being released by the system.
// This occurs shortly after the scene enters the background, or when its session is discarded.
// Release any resources associated with this scene that can be re-created the next time the scene connects.
// The scene may re-connect later, as its session was not neccessarily discarded (see `application:didDiscardSceneSessions` instead).
}
- (void)sceneDidBecomeActive:(UIScene *)scene {
// Called when the scene has moved from an inactive state to an active state.
// Use this method to restart any tasks that were paused (or not yet started) when the scene was inactive.
}
- (void)sceneWillResignActive:(UIScene *)scene {
// Called when the scene will move from an active state to an inactive state.
// This may occur due to temporary interruptions (ex. an incoming phone call).
}
- (void)sceneWillEnterForeground:(UIScene *)scene {
// Called as the scene transitions from the background to the foreground.
// Use this method to undo the changes made on entering the background.
}
- (void)sceneDidEnterBackground:(UIScene *)scene {
// Called as the scene transitions from the foreground to the background.
// Use this method to save data, release shared resources, and store enough scene-specific state information
// to restore the scene back to its current state.
}
@end

Просмотреть файл

@ -0,0 +1,11 @@
//----------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
//----------------------------------------------------------------
#import <UIKit/UIKit.h>
@interface ViewController : UIViewController
@end

Просмотреть файл

@ -0,0 +1,19 @@
//----------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
//----------------------------------------------------------------
#import "ViewController.h"
@interface ViewController ()
@end
@implementation ViewController
- (void)viewDidLoad {
[super viewDidLoad];
// Do any additional setup after loading the view.
}
@end

Просмотреть файл

@ -0,0 +1,15 @@
//----------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
//----------------------------------------------------------------
#import <UIKit/UIKit.h>
#import "AppDelegate.h"
int main(int argc, char * argv[]) {
NSString * appDelegateClassName;
@autoreleasepool {
// Setup code that might create autoreleased objects goes here.
appDelegateClassName = NSStringFromClass([AppDelegate class]);
}
return UIApplicationMain(argc, argv, nil, appDelegateClassName);
}