diff --git a/Example/ChatExample.xcodeproj/project.pbxproj b/Example/ChatExample.xcodeproj/project.pbxproj index 6ffd22e3..1ce113a4 100644 --- a/Example/ChatExample.xcodeproj/project.pbxproj +++ b/Example/ChatExample.xcodeproj/project.pbxproj @@ -16,10 +16,11 @@ 882B5E871CF7D53600B6E160 /* SettingsViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 882B5E801CF7D53600B6E160 /* SettingsViewController.swift */; }; 882B5E901CF7D56000B6E160 /* ChatExampleUITests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 882B5E8E1CF7D56000B6E160 /* ChatExampleUITests.swift */; }; 882B5E951CF7D56E00B6E160 /* ChatExampleTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 882B5E931CF7D56E00B6E160 /* ChatExampleTests.swift */; }; - 882B5EA01CF7D8D100B6E160 /* MessageKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 882B5E9D1CF7D8CA00B6E160 /* MessageKit.framework */; }; - 882B5EA11CF7D8D100B6E160 /* MessageKit.framework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = 882B5E9D1CF7D8CA00B6E160 /* MessageKit.framework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; }; + A444625E4F1C8CB1B33A17F8 /* Pods_ChatExampleUITests.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 2AC6E3F5C11E39F57598DBE6 /* Pods_ChatExampleUITests.framework */; }; B0655A331F23E90800542A83 /* ConversationViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = B0655A321F23E90800542A83 /* ConversationViewController.swift */; }; B096438B1F288D47004D0129 /* MockMessage.swift in Sources */ = {isa = PBXBuildFile; fileRef = B096438A1F288D47004D0129 /* MockMessage.swift */; }; + C1DF6DF39F66906000EC76CF /* Pods_ChatExampleTests.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 56F0AC85B38034EC92CCBC7D /* Pods_ChatExampleTests.framework */; }; + C7CA53A1B85256A5097E7DC7 /* Pods_ChatExample.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 3B316705C4717C3B4C916D62 /* Pods_ChatExample.framework */; }; /* End PBXBuildFile section */ /* Begin PBXContainerItemProxy section */ @@ -37,27 +38,6 @@ remoteGlobalIDString = 882B5E321CF7D4B900B6E160; remoteInfo = ChatExample; }; - 882B5E9C1CF7D8CA00B6E160 /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = 882B5E971CF7D8CA00B6E160 /* MessageKit.xcodeproj */; - proxyType = 2; - remoteGlobalIDString = 88916B221CF0DF2F00469F91; - remoteInfo = MessageKit; - }; - 882B5E9E1CF7D8CA00B6E160 /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = 882B5E971CF7D8CA00B6E160 /* MessageKit.xcodeproj */; - proxyType = 2; - remoteGlobalIDString = 88916B2C1CF0DF2F00469F91; - remoteInfo = MessageKitTests; - }; - 882B5EA21CF7D8D100B6E160 /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = 882B5E971CF7D8CA00B6E160 /* MessageKit.xcodeproj */; - proxyType = 1; - remoteGlobalIDString = 88916B211CF0DF2F00469F91; - remoteInfo = MessageKit; - }; /* End PBXContainerItemProxy section */ /* Begin PBXCopyFilesBuildPhase section */ @@ -67,7 +47,6 @@ dstPath = ""; dstSubfolderSpec = 10; files = ( - 882B5EA11CF7D8D100B6E160 /* MessageKit.framework in Embed Frameworks */, ); name = "Embed Frameworks"; runOnlyForDeploymentPostprocessing = 0; @@ -75,8 +54,12 @@ /* End PBXCopyFilesBuildPhase section */ /* Begin PBXFileReference section */ + 0364943D08CDBE656E6F6DF8 /* Pods-ChatExampleTests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-ChatExampleTests.debug.xcconfig"; path = "Pods/Target Support Files/Pods-ChatExampleTests/Pods-ChatExampleTests.debug.xcconfig"; sourceTree = ""; }; + 2AC6E3F5C11E39F57598DBE6 /* Pods_ChatExampleUITests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_ChatExampleUITests.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 37D3EAC31F390E5F00DD6A55 /* SampleData.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = SampleData.swift; sourceTree = ""; }; 37F8BCD41F38F3A8003C12C2 /* Avatar.playground */ = {isa = PBXFileReference; lastKnownFileType = file.playground; name = Avatar.playground; path = Playgrounds/Avatar.playground; sourceTree = ""; }; + 3B316705C4717C3B4C916D62 /* Pods_ChatExample.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_ChatExample.framework; sourceTree = BUILT_PRODUCTS_DIR; }; + 56F0AC85B38034EC92CCBC7D /* Pods_ChatExampleTests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_ChatExampleTests.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 882B5E331CF7D4B900B6E160 /* ChatExample.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = ChatExample.app; sourceTree = BUILT_PRODUCTS_DIR; }; 882B5E491CF7D4B900B6E160 /* ChatExampleTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = ChatExampleTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; 882B5E541CF7D4B900B6E160 /* ChatExampleUITests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = ChatExampleUITests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; @@ -91,9 +74,13 @@ 882B5E8F1CF7D56000B6E160 /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 882B5E931CF7D56E00B6E160 /* ChatExampleTests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ChatExampleTests.swift; sourceTree = ""; }; 882B5E941CF7D56E00B6E160 /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; - 882B5E971CF7D8CA00B6E160 /* MessageKit.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = MessageKit.xcodeproj; path = ../MessageKit.xcodeproj; sourceTree = ""; }; + 9E0D67CD75BA7EB323FD391B /* Pods-ChatExample.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-ChatExample.release.xcconfig"; path = "Pods/Target Support Files/Pods-ChatExample/Pods-ChatExample.release.xcconfig"; sourceTree = ""; }; + A830E27DBE0B66B89C5D2EB8 /* Pods-ChatExample.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-ChatExample.debug.xcconfig"; path = "Pods/Target Support Files/Pods-ChatExample/Pods-ChatExample.debug.xcconfig"; sourceTree = ""; }; B0655A321F23E90800542A83 /* ConversationViewController.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ConversationViewController.swift; sourceTree = ""; }; B096438A1F288D47004D0129 /* MockMessage.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = MockMessage.swift; sourceTree = ""; }; + B0DD3C951C9D064B5E6D6644 /* Pods-ChatExampleUITests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-ChatExampleUITests.debug.xcconfig"; path = "Pods/Target Support Files/Pods-ChatExampleUITests/Pods-ChatExampleUITests.debug.xcconfig"; sourceTree = ""; }; + B2F1C412A96DE613A0AC31F8 /* Pods-ChatExampleUITests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-ChatExampleUITests.release.xcconfig"; path = "Pods/Target Support Files/Pods-ChatExampleUITests/Pods-ChatExampleUITests.release.xcconfig"; sourceTree = ""; }; + BFE5859D088A740A7D43E1B1 /* Pods-ChatExampleTests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-ChatExampleTests.release.xcconfig"; path = "Pods/Target Support Files/Pods-ChatExampleTests/Pods-ChatExampleTests.release.xcconfig"; sourceTree = ""; }; /* End PBXFileReference section */ /* Begin PBXFrameworksBuildPhase section */ @@ -101,7 +88,7 @@ isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; files = ( - 882B5EA01CF7D8D100B6E160 /* MessageKit.framework in Frameworks */, + C7CA53A1B85256A5097E7DC7 /* Pods_ChatExample.framework in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -109,6 +96,7 @@ isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; files = ( + C1DF6DF39F66906000EC76CF /* Pods_ChatExampleTests.framework in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -116,12 +104,26 @@ isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; files = ( + A444625E4F1C8CB1B33A17F8 /* Pods_ChatExampleUITests.framework in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; }; /* End PBXFrameworksBuildPhase section */ /* Begin PBXGroup section */ + 7523553CCB4B87460CE4DED6 /* Pods */ = { + isa = PBXGroup; + children = ( + A830E27DBE0B66B89C5D2EB8 /* Pods-ChatExample.debug.xcconfig */, + 9E0D67CD75BA7EB323FD391B /* Pods-ChatExample.release.xcconfig */, + 0364943D08CDBE656E6F6DF8 /* Pods-ChatExampleTests.debug.xcconfig */, + BFE5859D088A740A7D43E1B1 /* Pods-ChatExampleTests.release.xcconfig */, + B0DD3C951C9D064B5E6D6644 /* Pods-ChatExampleUITests.debug.xcconfig */, + B2F1C412A96DE613A0AC31F8 /* Pods-ChatExampleUITests.release.xcconfig */, + ); + name = Pods; + sourceTree = ""; + }; 882B5E2A1CF7D4B900B6E160 = { isa = PBXGroup; children = ( @@ -129,7 +131,8 @@ 882B5E921CF7D56D00B6E160 /* Tests */, 882B5E8D1CF7D56000B6E160 /* UITests */, 882B5E341CF7D4B900B6E160 /* Products */, - 882B5E971CF7D8CA00B6E160 /* MessageKit.xcodeproj */, + 7523553CCB4B87460CE4DED6 /* Pods */, + B0B06214A325DCCE2620950A /* Frameworks */, ); sourceTree = ""; }; @@ -179,13 +182,14 @@ path = Tests; sourceTree = ""; }; - 882B5E981CF7D8CA00B6E160 /* Products */ = { + B0B06214A325DCCE2620950A /* Frameworks */ = { isa = PBXGroup; children = ( - 882B5E9D1CF7D8CA00B6E160 /* MessageKit.framework */, - 882B5E9F1CF7D8CA00B6E160 /* MessageKitTests.xctest */, + 3B316705C4717C3B4C916D62 /* Pods_ChatExample.framework */, + 56F0AC85B38034EC92CCBC7D /* Pods_ChatExampleTests.framework */, + 2AC6E3F5C11E39F57598DBE6 /* Pods_ChatExampleUITests.framework */, ); - name = Products; + name = Frameworks; sourceTree = ""; }; /* End PBXGroup section */ @@ -195,15 +199,17 @@ isa = PBXNativeTarget; buildConfigurationList = 882B5E5D1CF7D4B900B6E160 /* Build configuration list for PBXNativeTarget "ChatExample" */; buildPhases = ( + 011D1D45151418DF94DA1AD7 /* [CP] Check Pods Manifest.lock */, 882B5E2F1CF7D4B900B6E160 /* Sources */, 882B5E301CF7D4B900B6E160 /* Frameworks */, 882B5E311CF7D4B900B6E160 /* Resources */, 882B5EA41CF7D8D100B6E160 /* Embed Frameworks */, + 3C8DFCD3063DA0DF099EC7B6 /* [CP] Embed Pods Frameworks */, + CD3F8EE3AFF2313DF2D62568 /* [CP] Copy Pods Resources */, ); buildRules = ( ); dependencies = ( - 882B5EA31CF7D8D100B6E160 /* PBXTargetDependency */, ); name = ChatExample; productName = ChatExample; @@ -214,9 +220,12 @@ isa = PBXNativeTarget; buildConfigurationList = 882B5E601CF7D4B900B6E160 /* Build configuration list for PBXNativeTarget "ChatExampleTests" */; buildPhases = ( + 52AB594E03799821A66AFF18 /* [CP] Check Pods Manifest.lock */, 882B5E451CF7D4B900B6E160 /* Sources */, 882B5E461CF7D4B900B6E160 /* Frameworks */, 882B5E471CF7D4B900B6E160 /* Resources */, + 1E9549B97552A057E870E4D4 /* [CP] Embed Pods Frameworks */, + 36ABBE8E1AD62F519F02A070 /* [CP] Copy Pods Resources */, ); buildRules = ( ); @@ -232,9 +241,12 @@ isa = PBXNativeTarget; buildConfigurationList = 882B5E631CF7D4B900B6E160 /* Build configuration list for PBXNativeTarget "ChatExampleUITests" */; buildPhases = ( + 1CC06D6D4B06C7DEBF56FCA1 /* [CP] Check Pods Manifest.lock */, 882B5E501CF7D4B900B6E160 /* Sources */, 882B5E511CF7D4B900B6E160 /* Frameworks */, 882B5E521CF7D4B900B6E160 /* Resources */, + 17575422C6ED250D743DD40C /* [CP] Embed Pods Frameworks */, + 57DC8C6D452F2FB13B25D6AA /* [CP] Copy Pods Resources */, ); buildRules = ( ); @@ -282,12 +294,6 @@ mainGroup = 882B5E2A1CF7D4B900B6E160; productRefGroup = 882B5E341CF7D4B900B6E160 /* Products */; projectDirPath = ""; - projectReferences = ( - { - ProductGroup = 882B5E981CF7D8CA00B6E160 /* Products */; - ProjectRef = 882B5E971CF7D8CA00B6E160 /* MessageKit.xcodeproj */; - }, - ); projectRoot = ""; targets = ( 882B5E321CF7D4B900B6E160 /* ChatExample */, @@ -297,23 +303,6 @@ }; /* End PBXProject section */ -/* Begin PBXReferenceProxy section */ - 882B5E9D1CF7D8CA00B6E160 /* MessageKit.framework */ = { - isa = PBXReferenceProxy; - fileType = wrapper.framework; - path = MessageKit.framework; - remoteRef = 882B5E9C1CF7D8CA00B6E160 /* PBXContainerItemProxy */; - sourceTree = BUILT_PRODUCTS_DIR; - }; - 882B5E9F1CF7D8CA00B6E160 /* MessageKitTests.xctest */ = { - isa = PBXReferenceProxy; - fileType = wrapper.cfbundle; - path = MessageKitTests.xctest; - remoteRef = 882B5E9E1CF7D8CA00B6E160 /* PBXContainerItemProxy */; - sourceTree = BUILT_PRODUCTS_DIR; - }; -/* End PBXReferenceProxy section */ - /* Begin PBXResourcesBuildPhase section */ 882B5E311CF7D4B900B6E160 /* Resources */ = { isa = PBXResourcesBuildPhase; @@ -341,6 +330,144 @@ }; /* End PBXResourcesBuildPhase section */ +/* Begin PBXShellScriptBuildPhase section */ + 011D1D45151418DF94DA1AD7 /* [CP] Check Pods Manifest.lock */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputPaths = ( + ); + name = "[CP] Check Pods Manifest.lock"; + outputPaths = ( + ); + 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"; + showEnvVarsInLog = 0; + }; + 17575422C6ED250D743DD40C /* [CP] Embed Pods Frameworks */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputPaths = ( + ); + name = "[CP] Embed Pods Frameworks"; + outputPaths = ( + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-ChatExampleUITests/Pods-ChatExampleUITests-frameworks.sh\"\n"; + showEnvVarsInLog = 0; + }; + 1CC06D6D4B06C7DEBF56FCA1 /* [CP] Check Pods Manifest.lock */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputPaths = ( + ); + name = "[CP] Check Pods Manifest.lock"; + outputPaths = ( + ); + 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"; + showEnvVarsInLog = 0; + }; + 1E9549B97552A057E870E4D4 /* [CP] Embed Pods Frameworks */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputPaths = ( + ); + name = "[CP] Embed Pods Frameworks"; + outputPaths = ( + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-ChatExampleTests/Pods-ChatExampleTests-frameworks.sh\"\n"; + showEnvVarsInLog = 0; + }; + 36ABBE8E1AD62F519F02A070 /* [CP] Copy Pods Resources */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputPaths = ( + ); + name = "[CP] Copy Pods Resources"; + outputPaths = ( + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-ChatExampleTests/Pods-ChatExampleTests-resources.sh\"\n"; + showEnvVarsInLog = 0; + }; + 3C8DFCD3063DA0DF099EC7B6 /* [CP] Embed Pods Frameworks */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputPaths = ( + ); + name = "[CP] Embed Pods Frameworks"; + outputPaths = ( + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-ChatExample/Pods-ChatExample-frameworks.sh\"\n"; + showEnvVarsInLog = 0; + }; + 52AB594E03799821A66AFF18 /* [CP] Check Pods Manifest.lock */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputPaths = ( + ); + name = "[CP] Check Pods Manifest.lock"; + outputPaths = ( + ); + 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"; + showEnvVarsInLog = 0; + }; + 57DC8C6D452F2FB13B25D6AA /* [CP] Copy Pods Resources */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputPaths = ( + ); + name = "[CP] Copy Pods Resources"; + outputPaths = ( + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-ChatExampleUITests/Pods-ChatExampleUITests-resources.sh\"\n"; + showEnvVarsInLog = 0; + }; + CD3F8EE3AFF2313DF2D62568 /* [CP] Copy Pods Resources */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputPaths = ( + ); + name = "[CP] Copy Pods Resources"; + outputPaths = ( + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-ChatExample/Pods-ChatExample-resources.sh\"\n"; + showEnvVarsInLog = 0; + }; +/* End PBXShellScriptBuildPhase section */ + /* Begin PBXSourcesBuildPhase section */ 882B5E2F1CF7D4B900B6E160 /* Sources */ = { isa = PBXSourcesBuildPhase; @@ -384,11 +511,6 @@ target = 882B5E321CF7D4B900B6E160 /* ChatExample */; targetProxy = 882B5E551CF7D4B900B6E160 /* PBXContainerItemProxy */; }; - 882B5EA31CF7D8D100B6E160 /* PBXTargetDependency */ = { - isa = PBXTargetDependency; - name = MessageKit; - targetProxy = 882B5EA21CF7D8D100B6E160 /* PBXContainerItemProxy */; - }; /* End PBXTargetDependency section */ /* Begin PBXVariantGroup section */ @@ -504,12 +626,12 @@ }; 882B5E5E1CF7D4B900B6E160 /* Debug */ = { isa = XCBuildConfiguration; + baseConfigurationReference = A830E27DBE0B66B89C5D2EB8 /* Pods-ChatExample.debug.xcconfig */; buildSettings = { ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; DEVELOPMENT_TEAM = ""; INFOPLIST_FILE = "$(SRCROOT)/Sources/Info.plist"; - IPHONEOS_DEPLOYMENT_TARGET = 9.0; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; PRODUCT_BUNDLE_IDENTIFIER = com.messagekit.ChatExample; PRODUCT_NAME = "$(TARGET_NAME)"; @@ -519,12 +641,12 @@ }; 882B5E5F1CF7D4B900B6E160 /* Release */ = { isa = XCBuildConfiguration; + baseConfigurationReference = 9E0D67CD75BA7EB323FD391B /* Pods-ChatExample.release.xcconfig */; buildSettings = { ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; DEVELOPMENT_TEAM = ""; INFOPLIST_FILE = "$(SRCROOT)/Sources/Info.plist"; - IPHONEOS_DEPLOYMENT_TARGET = 9.0; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; PRODUCT_BUNDLE_IDENTIFIER = com.messagekit.ChatExample; PRODUCT_NAME = "$(TARGET_NAME)"; @@ -535,6 +657,7 @@ }; 882B5E611CF7D4B900B6E160 /* Debug */ = { isa = XCBuildConfiguration; + baseConfigurationReference = 0364943D08CDBE656E6F6DF8 /* Pods-ChatExampleTests.debug.xcconfig */; buildSettings = { BUNDLE_LOADER = "$(TEST_HOST)"; INFOPLIST_FILE = Tests/Info.plist; @@ -548,6 +671,7 @@ }; 882B5E621CF7D4B900B6E160 /* Release */ = { isa = XCBuildConfiguration; + baseConfigurationReference = BFE5859D088A740A7D43E1B1 /* Pods-ChatExampleTests.release.xcconfig */; buildSettings = { BUNDLE_LOADER = "$(TEST_HOST)"; INFOPLIST_FILE = Tests/Info.plist; @@ -562,6 +686,7 @@ }; 882B5E641CF7D4B900B6E160 /* Debug */ = { isa = XCBuildConfiguration; + baseConfigurationReference = B0DD3C951C9D064B5E6D6644 /* Pods-ChatExampleUITests.debug.xcconfig */; buildSettings = { INFOPLIST_FILE = UITests/Info.plist; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; @@ -574,6 +699,7 @@ }; 882B5E651CF7D4B900B6E160 /* Release */ = { isa = XCBuildConfiguration; + baseConfigurationReference = B2F1C412A96DE613A0AC31F8 /* Pods-ChatExampleUITests.release.xcconfig */; buildSettings = { INFOPLIST_FILE = UITests/Info.plist; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; diff --git a/Example/ChatExample.xcworkspace/contents.xcworkspacedata b/Example/ChatExample.xcworkspace/contents.xcworkspacedata new file mode 100644 index 00000000..015b3e5e --- /dev/null +++ b/Example/ChatExample.xcworkspace/contents.xcworkspacedata @@ -0,0 +1,10 @@ + + + + + + + diff --git a/Example/Podfile b/Example/Podfile new file mode 100644 index 00000000..396431af --- /dev/null +++ b/Example/Podfile @@ -0,0 +1,15 @@ +platform :ios, '9.0' + +target 'ChatExample' do + use_frameworks! + pod 'MessageKit', :path => '../MessageKit.podspec' + + target 'ChatExampleTests' do + inherit! :search_paths + end + + target 'ChatExampleUITests' do + inherit! :search_paths + end + +end diff --git a/Example/Podfile.lock b/Example/Podfile.lock new file mode 100644 index 00000000..3c65c3f7 --- /dev/null +++ b/Example/Podfile.lock @@ -0,0 +1,16 @@ +PODS: + - MessageKit (0.7.2) + +DEPENDENCIES: + - MessageKit (from `../MessageKit.podspec`) + +EXTERNAL SOURCES: + MessageKit: + :path: ../MessageKit.podspec + +SPEC CHECKSUMS: + MessageKit: c34ab84f81fa41728832977cc4f7ad66fc12c7d2 + +PODFILE CHECKSUM: 9ac65b8dedf0e1b63fea245b089b6645c4e66309 + +COCOAPODS: 1.2.1 diff --git a/Example/UITests/ChatExampleUITests.swift b/Example/UITests/ChatExampleUITests.swift index 28393690..d9548ce9 100644 --- a/Example/UITests/ChatExampleUITests.swift +++ b/Example/UITests/ChatExampleUITests.swift @@ -39,13 +39,12 @@ final class ChatExampleUITests: XCTestCase { // The setUp method is a good place to do this. } - override func tearDown() { - super.tearDown() - } - - func testExample() { - // Use recording to get started writing UI tests. - // Use XCTAssert and related functions to verify your tests produce the correct results. + func testExampleRuns() { + // Extremely simple UI test which is designed to run and display the example project + // This should show if there are any very obvious crashes on render + let app = XCUIApplication() + app.tables.staticTexts["Test"].tap() + XCTAssertTrue(app.collectionViews.staticTexts["Check out this awesome UI library for Chat"].exists) } }