diff --git a/.travis.yml b/.travis.yml index 0cf07ca..36ade07 100644 --- a/.travis.yml +++ b/.travis.yml @@ -4,6 +4,7 @@ osx_image: xcode7.1 before_install: - gem install cocoapods + - gem install xcpretty script: # pod lib lint --use-libraries --allow-warnings diff --git a/Example/Podfile.lock b/Example/Podfile.lock index 3b60c9f..233692d 100644 --- a/Example/Podfile.lock +++ b/Example/Podfile.lock @@ -1,14 +1,14 @@ PODS: - - Amplitude-iOS (4.0.1) - - Analytics (3.6.0) - - Expecta (1.0.5) + - Amplitude-iOS (4.0.3) + - Analytics (3.6.7) + - Expecta (1.0.6) - OCHamcrest (7.0.2) - OCMockito (5.0.1): - OCHamcrest (~> 7.0) - Segment-Amplitude (1.4.4): - Amplitude-iOS (~> 4.0) - Analytics (~> 3.6) - - Specta (1.0.6) + - Specta (1.0.7) DEPENDENCIES: - Expecta @@ -21,13 +21,13 @@ EXTERNAL SOURCES: :path: ../ SPEC CHECKSUMS: - Amplitude-iOS: e511a77d2c05f3cc623a40e4323e65d12ef1c322 - Analytics: 15be3e651d22cc811f44df65698538236676437b - Expecta: e1c022fcd33910b6be89c291d2775b3fe27a89fe + Amplitude-iOS: d17f387fca4def647ddcd898f0a3fa90b70fbf1c + Analytics: 2c09a50e3478a3a7ced08a22d00c43ba6f7011e6 + Expecta: 3b6bd90a64b9a1dcb0b70aa0e10a7f8f631667d5 OCHamcrest: 706bfbf69a3df55a873bad096014e80e2e8ca93c OCMockito: 063837a086c058e764fcd23e771089c1759e7197 Segment-Amplitude: 985f1f4e4e4c3b5bfa28c52995e13fd9ed932e5f - Specta: f506f3a8361de16bc0dcf3b17b75e269072ba465 + Specta: 3e1bd89c3517421982dc4d1c992503e48bd5fe66 PODFILE CHECKSUM: f3781d85a056f01c90fae0474309638084899ac0 diff --git a/Example/Segment-Amplitude.xcodeproj/project.pbxproj b/Example/Segment-Amplitude.xcodeproj/project.pbxproj index f54c0ae..8097c9e 100644 --- a/Example/Segment-Amplitude.xcodeproj/project.pbxproj +++ b/Example/Segment-Amplitude.xcodeproj/project.pbxproj @@ -247,6 +247,9 @@ LastUpgradeCheck = 0510; ORGANIZATIONNAME = "Prateek Srivastava"; TargetAttributes = { + 6003F589195388D20070C39A = { + DevelopmentTeam = ENLA8E7Z4L; + }; 6003F5AD195388D20070C39A = { TestTargetID = 6003F589195388D20070C39A; }; @@ -299,9 +302,15 @@ files = ( ); inputPaths = ( + "${SRCROOT}/Pods/Target Support Files/Pods-Segment-Amplitude_Example/Pods-Segment-Amplitude_Example-resources.sh", + "${PODS_ROOT}/Amplitude-iOS/Amplitude/api.amplitude.com.der", + "${PODS_ROOT}/Amplitude-iOS/Amplitude/ComodoCaLimitedRsaCertificationAuthority.der", + "${PODS_ROOT}/Amplitude-iOS/Amplitude/ComodoRsaCA.der", + "${PODS_ROOT}/Amplitude-iOS/Amplitude/ComodoRsaDomainValidationCA.der", ); name = "[CP] Copy Pods Resources"; outputPaths = ( + "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}", ); runOnlyForDeploymentPostprocessing = 0; shellPath = /bin/sh; @@ -329,13 +338,16 @@ files = ( ); inputPaths = ( + "${PODS_PODFILE_DIR_PATH}/Podfile.lock", + "${PODS_ROOT}/Manifest.lock", ); name = "[CP] Check Pods Manifest.lock"; outputPaths = ( + "$(DERIVED_FILE_DIR)/Pods-Segment-Amplitude_Example-checkManifestLockResult.txt", ); 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"; + 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# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n"; showEnvVarsInLog = 0; }; 96CC595E0672096BFEBE21DB /* [CP] Copy Pods Resources */ = { @@ -359,13 +371,16 @@ files = ( ); inputPaths = ( + "${PODS_PODFILE_DIR_PATH}/Podfile.lock", + "${PODS_ROOT}/Manifest.lock", ); name = "[CP] Check Pods Manifest.lock"; outputPaths = ( + "$(DERIVED_FILE_DIR)/Pods-Segment-Amplitude_Tests-checkManifestLockResult.txt", ); 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"; + 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# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n"; showEnvVarsInLog = 0; }; DE78D070576999349BDBA460 /* [CP] Embed Pods Frameworks */ = { @@ -512,6 +527,7 @@ buildSettings = { ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage; + DEVELOPMENT_TEAM = ENLA8E7Z4L; GCC_PRECOMPILE_PREFIX_HEADER = YES; GCC_PREFIX_HEADER = "Segment-Amplitude/Segment-Amplitude-Prefix.pch"; INFOPLIST_FILE = "Segment-Amplitude/Segment-Amplitude-Info.plist"; @@ -528,6 +544,7 @@ buildSettings = { ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage; + DEVELOPMENT_TEAM = ENLA8E7Z4L; GCC_PRECOMPILE_PREFIX_HEADER = YES; GCC_PREFIX_HEADER = "Segment-Amplitude/Segment-Amplitude-Prefix.pch"; INFOPLIST_FILE = "Segment-Amplitude/Segment-Amplitude-Info.plist"; diff --git a/Example/Segment-Amplitude.xcodeproj/xcshareddata/xcschemes/Segment-Amplitude_Example.xcscheme b/Example/Segment-Amplitude.xcodeproj/xcshareddata/xcschemes/Segment-Amplitude_Example.xcscheme new file mode 100644 index 0000000..646a510 --- /dev/null +++ b/Example/Segment-Amplitude.xcodeproj/xcshareddata/xcschemes/Segment-Amplitude_Example.xcscheme @@ -0,0 +1,116 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Makefile b/Makefile index 1c5d3fb..fad929f 100644 --- a/Makefile +++ b/Makefile @@ -5,7 +5,7 @@ DESTINATION ?= "platform=iOS Simulator,name=iPhone 5" PROJECT := Segment-Amplitude XC_ARGS := -scheme $(PROJECT)_Example -workspace Example/$(PROJECT).xcworkspace -sdk $(SDK) -destination $(DESTINATION) ONLY_ACTIVE_ARCH=NO -install: Example/Podfile $(PROJECT).podspec +install: Example/Podfile Segment-Amplitude.podspec pod repo update pod install --project-directory=Example @@ -18,11 +18,5 @@ build: test: xcodebuild test $(XC_ARGS) | $(XCPRETTY) -xcbuild: - xctool $(XC_ARGS) - -xctest: - xctool test $(XC_ARGS) - .PHONY: test build xctest xcbuild clean .SILENT: