diff --git a/Example/Podfile b/Example/Podfile index 962efe9..6a85f15 100644 --- a/Example/Podfile +++ b/Example/Podfile @@ -1,12 +1,10 @@ source 'https://github.com/CocoaPods/Specs.git' use_frameworks! -target 'RecordButton_Example', :exclusive => true do +target 'RecordButton_Example' do pod "RecordButton", :path => "../" end -target 'RecordButton_Tests', :exclusive => true do +target 'RecordButton_Tests' do pod "RecordButton", :path => "../" - - end diff --git a/Example/Podfile.lock b/Example/Podfile.lock index 52b10f2..2f6f50e 100644 --- a/Example/Podfile.lock +++ b/Example/Podfile.lock @@ -1,14 +1,16 @@ PODS: - - RecordButton (0.1.0) + - RecordButton (1.0.0) DEPENDENCIES: - RecordButton (from `../`) EXTERNAL SOURCES: RecordButton: - :path: ../ + :path: "../" SPEC CHECKSUMS: - RecordButton: d1a7b1b0c10cb1c86bcf600dc09aa7695b1aadd6 + RecordButton: 53e5cea9112aa2f09dccf83e55d3c4645197b58a -COCOAPODS: 0.39.0.beta.4 +PODFILE CHECKSUM: 44d882dfebcc9046464eb3ecb75406a9c8401f05 + +COCOAPODS: 1.1.1 diff --git a/Example/Pods/Local Podspecs/RecordButton.podspec.json b/Example/Pods/Local Podspecs/RecordButton.podspec.json index fd1d978..8a6ff3f 100644 --- a/Example/Pods/Local Podspecs/RecordButton.podspec.json +++ b/Example/Pods/Local Podspecs/RecordButton.podspec.json @@ -1,25 +1,23 @@ { "name": "RecordButton", - "version": "0.1.0", - "summary": "A short description of RecordButton.", - "description": "", - "homepage": "https://github.com//RecordButton", + "version": "1.0.0", + "summary": "A Record Button in Swift.", + "description": "A Modulair Record Button in Swift. It shows you the recording process when recording. It's great for a video recorder app with a fixed/maximum length like snapchat, vine, instragram.", + "homepage": "https://github.com/samuelbeek/RecordButton", + "screenshots": "http://i.imgur.com/WTO3KLC.png", "license": "MIT", "authors": { "samuelbeek": "samuel.beek@gmail.com" }, "source": { - "git": "https://github.com//RecordButton.git", - "tag": "0.1.0" + "git": "https://github.com/samuelbeek/RecordButton.git", + "tag": "1.0.0" }, + "social_media_url": "https://twitter.com/samuelbeek", "platforms": { "ios": "8.0" }, "requires_arc": true, "source_files": "Pod/Classes/**/*", - "resource_bundles": { - "RecordButton": [ - "Pod/Assets/*.png" - ] - } + "frameworks": "UIKit" } diff --git a/Example/Pods/Manifest.lock b/Example/Pods/Manifest.lock index 52b10f2..2f6f50e 100644 --- a/Example/Pods/Manifest.lock +++ b/Example/Pods/Manifest.lock @@ -1,14 +1,16 @@ PODS: - - RecordButton (0.1.0) + - RecordButton (1.0.0) DEPENDENCIES: - RecordButton (from `../`) EXTERNAL SOURCES: RecordButton: - :path: ../ + :path: "../" SPEC CHECKSUMS: - RecordButton: d1a7b1b0c10cb1c86bcf600dc09aa7695b1aadd6 + RecordButton: 53e5cea9112aa2f09dccf83e55d3c4645197b58a -COCOAPODS: 0.39.0.beta.4 +PODFILE CHECKSUM: 44d882dfebcc9046464eb3ecb75406a9c8401f05 + +COCOAPODS: 1.1.1 diff --git a/Example/Pods/Pods.xcodeproj/project.pbxproj b/Example/Pods/Pods.xcodeproj/project.pbxproj index 4095828..4c9588d 100644 --- a/Example/Pods/Pods.xcodeproj/project.pbxproj +++ b/Example/Pods/Pods.xcodeproj/project.pbxproj @@ -7,39 +7,32 @@ objects = { /* Begin PBXBuildFile section */ - 138E703B9F90275D313801A0D44B2A3B /* RecordButton-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = 9697AF51707EAF039B19153536C4DD9A /* RecordButton-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; - 1518B858998AC38C654D5339B4B69619 /* Pods-RecordButton_Example-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = 062EF45D8B6A9655ECC7F4313A9DF393 /* Pods-RecordButton_Example-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; - 57233F7D34320910BA6E0BF4F05BD269 /* Pods-RecordButton_Tests-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = A57148E8CC09A4F51C4ABE9A7CEC1CD4 /* Pods-RecordButton_Tests-dummy.m */; }; - 57B8777D570FB1824EE11DAB24C878F5 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 8B87800010F0DD80A7A580AE2FC54776 /* Foundation.framework */; }; - 60F96C55641EFA8111ADBD31589B35F4 /* Pods-RecordButton_Example-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 98DE419669C596EFC2B353A173D65159 /* Pods-RecordButton_Example-dummy.m */; }; - 709C94D516019C4883FD703EEF29341D /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 8B87800010F0DD80A7A580AE2FC54776 /* Foundation.framework */; }; - 786F1504A9B8B6C7FF3C93A2A864895F /* RecordButton-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = F8CC92E6F70594DCBBA73860FD3CE4DB /* RecordButton-dummy.m */; }; - C08EA0DE2E2EE2896939F81BB3C3C9DE /* Pods-RecordButton_Tests-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = 5109059E4A460C08157A123523EA2442 /* Pods-RecordButton_Tests-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; - C7B5C42011C7CF37A20EEADF54F43A30 /* RecordButton.swift in Sources */ = {isa = PBXBuildFile; fileRef = D732068301D1C03657DD35B3981F0C71 /* RecordButton.swift */; }; - D910E3A5BA941361D7F65509D7C6CEFB /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 8B87800010F0DD80A7A580AE2FC54776 /* Foundation.framework */; }; - E668D76371576D88D4236ACA039B1C51 /* RecordButton.bundle in Resources */ = {isa = PBXBuildFile; fileRef = 0CAF8279541326478484C66D477E3BC6 /* RecordButton.bundle */; }; + 32F23C214BEEDBFA2C968C787356F3D0 /* Pods-RecordButton_Tests-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = A57148E8CC09A4F51C4ABE9A7CEC1CD4 /* Pods-RecordButton_Tests-dummy.m */; }; + 43541B3D4AEB89E57EF5CC69A03C9D07 /* Pods-RecordButton_Example-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 98DE419669C596EFC2B353A173D65159 /* Pods-RecordButton_Example-dummy.m */; }; + 4A63D89C460759603856066CEB97793F /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 616BEB51ECCAD129BDBCB7A956B56CC6 /* Foundation.framework */; }; + 4B1783619FD9BFDBD7D7F2606B295E27 /* RecordButton-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 1D85FD3967728BE1C0EA164DDCA68C6C /* RecordButton-dummy.m */; }; + 57093A20437A4C78FD5F0B8F6F40771C /* Pods-RecordButton_Example-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = 062EF45D8B6A9655ECC7F4313A9DF393 /* Pods-RecordButton_Example-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 6894F49046F43A75A54A3F98F3F18077 /* RecordButton.swift in Sources */ = {isa = PBXBuildFile; fileRef = 3171CE68AAD5C4DF42754B129D1E75EF /* RecordButton.swift */; }; + 69F7EF5C0F5C57A032D3E66F1A17856E /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 616BEB51ECCAD129BDBCB7A956B56CC6 /* Foundation.framework */; }; + 6A5936671427C09766CC4AA78256FAB5 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 616BEB51ECCAD129BDBCB7A956B56CC6 /* Foundation.framework */; }; + 6CCE0B52704B0B6FBBBB71B477523F52 /* Pods-RecordButton_Tests-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = 5109059E4A460C08157A123523EA2442 /* Pods-RecordButton_Tests-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; + DC9ABDFF2B927D88BCCC77270CB0703A /* UIKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 7EC994CDC2D681BA26389F78A7E4B325 /* UIKit.framework */; }; + EF65A54399B594BD2CBE9D2EC931276A /* RecordButton-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = E87F2FC76FFF8393156BDD69F2F761FA /* RecordButton-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; /* End PBXBuildFile section */ /* Begin PBXContainerItemProxy section */ - 0A5DD705CF7EA3EFC6BE5B061147985F /* PBXContainerItemProxy */ = { + 466F3D930F4E5D1FB9F0895E5C4E1EC9 /* PBXContainerItemProxy */ = { isa = PBXContainerItemProxy; containerPortal = D41D8CD98F00B204E9800998ECF8427E /* Project object */; proxyType = 1; - remoteGlobalIDString = BA3363E890BCD5229E4F3F71791D3E21; + remoteGlobalIDString = DB284EC38FAC67A82023AEE86A470EDF; remoteInfo = RecordButton; }; - 9CE5AB62D22526F748C574416EEF082B /* PBXContainerItemProxy */ = { + BCF5880F26C1F931C9DE48FD0ACFDA67 /* PBXContainerItemProxy */ = { isa = PBXContainerItemProxy; containerPortal = D41D8CD98F00B204E9800998ECF8427E /* Project object */; proxyType = 1; - remoteGlobalIDString = 3A53518789C109D53DD579D9DA6F2BD4; - remoteInfo = "RecordButton-RecordButton"; - }; - DCB8627ABCF464FA7FBA9A0FB7D9CC62 /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = D41D8CD98F00B204E9800998ECF8427E /* Project object */; - proxyType = 1; - remoteGlobalIDString = BA3363E890BCD5229E4F3F71791D3E21; + remoteGlobalIDString = DB284EC38FAC67A82023AEE86A470EDF; remoteInfo = RecordButton; }; /* End PBXContainerItemProxy section */ @@ -47,74 +40,87 @@ /* Begin PBXFileReference section */ 062EF45D8B6A9655ECC7F4313A9DF393 /* Pods-RecordButton_Example-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Pods-RecordButton_Example-umbrella.h"; sourceTree = ""; }; 0B2B7B8681173412FD14502912D14F1D /* Pods-RecordButton_Tests-resources.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-RecordButton_Tests-resources.sh"; sourceTree = ""; }; - 0CAF8279541326478484C66D477E3BC6 /* RecordButton.bundle */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = RecordButton.bundle; sourceTree = BUILT_PRODUCTS_DIR; }; 0CCAE861A15FBD7EFD803816447B014B /* Pods-RecordButton_Example-frameworks.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-RecordButton_Example-frameworks.sh"; sourceTree = ""; }; 145D1990ABA82713E540B3FAAD70AB3B /* Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; + 1D85FD3967728BE1C0EA164DDCA68C6C /* RecordButton-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "RecordButton-dummy.m"; sourceTree = ""; }; + 3171CE68AAD5C4DF42754B129D1E75EF /* RecordButton.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = RecordButton.swift; sourceTree = ""; }; + 358A7C56BCBB9D36C713AB4C2B161CC0 /* RecordButton.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = RecordButton.xcconfig; sourceTree = ""; }; 5109059E4A460C08157A123523EA2442 /* Pods-RecordButton_Tests-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Pods-RecordButton_Tests-umbrella.h"; sourceTree = ""; }; 5B879BF0993D2A05160C316CC9AE23AA /* Pods-RecordButton_Tests-acknowledgements.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-RecordButton_Tests-acknowledgements.plist"; sourceTree = ""; }; 5E52BB165850F6449991FEEC92652D44 /* Pods-RecordButton_Tests-frameworks.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-RecordButton_Tests-frameworks.sh"; sourceTree = ""; }; - 5F6DC1F7ADFAE2701368F6B34F0E96C2 /* RecordButton.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = RecordButton.xcconfig; sourceTree = ""; }; + 616BEB51ECCAD129BDBCB7A956B56CC6 /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS10.0.sdk/System/Library/Frameworks/Foundation.framework; sourceTree = DEVELOPER_DIR; }; + 66F077D6C6F2D53B37787135145D6F9A /* Pods_RecordButton_Tests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; name = Pods_RecordButton_Tests.framework; path = "Pods-RecordButton_Tests.framework"; sourceTree = BUILT_PRODUCTS_DIR; }; + 67F9A0C602B1C8D79FC7266DE38CEDE4 /* RecordButton.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; name = RecordButton.framework; path = RecordButton.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 68E1F64815AC9513A4E468553AE35DD5 /* Pods-RecordButton_Example-acknowledgements.markdown */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; path = "Pods-RecordButton_Example-acknowledgements.markdown"; sourceTree = ""; }; 70E0AFC576289FE6212138E197088942 /* Pods-RecordButton_Tests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-RecordButton_Tests.debug.xcconfig"; sourceTree = ""; }; 7E91716A7CCF4408E5EB675B64F3723C /* Pods-RecordButton_Tests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-RecordButton_Tests.release.xcconfig"; sourceTree = ""; }; + 7EC994CDC2D681BA26389F78A7E4B325 /* UIKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = UIKit.framework; path = Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS10.0.sdk/System/Library/Frameworks/UIKit.framework; sourceTree = DEVELOPER_DIR; }; 8447E708C234DD6586B25DE9114FB09D /* Pods-RecordButton_Example.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-RecordButton_Example.debug.xcconfig"; sourceTree = ""; }; - 8B87800010F0DD80A7A580AE2FC54776 /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS8.3.sdk/System/Library/Frameworks/Foundation.framework; sourceTree = DEVELOPER_DIR; }; - 905BC71FCCF8BE360B341AEBB8B7F9FB /* Pods-RecordButton_Example.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = "sourcecode.module-map"; path = "Pods-RecordButton_Example.modulemap"; sourceTree = ""; }; - 9697AF51707EAF039B19153536C4DD9A /* RecordButton-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "RecordButton-umbrella.h"; sourceTree = ""; }; + 905BC71FCCF8BE360B341AEBB8B7F9FB /* Pods-RecordButton_Example.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; path = "Pods-RecordButton_Example.modulemap"; sourceTree = ""; }; + 93A4A3777CF96A4AAC1D13BA6DCCEA73 /* Podfile */ = {isa = PBXFileReference; explicitFileType = text.script.ruby; includeInIndex = 1; lastKnownFileType = text; name = Podfile; path = ../Podfile; sourceTree = SOURCE_ROOT; xcLanguageSpecificationIdentifier = xcode.lang.ruby; }; 98DE419669C596EFC2B353A173D65159 /* Pods-RecordButton_Example-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "Pods-RecordButton_Example-dummy.m"; sourceTree = ""; }; 98E6588FB988D3D00E7F3D9475828A99 /* RecordButton-prefix.pch */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "RecordButton-prefix.pch"; sourceTree = ""; }; A57148E8CC09A4F51C4ABE9A7CEC1CD4 /* Pods-RecordButton_Tests-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "Pods-RecordButton_Tests-dummy.m"; sourceTree = ""; }; + A75851E75CA2363B368BD6797C9833F3 /* Pods_RecordButton_Example.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; name = Pods_RecordButton_Example.framework; path = "Pods-RecordButton_Example.framework"; sourceTree = BUILT_PRODUCTS_DIR; }; AA3FC5E13427436F8252512ADC99D058 /* Pods-RecordButton_Example-acknowledgements.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-RecordButton_Example-acknowledgements.plist"; sourceTree = ""; }; B96A45B7FB00C4A2097791780AAA9353 /* Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; - BA6428E9F66FD5A23C0A2E06ED26CD2F /* Podfile */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; name = Podfile; path = ../Podfile; sourceTree = SOURCE_ROOT; xcLanguageSpecificationIdentifier = xcode.lang.ruby; }; BBC431C50E208CC9CE76841AD94DE76D /* Pods-RecordButton_Tests-acknowledgements.markdown */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; path = "Pods-RecordButton_Tests-acknowledgements.markdown"; sourceTree = ""; }; CF5F3F74AB3897FDF0F50E97A0971B1F /* Pods-RecordButton_Example.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-RecordButton_Example.release.xcconfig"; sourceTree = ""; }; - D732068301D1C03657DD35B3981F0C71 /* RecordButton.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = RecordButton.swift; sourceTree = ""; }; - E33A454134184DEB90CD9A4035561D1B /* Pods_RecordButton_Example.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_RecordButton_Example.framework; sourceTree = BUILT_PRODUCTS_DIR; }; + E87F2FC76FFF8393156BDD69F2F761FA /* RecordButton-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "RecordButton-umbrella.h"; sourceTree = ""; }; EA4A23AB296314B038EC5FF5DAD9E09A /* Pods-RecordButton_Example-resources.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-RecordButton_Example-resources.sh"; sourceTree = ""; }; - EB5DC2D7183C0EBB93938A8CBF129A3F /* RecordButton.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = RecordButton.framework; sourceTree = BUILT_PRODUCTS_DIR; }; - ED560EB2A70435F0C3E9BA43DD9BF3E8 /* RecordButton.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = "sourcecode.module-map"; path = RecordButton.modulemap; sourceTree = ""; }; + ED560EB2A70435F0C3E9BA43DD9BF3E8 /* RecordButton.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; path = RecordButton.modulemap; sourceTree = ""; }; F39216AB003EEDD6F800A2A4013FCA7E /* Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; - F56447A6EC02A7E4AC62EACD74D92A84 /* Pods_RecordButton_Tests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_RecordButton_Tests.framework; sourceTree = BUILT_PRODUCTS_DIR; }; - F8CC92E6F70594DCBBA73860FD3CE4DB /* RecordButton-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "RecordButton-dummy.m"; sourceTree = ""; }; - FC4C62B112B7F80BA60A178927291771 /* Pods-RecordButton_Tests.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = "sourcecode.module-map"; path = "Pods-RecordButton_Tests.modulemap"; sourceTree = ""; }; + FC4C62B112B7F80BA60A178927291771 /* Pods-RecordButton_Tests.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; path = "Pods-RecordButton_Tests.modulemap"; sourceTree = ""; }; /* End PBXFileReference section */ /* Begin PBXFrameworksBuildPhase section */ - A5C56C2497AA92DEC9FCDA9D1453D895 /* Frameworks */ = { + 0C13B6FD4BFFEF7A38D7DADAA6542F3D /* Frameworks */ = { isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; files = ( - 709C94D516019C4883FD703EEF29341D /* Foundation.framework in Frameworks */, + 4A63D89C460759603856066CEB97793F /* Foundation.framework in Frameworks */, + DC9ABDFF2B927D88BCCC77270CB0703A /* UIKit.framework in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; }; - C7D3825EEEF6B68217869B73E714CCC2 /* Frameworks */ = { + 198990021CAC17B93CED564EB4F099DE /* Frameworks */ = { isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; files = ( + 6A5936671427C09766CC4AA78256FAB5 /* Foundation.framework in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; }; - D77951D33716A1B0C532C2693A05DB2F /* Frameworks */ = { + 425617F2EEC7827D78BE51B9683D3A78 /* Frameworks */ = { isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; files = ( - D910E3A5BA941361D7F65509D7C6CEFB /* Foundation.framework in Frameworks */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - EBEAAF79E1595503C311CEEEEDB8C513 /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - 57B8777D570FB1824EE11DAB24C878F5 /* Foundation.framework in Frameworks */, + 69F7EF5C0F5C57A032D3E66F1A17856E /* Foundation.framework in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; }; /* End PBXFrameworksBuildPhase section */ /* Begin PBXGroup section */ + 17A7596CC0D0A3FA9CAFF3F45320E33C /* Products */ = { + isa = PBXGroup; + children = ( + A75851E75CA2363B368BD6797C9833F3 /* Pods_RecordButton_Example.framework */, + 66F077D6C6F2D53B37787135145D6F9A /* Pods_RecordButton_Tests.framework */, + 67F9A0C602B1C8D79FC7266DE38CEDE4 /* RecordButton.framework */, + ); + name = Products; + sourceTree = ""; + }; + 2237B525DF8ABA74CE0F145002713777 /* Classes */ = { + isa = PBXGroup; + children = ( + 3171CE68AAD5C4DF42754B129D1E75EF /* RecordButton.swift */, + ); + name = Classes; + path = Classes; + sourceTree = ""; + }; 2D36F0C93FA78CE1FB5DCCEE91607252 /* Pods-RecordButton_Example */ = { isa = PBXGroup; children = ( @@ -133,40 +139,30 @@ path = "Target Support Files/Pods-RecordButton_Example"; sourceTree = ""; }; - 4402075A2A8FD615A32D2F947B11795A /* Pod */ = { - isa = PBXGroup; - children = ( - AA83CC4142FBA641BFCE7A7BA871D992 /* Classes */, - ); - path = Pod; - sourceTree = ""; - }; - 53D25EA4F0EDA80F36EA8B6F51D23AF6 /* Products */ = { + 433CD3331B6C3787F473C941B61FC68F /* Frameworks */ = { isa = PBXGroup; children = ( - E33A454134184DEB90CD9A4035561D1B /* Pods_RecordButton_Example.framework */, - F56447A6EC02A7E4AC62EACD74D92A84 /* Pods_RecordButton_Tests.framework */, - 0CAF8279541326478484C66D477E3BC6 /* RecordButton.bundle */, - EB5DC2D7183C0EBB93938A8CBF129A3F /* RecordButton.framework */, + E6EE98446B568159EE277B68FD442AF0 /* iOS */, ); - name = Products; + name = Frameworks; sourceTree = ""; }; - 53F661C0CA7190D2CF05023FB33D61E4 /* iOS */ = { + 4402075A2A8FD615A32D2F947B11795A /* Pod */ = { isa = PBXGroup; children = ( - 8B87800010F0DD80A7A580AE2FC54776 /* Foundation.framework */, + 2237B525DF8ABA74CE0F145002713777 /* Classes */, ); - name = iOS; + name = Pod; + path = Pod; sourceTree = ""; }; 7DB346D0F39D3F0E887471402A8071AB = { isa = PBXGroup; children = ( - BA6428E9F66FD5A23C0A2E06ED26CD2F /* Podfile */, + 93A4A3777CF96A4AAC1D13BA6DCCEA73 /* Podfile */, B3830E2BA5866BEFAC7946D5C6B7D2A1 /* Development Pods */, - BC3CA7F9E30CC8F7E2DD044DD34432FC /* Frameworks */, - 53D25EA4F0EDA80F36EA8B6F51D23AF6 /* Products */, + 433CD3331B6C3787F473C941B61FC68F /* Frameworks */, + 17A7596CC0D0A3FA9CAFF3F45320E33C /* Products */, CCF53A7A1E087D82CE0A1B10D120FE36 /* Targets Support Files */, ); sourceTree = ""; @@ -181,14 +177,6 @@ path = ../..; sourceTree = ""; }; - AA83CC4142FBA641BFCE7A7BA871D992 /* Classes */ = { - isa = PBXGroup; - children = ( - D732068301D1C03657DD35B3981F0C71 /* RecordButton.swift */, - ); - path = Classes; - sourceTree = ""; - }; B3830E2BA5866BEFAC7946D5C6B7D2A1 /* Development Pods */ = { isa = PBXGroup; children = ( @@ -197,14 +185,6 @@ name = "Development Pods"; sourceTree = ""; }; - BC3CA7F9E30CC8F7E2DD044DD34432FC /* Frameworks */ = { - isa = PBXGroup; - children = ( - 53F661C0CA7190D2CF05023FB33D61E4 /* iOS */, - ); - name = Frameworks; - sourceTree = ""; - }; CCF53A7A1E087D82CE0A1B10D120FE36 /* Targets Support Files */ = { isa = PBXGroup; children = ( @@ -219,10 +199,10 @@ children = ( F39216AB003EEDD6F800A2A4013FCA7E /* Info.plist */, ED560EB2A70435F0C3E9BA43DD9BF3E8 /* RecordButton.modulemap */, - 5F6DC1F7ADFAE2701368F6B34F0E96C2 /* RecordButton.xcconfig */, - F8CC92E6F70594DCBBA73860FD3CE4DB /* RecordButton-dummy.m */, + 358A7C56BCBB9D36C713AB4C2B161CC0 /* RecordButton.xcconfig */, + 1D85FD3967728BE1C0EA164DDCA68C6C /* RecordButton-dummy.m */, 98E6588FB988D3D00E7F3D9475828A99 /* RecordButton-prefix.pch */, - 9697AF51707EAF039B19153536C4DD9A /* RecordButton-umbrella.h */, + E87F2FC76FFF8393156BDD69F2F761FA /* RecordButton-umbrella.h */, ); name = "Support Files"; path = "Example/Pods/Target Support Files/RecordButton"; @@ -246,106 +226,96 @@ path = "Target Support Files/Pods-RecordButton_Tests"; sourceTree = ""; }; + E6EE98446B568159EE277B68FD442AF0 /* iOS */ = { + isa = PBXGroup; + children = ( + 616BEB51ECCAD129BDBCB7A956B56CC6 /* Foundation.framework */, + 7EC994CDC2D681BA26389F78A7E4B325 /* UIKit.framework */, + ); + name = iOS; + sourceTree = ""; + }; /* End PBXGroup section */ /* Begin PBXHeadersBuildPhase section */ - 89558E372E7AE6C74EBB3C59FCFE3267 /* Headers */ = { + 00A1E645AA61F8096E02E81D443AFB06 /* Headers */ = { isa = PBXHeadersBuildPhase; buildActionMask = 2147483647; files = ( - 138E703B9F90275D313801A0D44B2A3B /* RecordButton-umbrella.h in Headers */, + 57093A20437A4C78FD5F0B8F6F40771C /* Pods-RecordButton_Example-umbrella.h in Headers */, ); runOnlyForDeploymentPostprocessing = 0; }; - A2499BDA5759B8882614DF091EF8CB2A /* Headers */ = { + 2C80295EB676EEA248F3ED31DE869F55 /* Headers */ = { isa = PBXHeadersBuildPhase; buildActionMask = 2147483647; files = ( - 1518B858998AC38C654D5339B4B69619 /* Pods-RecordButton_Example-umbrella.h in Headers */, + EF65A54399B594BD2CBE9D2EC931276A /* RecordButton-umbrella.h in Headers */, ); runOnlyForDeploymentPostprocessing = 0; }; - C994AB119B1BE545D5A393F3A80D4972 /* Headers */ = { + 9C5344C3F42E7ACA14EDFDB740C89F6C /* Headers */ = { isa = PBXHeadersBuildPhase; buildActionMask = 2147483647; files = ( - C08EA0DE2E2EE2896939F81BB3C3C9DE /* Pods-RecordButton_Tests-umbrella.h in Headers */, + 6CCE0B52704B0B6FBBBB71B477523F52 /* Pods-RecordButton_Tests-umbrella.h in Headers */, ); runOnlyForDeploymentPostprocessing = 0; }; /* End PBXHeadersBuildPhase section */ /* Begin PBXNativeTarget section */ - 3A53518789C109D53DD579D9DA6F2BD4 /* RecordButton-RecordButton */ = { + 3155F531C68086BDC7FB3F412E0E1A0E /* Pods-RecordButton_Example */ = { isa = PBXNativeTarget; - buildConfigurationList = F9E0E7BA5E9F2136FAE1EF648D3D539D /* Build configuration list for PBXNativeTarget "RecordButton-RecordButton" */; + buildConfigurationList = AF99C5865161B96084FEDD7F3A0747C9 /* Build configuration list for PBXNativeTarget "Pods-RecordButton_Example" */; buildPhases = ( - 97C243D191F862611C032C2F55BC1E99 /* Sources */, - C7D3825EEEF6B68217869B73E714CCC2 /* Frameworks */, - C2CF0AA1EB67DD1847E8FB531CA193B1 /* Resources */, + BF1DDA8D35DB8C653991EF598D69E54E /* Sources */, + 425617F2EEC7827D78BE51B9683D3A78 /* Frameworks */, + 00A1E645AA61F8096E02E81D443AFB06 /* Headers */, ); buildRules = ( ); dependencies = ( + E83BD6040726D4A6569CA506E96F6E48 /* PBXTargetDependency */, ); - name = "RecordButton-RecordButton"; - productName = "RecordButton-RecordButton"; - productReference = 0CAF8279541326478484C66D477E3BC6 /* RecordButton.bundle */; - productType = "com.apple.product-type.bundle"; + name = "Pods-RecordButton_Example"; + productName = "Pods-RecordButton_Example"; + productReference = A75851E75CA2363B368BD6797C9833F3 /* Pods_RecordButton_Example.framework */; + productType = "com.apple.product-type.framework"; }; - 7EEC7DA8773C26EA5BAA33C89DB081C2 /* Pods-RecordButton_Tests */ = { + D3C23B269F3EE94E5EF67F17521D5F51 /* Pods-RecordButton_Tests */ = { isa = PBXNativeTarget; - buildConfigurationList = D954B254415972161BFB33A70BC703F5 /* Build configuration list for PBXNativeTarget "Pods-RecordButton_Tests" */; + buildConfigurationList = CA581913BECA1647F485131D8DFB5132 /* Build configuration list for PBXNativeTarget "Pods-RecordButton_Tests" */; buildPhases = ( - C8EBE3746F8D6EAEE13FE9BC166510F8 /* Sources */, - A5C56C2497AA92DEC9FCDA9D1453D895 /* Frameworks */, - C994AB119B1BE545D5A393F3A80D4972 /* Headers */, + DB2BE9108871B67C4189F7AF5FDB7B93 /* Sources */, + 198990021CAC17B93CED564EB4F099DE /* Frameworks */, + 9C5344C3F42E7ACA14EDFDB740C89F6C /* Headers */, ); buildRules = ( ); dependencies = ( - 9A805B2D16F54A98DA86FF3F4479B978 /* PBXTargetDependency */, + 9DBEE2E202BDC85C8AAF38A8EC7986B8 /* PBXTargetDependency */, ); name = "Pods-RecordButton_Tests"; productName = "Pods-RecordButton_Tests"; - productReference = F56447A6EC02A7E4AC62EACD74D92A84 /* Pods_RecordButton_Tests.framework */; - productType = "com.apple.product-type.framework"; - }; - 904DD546B58BB585FE359AE061DD0AA3 /* Pods-RecordButton_Example */ = { - isa = PBXNativeTarget; - buildConfigurationList = DFD21F2EE38E352FE610BBC4D43A133D /* Build configuration list for PBXNativeTarget "Pods-RecordButton_Example" */; - buildPhases = ( - 86E0A3ABF3BD2B833A7AC0BF02E5025E /* Sources */, - D77951D33716A1B0C532C2693A05DB2F /* Frameworks */, - A2499BDA5759B8882614DF091EF8CB2A /* Headers */, - ); - buildRules = ( - ); - dependencies = ( - CCD1F439CE0F619D6F071E0803D504BA /* PBXTargetDependency */, - ); - name = "Pods-RecordButton_Example"; - productName = "Pods-RecordButton_Example"; - productReference = E33A454134184DEB90CD9A4035561D1B /* Pods_RecordButton_Example.framework */; + productReference = 66F077D6C6F2D53B37787135145D6F9A /* Pods_RecordButton_Tests.framework */; productType = "com.apple.product-type.framework"; }; - BA3363E890BCD5229E4F3F71791D3E21 /* RecordButton */ = { + DB284EC38FAC67A82023AEE86A470EDF /* RecordButton */ = { isa = PBXNativeTarget; - buildConfigurationList = 26EB1D3EA9601C8D6560C826ED69A084 /* Build configuration list for PBXNativeTarget "RecordButton" */; + buildConfigurationList = 19F2CCD00083797AEF9EB27AC769B00F /* Build configuration list for PBXNativeTarget "RecordButton" */; buildPhases = ( - 71DA90F2346E4317E42B610B288195C3 /* Sources */, - EBEAAF79E1595503C311CEEEEDB8C513 /* Frameworks */, - 3B62EA30A80100E6E06E61B86A6A36FE /* Resources */, - 89558E372E7AE6C74EBB3C59FCFE3267 /* Headers */, + A5CF77C3F1E296A11105751F19B19046 /* Sources */, + 0C13B6FD4BFFEF7A38D7DADAA6542F3D /* Frameworks */, + 2C80295EB676EEA248F3ED31DE869F55 /* Headers */, ); buildRules = ( ); dependencies = ( - C25BC1EF1909BA67476C37673CD5CF11 /* PBXTargetDependency */, ); name = RecordButton; productName = RecordButton; - productReference = EB5DC2D7183C0EBB93938A8CBF129A3F /* RecordButton.framework */; + productReference = 67F9A0C602B1C8D79FC7266DE38CEDE4 /* RecordButton.framework */; productType = "com.apple.product-type.framework"; }; /* End PBXNativeTarget section */ @@ -354,7 +324,7 @@ D41D8CD98F00B204E9800998ECF8427E /* Project object */ = { isa = PBXProject; attributes = { - LastSwiftUpdateCheck = 0700; + LastSwiftUpdateCheck = 0730; LastUpgradeCheck = 0700; }; buildConfigurationList = 2D8E8EC45A3A1A1D94AE762CB5028504 /* Build configuration list for PBXProject "Pods" */; @@ -365,108 +335,112 @@ en, ); mainGroup = 7DB346D0F39D3F0E887471402A8071AB; - productRefGroup = 53D25EA4F0EDA80F36EA8B6F51D23AF6 /* Products */; + productRefGroup = 17A7596CC0D0A3FA9CAFF3F45320E33C /* Products */; projectDirPath = ""; projectRoot = ""; targets = ( - 904DD546B58BB585FE359AE061DD0AA3 /* Pods-RecordButton_Example */, - 7EEC7DA8773C26EA5BAA33C89DB081C2 /* Pods-RecordButton_Tests */, - BA3363E890BCD5229E4F3F71791D3E21 /* RecordButton */, - 3A53518789C109D53DD579D9DA6F2BD4 /* RecordButton-RecordButton */, + 3155F531C68086BDC7FB3F412E0E1A0E /* Pods-RecordButton_Example */, + D3C23B269F3EE94E5EF67F17521D5F51 /* Pods-RecordButton_Tests */, + DB284EC38FAC67A82023AEE86A470EDF /* RecordButton */, ); }; /* End PBXProject section */ -/* Begin PBXResourcesBuildPhase section */ - 3B62EA30A80100E6E06E61B86A6A36FE /* Resources */ = { - isa = PBXResourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - E668D76371576D88D4236ACA039B1C51 /* RecordButton.bundle in Resources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - C2CF0AA1EB67DD1847E8FB531CA193B1 /* Resources */ = { - isa = PBXResourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXResourcesBuildPhase section */ - /* Begin PBXSourcesBuildPhase section */ - 71DA90F2346E4317E42B610B288195C3 /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - 786F1504A9B8B6C7FF3C93A2A864895F /* RecordButton-dummy.m in Sources */, - C7B5C42011C7CF37A20EEADF54F43A30 /* RecordButton.swift in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - 86E0A3ABF3BD2B833A7AC0BF02E5025E /* Sources */ = { + A5CF77C3F1E296A11105751F19B19046 /* Sources */ = { isa = PBXSourcesBuildPhase; buildActionMask = 2147483647; files = ( - 60F96C55641EFA8111ADBD31589B35F4 /* Pods-RecordButton_Example-dummy.m in Sources */, + 4B1783619FD9BFDBD7D7F2606B295E27 /* RecordButton-dummy.m in Sources */, + 6894F49046F43A75A54A3F98F3F18077 /* RecordButton.swift in Sources */, ); runOnlyForDeploymentPostprocessing = 0; }; - 97C243D191F862611C032C2F55BC1E99 /* Sources */ = { + BF1DDA8D35DB8C653991EF598D69E54E /* Sources */ = { isa = PBXSourcesBuildPhase; buildActionMask = 2147483647; files = ( + 43541B3D4AEB89E57EF5CC69A03C9D07 /* Pods-RecordButton_Example-dummy.m in Sources */, ); runOnlyForDeploymentPostprocessing = 0; }; - C8EBE3746F8D6EAEE13FE9BC166510F8 /* Sources */ = { + DB2BE9108871B67C4189F7AF5FDB7B93 /* Sources */ = { isa = PBXSourcesBuildPhase; buildActionMask = 2147483647; files = ( - 57233F7D34320910BA6E0BF4F05BD269 /* Pods-RecordButton_Tests-dummy.m in Sources */, + 32F23C214BEEDBFA2C968C787356F3D0 /* Pods-RecordButton_Tests-dummy.m in Sources */, ); runOnlyForDeploymentPostprocessing = 0; }; /* End PBXSourcesBuildPhase section */ /* Begin PBXTargetDependency section */ - 9A805B2D16F54A98DA86FF3F4479B978 /* PBXTargetDependency */ = { + 9DBEE2E202BDC85C8AAF38A8EC7986B8 /* PBXTargetDependency */ = { isa = PBXTargetDependency; name = RecordButton; - target = BA3363E890BCD5229E4F3F71791D3E21 /* RecordButton */; - targetProxy = DCB8627ABCF464FA7FBA9A0FB7D9CC62 /* PBXContainerItemProxy */; + target = DB284EC38FAC67A82023AEE86A470EDF /* RecordButton */; + targetProxy = 466F3D930F4E5D1FB9F0895E5C4E1EC9 /* PBXContainerItemProxy */; }; - C25BC1EF1909BA67476C37673CD5CF11 /* PBXTargetDependency */ = { - isa = PBXTargetDependency; - name = "RecordButton-RecordButton"; - target = 3A53518789C109D53DD579D9DA6F2BD4 /* RecordButton-RecordButton */; - targetProxy = 9CE5AB62D22526F748C574416EEF082B /* PBXContainerItemProxy */; - }; - CCD1F439CE0F619D6F071E0803D504BA /* PBXTargetDependency */ = { + E83BD6040726D4A6569CA506E96F6E48 /* PBXTargetDependency */ = { isa = PBXTargetDependency; name = RecordButton; - target = BA3363E890BCD5229E4F3F71791D3E21 /* RecordButton */; - targetProxy = 0A5DD705CF7EA3EFC6BE5B061147985F /* PBXContainerItemProxy */; + target = DB284EC38FAC67A82023AEE86A470EDF /* RecordButton */; + targetProxy = BCF5880F26C1F931C9DE48FD0ACFDA67 /* PBXContainerItemProxy */; }; /* End PBXTargetDependency section */ /* Begin XCBuildConfiguration section */ - 06E588824381E91A822B80A317068A64 /* Debug */ = { + 4FD84BE59BAF3B7AF0EB7A18C894182F /* Release */ = { isa = XCBuildConfiguration; - baseConfigurationReference = 5F6DC1F7ADFAE2701368F6B34F0E96C2 /* RecordButton.xcconfig */; + baseConfigurationReference = 358A7C56BCBB9D36C713AB4C2B161CC0 /* RecordButton.xcconfig */; buildSettings = { - "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; - CURRENT_PROJECT_VERSION = 0.1.0; + "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; + "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; + CURRENT_PROJECT_VERSION = 1; + DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; DEFINES_MODULE = YES; - DYLIB_COMPATIBILITY_VERSION = 0.1.0; - DYLIB_CURRENT_VERSION = "$(CURRENT_PROJECT_VERSION)"; + DYLIB_COMPATIBILITY_VERSION = 1; + DYLIB_CURRENT_VERSION = 1; DYLIB_INSTALL_NAME_BASE = "@rpath"; ENABLE_STRICT_OBJC_MSGSEND = YES; + GCC_NO_COMMON_BLOCKS = YES; GCC_PREFIX_HEADER = "Target Support Files/RecordButton/RecordButton-prefix.pch"; INFOPLIST_FILE = "Target Support Files/RecordButton/Info.plist"; INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; - IPHONEOS_DEPLOYMENT_TARGET = 8.3; + IPHONEOS_DEPLOYMENT_TARGET = 8.0; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; + MODULEMAP_FILE = "Target Support Files/RecordButton/RecordButton.modulemap"; + MTL_ENABLE_DEBUG_INFO = NO; + PRODUCT_NAME = RecordButton; + SDKROOT = iphoneos; + SKIP_INSTALL = YES; + SWIFT_VERSION = 3.0; + TARGETED_DEVICE_FAMILY = "1,2"; + VERSIONING_SYSTEM = "apple-generic"; + VERSION_INFO_PREFIX = ""; + }; + name = Release; + }; + 6998E2A3376AEAF3FDBFC2E88E55DEC4 /* Debug */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = 358A7C56BCBB9D36C713AB4C2B161CC0 /* RecordButton.xcconfig */; + buildSettings = { + "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; + "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; + CURRENT_PROJECT_VERSION = 1; + DEBUG_INFORMATION_FORMAT = dwarf; + DEFINES_MODULE = YES; + DYLIB_COMPATIBILITY_VERSION = 1; + DYLIB_CURRENT_VERSION = 1; + DYLIB_INSTALL_NAME_BASE = "@rpath"; + ENABLE_STRICT_OBJC_MSGSEND = YES; + GCC_NO_COMMON_BLOCKS = YES; + GCC_PREFIX_HEADER = "Target Support Files/RecordButton/RecordButton-prefix.pch"; + INFOPLIST_FILE = "Target Support Files/RecordButton/Info.plist"; + INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; + IPHONEOS_DEPLOYMENT_TARGET = 8.0; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; MODULEMAP_FILE = "Target Support Files/RecordButton/RecordButton.modulemap"; MTL_ENABLE_DEBUG_INFO = YES; @@ -474,16 +448,18 @@ SDKROOT = iphoneos; SKIP_INSTALL = YES; SWIFT_OPTIMIZATION_LEVEL = "-Onone"; + SWIFT_VERSION = 3.0; TARGETED_DEVICE_FAMILY = "1,2"; VERSIONING_SYSTEM = "apple-generic"; VERSION_INFO_PREFIX = ""; }; name = Debug; }; - 10DE1947DAC0ED28F6C0A9F9BD75D546 /* Release */ = { + 8DED8AD26D381A6ACFF202E5217EC498 /* Release */ = { isa = XCBuildConfiguration; buildSettings = { ALWAYS_SEARCH_USER_PATHS = NO; + CLANG_ANALYZER_NONNULL = YES; CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; CLANG_CXX_LIBRARY = "libc++"; CLANG_ENABLE_MODULES = YES; @@ -497,10 +473,14 @@ CLANG_WARN_OBJC_ROOT_CLASS = YES; CLANG_WARN_UNREACHABLE_CODE = YES; CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + CODE_SIGNING_REQUIRED = NO; COPY_PHASE_STRIP = YES; ENABLE_NS_ASSERTIONS = NO; GCC_C_LANGUAGE_STANDARD = gnu99; - GCC_PREPROCESSOR_DEFINITIONS = "RELEASE=1"; + GCC_PREPROCESSOR_DEFINITIONS = ( + "POD_CONFIGURATION_RELEASE=1", + "$(inherited)", + ); GCC_WARN_64_TO_32_BIT_CONVERSION = YES; GCC_WARN_ABOUT_RETURN_TYPE = YES; GCC_WARN_UNDECLARED_SELECTOR = YES; @@ -508,92 +488,155 @@ GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; IPHONEOS_DEPLOYMENT_TARGET = 8.3; + PROVISIONING_PROFILE_SPECIFIER = NO_SIGNING/; STRIP_INSTALLED_PRODUCT = NO; SYMROOT = "${SRCROOT}/../build"; VALIDATE_PRODUCT = YES; }; name = Release; }; - 13981EFF5D990810F156AEFA0F61E30F /* Debug */ = { + 9E1E4E48AF2EAB23169E611BF694090A /* Debug */ = { isa = XCBuildConfiguration; - baseConfigurationReference = 8447E708C234DD6586B25DE9114FB09D /* Pods-RecordButton_Example.debug.xcconfig */; buildSettings = { - "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; + ALWAYS_SEARCH_USER_PATHS = NO; + CLANG_ANALYZER_NONNULL = YES; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; + CLANG_CXX_LIBRARY = "libc++"; + CLANG_ENABLE_MODULES = YES; + CLANG_ENABLE_OBJC_ARC = YES; + CLANG_WARN_BOOL_CONVERSION = YES; + CLANG_WARN_CONSTANT_CONVERSION = YES; + CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES; + CLANG_WARN_EMPTY_BODY = YES; + CLANG_WARN_ENUM_CONVERSION = YES; + CLANG_WARN_INT_CONVERSION = YES; + CLANG_WARN_OBJC_ROOT_CLASS = YES; + CLANG_WARN_UNREACHABLE_CODE = YES; + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + CODE_SIGNING_REQUIRED = NO; + COPY_PHASE_STRIP = NO; + ENABLE_TESTABILITY = YES; + GCC_C_LANGUAGE_STANDARD = gnu99; + GCC_DYNAMIC_NO_PIC = NO; + GCC_OPTIMIZATION_LEVEL = 0; + GCC_PREPROCESSOR_DEFINITIONS = ( + "POD_CONFIGURATION_DEBUG=1", + "DEBUG=1", + "$(inherited)", + ); + GCC_SYMBOLS_PRIVATE_EXTERN = NO; + GCC_WARN_64_TO_32_BIT_CONVERSION = YES; + GCC_WARN_ABOUT_RETURN_TYPE = YES; + GCC_WARN_UNDECLARED_SELECTOR = YES; + GCC_WARN_UNINITIALIZED_AUTOS = YES; + GCC_WARN_UNUSED_FUNCTION = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + IPHONEOS_DEPLOYMENT_TARGET = 8.3; + ONLY_ACTIVE_ARCH = YES; + PROVISIONING_PROFILE_SPECIFIER = NO_SIGNING/; + STRIP_INSTALLED_PRODUCT = NO; + SYMROOT = "${SRCROOT}/../build"; + }; + name = Debug; + }; + CDC4C2A83C9EB22C8560D58AAE60B584 /* Release */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = CF5F3F74AB3897FDF0F50E97A0971B1F /* Pods-RecordButton_Example.release.xcconfig */; + buildSettings = { + "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; + "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; CURRENT_PROJECT_VERSION = 1; + DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; DEFINES_MODULE = YES; DYLIB_COMPATIBILITY_VERSION = 1; DYLIB_CURRENT_VERSION = 1; DYLIB_INSTALL_NAME_BASE = "@rpath"; ENABLE_STRICT_OBJC_MSGSEND = YES; + GCC_NO_COMMON_BLOCKS = YES; INFOPLIST_FILE = "Target Support Files/Pods-RecordButton_Example/Info.plist"; INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; IPHONEOS_DEPLOYMENT_TARGET = 8.3; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; + MACH_O_TYPE = staticlib; MODULEMAP_FILE = "Target Support Files/Pods-RecordButton_Example/Pods-RecordButton_Example.modulemap"; - MTL_ENABLE_DEBUG_INFO = YES; + MTL_ENABLE_DEBUG_INFO = NO; OTHER_LDFLAGS = ""; OTHER_LIBTOOLFLAGS = ""; PODS_ROOT = "$(SRCROOT)"; + PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; PRODUCT_NAME = Pods_RecordButton_Example; SDKROOT = iphoneos; SKIP_INSTALL = YES; - SWIFT_OPTIMIZATION_LEVEL = "-Onone"; TARGETED_DEVICE_FAMILY = "1,2"; VERSIONING_SYSTEM = "apple-generic"; VERSION_INFO_PREFIX = ""; }; - name = Debug; + name = Release; }; - 2AB020413F46A76DA481944ED204687A /* Release */ = { + E44EAD5763EEDFB09DE767ABAA2B6923 /* Debug */ = { isa = XCBuildConfiguration; - baseConfigurationReference = 7E91716A7CCF4408E5EB675B64F3723C /* Pods-RecordButton_Tests.release.xcconfig */; + baseConfigurationReference = 8447E708C234DD6586B25DE9114FB09D /* Pods-RecordButton_Example.debug.xcconfig */; buildSettings = { - "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; + "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; + "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; CURRENT_PROJECT_VERSION = 1; + DEBUG_INFORMATION_FORMAT = dwarf; DEFINES_MODULE = YES; DYLIB_COMPATIBILITY_VERSION = 1; DYLIB_CURRENT_VERSION = 1; DYLIB_INSTALL_NAME_BASE = "@rpath"; ENABLE_STRICT_OBJC_MSGSEND = YES; - INFOPLIST_FILE = "Target Support Files/Pods-RecordButton_Tests/Info.plist"; + GCC_NO_COMMON_BLOCKS = YES; + INFOPLIST_FILE = "Target Support Files/Pods-RecordButton_Example/Info.plist"; INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; IPHONEOS_DEPLOYMENT_TARGET = 8.3; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; - MODULEMAP_FILE = "Target Support Files/Pods-RecordButton_Tests/Pods-RecordButton_Tests.modulemap"; - MTL_ENABLE_DEBUG_INFO = NO; + MACH_O_TYPE = staticlib; + MODULEMAP_FILE = "Target Support Files/Pods-RecordButton_Example/Pods-RecordButton_Example.modulemap"; + MTL_ENABLE_DEBUG_INFO = YES; OTHER_LDFLAGS = ""; OTHER_LIBTOOLFLAGS = ""; PODS_ROOT = "$(SRCROOT)"; - PRODUCT_NAME = Pods_RecordButton_Tests; + PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; + PRODUCT_NAME = Pods_RecordButton_Example; SDKROOT = iphoneos; SKIP_INSTALL = YES; + SWIFT_OPTIMIZATION_LEVEL = "-Onone"; TARGETED_DEVICE_FAMILY = "1,2"; VERSIONING_SYSTEM = "apple-generic"; VERSION_INFO_PREFIX = ""; }; - name = Release; + name = Debug; }; - 40B3004AE55B5879117B57072651E7AA /* Release */ = { + EC570370592DA267AAB3B867E98EF16F /* Release */ = { isa = XCBuildConfiguration; - baseConfigurationReference = CF5F3F74AB3897FDF0F50E97A0971B1F /* Pods-RecordButton_Example.release.xcconfig */; + baseConfigurationReference = 7E91716A7CCF4408E5EB675B64F3723C /* Pods-RecordButton_Tests.release.xcconfig */; buildSettings = { - "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; + "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; + "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; CURRENT_PROJECT_VERSION = 1; + DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; DEFINES_MODULE = YES; DYLIB_COMPATIBILITY_VERSION = 1; DYLIB_CURRENT_VERSION = 1; DYLIB_INSTALL_NAME_BASE = "@rpath"; ENABLE_STRICT_OBJC_MSGSEND = YES; - INFOPLIST_FILE = "Target Support Files/Pods-RecordButton_Example/Info.plist"; + GCC_NO_COMMON_BLOCKS = YES; + INFOPLIST_FILE = "Target Support Files/Pods-RecordButton_Tests/Info.plist"; INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; IPHONEOS_DEPLOYMENT_TARGET = 8.3; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; - MODULEMAP_FILE = "Target Support Files/Pods-RecordButton_Example/Pods-RecordButton_Example.modulemap"; + MACH_O_TYPE = staticlib; + MODULEMAP_FILE = "Target Support Files/Pods-RecordButton_Tests/Pods-RecordButton_Tests.modulemap"; MTL_ENABLE_DEBUG_INFO = NO; OTHER_LDFLAGS = ""; OTHER_LIBTOOLFLAGS = ""; PODS_ROOT = "$(SRCROOT)"; - PRODUCT_NAME = Pods_RecordButton_Example; + PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; + PRODUCT_NAME = Pods_RecordButton_Tests; SDKROOT = iphoneos; SKIP_INSTALL = YES; TARGETED_DEVICE_FAMILY = "1,2"; @@ -602,89 +645,32 @@ }; name = Release; }; - 552D02D5BA751AC2E8790D2811D496CA /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; - CLANG_CXX_LIBRARY = "libc++"; - CLANG_ENABLE_MODULES = YES; - CLANG_ENABLE_OBJC_ARC = YES; - CLANG_WARN_BOOL_CONVERSION = YES; - CLANG_WARN_CONSTANT_CONVERSION = YES; - CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES; - CLANG_WARN_EMPTY_BODY = YES; - CLANG_WARN_ENUM_CONVERSION = YES; - CLANG_WARN_INT_CONVERSION = YES; - CLANG_WARN_OBJC_ROOT_CLASS = YES; - CLANG_WARN_UNREACHABLE_CODE = YES; - CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; - COPY_PHASE_STRIP = NO; - GCC_C_LANGUAGE_STANDARD = gnu99; - GCC_DYNAMIC_NO_PIC = NO; - GCC_OPTIMIZATION_LEVEL = 0; - GCC_PREPROCESSOR_DEFINITIONS = ( - "DEBUG=1", - "$(inherited)", - ); - GCC_SYMBOLS_PRIVATE_EXTERN = NO; - GCC_WARN_64_TO_32_BIT_CONVERSION = YES; - GCC_WARN_ABOUT_RETURN_TYPE = YES; - GCC_WARN_UNDECLARED_SELECTOR = YES; - GCC_WARN_UNINITIALIZED_AUTOS = YES; - GCC_WARN_UNUSED_FUNCTION = YES; - GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 8.3; - ONLY_ACTIVE_ARCH = YES; - STRIP_INSTALLED_PRODUCT = NO; - SYMROOT = "${SRCROOT}/../build"; - }; - name = Debug; - }; - 810042F5F947E3CAD90F1E2E3E4587D4 /* Release */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = 5F6DC1F7ADFAE2701368F6B34F0E96C2 /* RecordButton.xcconfig */; - buildSettings = { - ENABLE_STRICT_OBJC_MSGSEND = YES; - PRODUCT_NAME = RecordButton; - SDKROOT = iphoneos; - SKIP_INSTALL = YES; - WRAPPER_EXTENSION = bundle; - }; - name = Release; - }; - 92721F7A4128E3B5B76953E4D1ADC5FA /* Debug */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = 5F6DC1F7ADFAE2701368F6B34F0E96C2 /* RecordButton.xcconfig */; - buildSettings = { - ENABLE_STRICT_OBJC_MSGSEND = YES; - PRODUCT_NAME = RecordButton; - SDKROOT = iphoneos; - SKIP_INSTALL = YES; - WRAPPER_EXTENSION = bundle; - }; - name = Debug; - }; - A75D459BF8947ABCA2AC1D7BEBB396FB /* Debug */ = { + F0FEAB78EF12AEA721C1A290AEE35541 /* Debug */ = { isa = XCBuildConfiguration; baseConfigurationReference = 70E0AFC576289FE6212138E197088942 /* Pods-RecordButton_Tests.debug.xcconfig */; buildSettings = { - "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; + "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; + "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; CURRENT_PROJECT_VERSION = 1; + DEBUG_INFORMATION_FORMAT = dwarf; DEFINES_MODULE = YES; DYLIB_COMPATIBILITY_VERSION = 1; DYLIB_CURRENT_VERSION = 1; DYLIB_INSTALL_NAME_BASE = "@rpath"; ENABLE_STRICT_OBJC_MSGSEND = YES; + GCC_NO_COMMON_BLOCKS = YES; INFOPLIST_FILE = "Target Support Files/Pods-RecordButton_Tests/Info.plist"; INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; IPHONEOS_DEPLOYMENT_TARGET = 8.3; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; + MACH_O_TYPE = staticlib; MODULEMAP_FILE = "Target Support Files/Pods-RecordButton_Tests/Pods-RecordButton_Tests.modulemap"; MTL_ENABLE_DEBUG_INFO = YES; OTHER_LDFLAGS = ""; OTHER_LIBTOOLFLAGS = ""; PODS_ROOT = "$(SRCROOT)"; + PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; PRODUCT_NAME = Pods_RecordButton_Tests; SDKROOT = iphoneos; SKIP_INSTALL = YES; @@ -695,41 +681,14 @@ }; name = Debug; }; - C9116397041374B5609CC93D98A52072 /* Release */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = 5F6DC1F7ADFAE2701368F6B34F0E96C2 /* RecordButton.xcconfig */; - buildSettings = { - "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; - CURRENT_PROJECT_VERSION = 0.1.0; - DEFINES_MODULE = YES; - DYLIB_COMPATIBILITY_VERSION = 0.1.0; - DYLIB_CURRENT_VERSION = "$(CURRENT_PROJECT_VERSION)"; - DYLIB_INSTALL_NAME_BASE = "@rpath"; - ENABLE_STRICT_OBJC_MSGSEND = YES; - GCC_PREFIX_HEADER = "Target Support Files/RecordButton/RecordButton-prefix.pch"; - INFOPLIST_FILE = "Target Support Files/RecordButton/Info.plist"; - INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; - IPHONEOS_DEPLOYMENT_TARGET = 8.3; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; - MODULEMAP_FILE = "Target Support Files/RecordButton/RecordButton.modulemap"; - MTL_ENABLE_DEBUG_INFO = NO; - PRODUCT_NAME = RecordButton; - SDKROOT = iphoneos; - SKIP_INSTALL = YES; - TARGETED_DEVICE_FAMILY = "1,2"; - VERSIONING_SYSTEM = "apple-generic"; - VERSION_INFO_PREFIX = ""; - }; - name = Release; - }; /* End XCBuildConfiguration section */ /* Begin XCConfigurationList section */ - 26EB1D3EA9601C8D6560C826ED69A084 /* Build configuration list for PBXNativeTarget "RecordButton" */ = { + 19F2CCD00083797AEF9EB27AC769B00F /* Build configuration list for PBXNativeTarget "RecordButton" */ = { isa = XCConfigurationList; buildConfigurations = ( - 06E588824381E91A822B80A317068A64 /* Debug */, - C9116397041374B5609CC93D98A52072 /* Release */, + 6998E2A3376AEAF3FDBFC2E88E55DEC4 /* Debug */, + 4FD84BE59BAF3B7AF0EB7A18C894182F /* Release */, ); defaultConfigurationIsVisible = 0; defaultConfigurationName = Release; @@ -737,35 +696,26 @@ 2D8E8EC45A3A1A1D94AE762CB5028504 /* Build configuration list for PBXProject "Pods" */ = { isa = XCConfigurationList; buildConfigurations = ( - 552D02D5BA751AC2E8790D2811D496CA /* Debug */, - 10DE1947DAC0ED28F6C0A9F9BD75D546 /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - D954B254415972161BFB33A70BC703F5 /* Build configuration list for PBXNativeTarget "Pods-RecordButton_Tests" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - A75D459BF8947ABCA2AC1D7BEBB396FB /* Debug */, - 2AB020413F46A76DA481944ED204687A /* Release */, + 9E1E4E48AF2EAB23169E611BF694090A /* Debug */, + 8DED8AD26D381A6ACFF202E5217EC498 /* Release */, ); defaultConfigurationIsVisible = 0; defaultConfigurationName = Release; }; - DFD21F2EE38E352FE610BBC4D43A133D /* Build configuration list for PBXNativeTarget "Pods-RecordButton_Example" */ = { + AF99C5865161B96084FEDD7F3A0747C9 /* Build configuration list for PBXNativeTarget "Pods-RecordButton_Example" */ = { isa = XCConfigurationList; buildConfigurations = ( - 13981EFF5D990810F156AEFA0F61E30F /* Debug */, - 40B3004AE55B5879117B57072651E7AA /* Release */, + E44EAD5763EEDFB09DE767ABAA2B6923 /* Debug */, + CDC4C2A83C9EB22C8560D58AAE60B584 /* Release */, ); defaultConfigurationIsVisible = 0; defaultConfigurationName = Release; }; - F9E0E7BA5E9F2136FAE1EF648D3D539D /* Build configuration list for PBXNativeTarget "RecordButton-RecordButton" */ = { + CA581913BECA1647F485131D8DFB5132 /* Build configuration list for PBXNativeTarget "Pods-RecordButton_Tests" */ = { isa = XCConfigurationList; buildConfigurations = ( - 92721F7A4128E3B5B76953E4D1ADC5FA /* Debug */, - 810042F5F947E3CAD90F1E2E3E4587D4 /* Release */, + F0FEAB78EF12AEA721C1A290AEE35541 /* Debug */, + EC570370592DA267AAB3B867E98EF16F /* Release */, ); defaultConfigurationIsVisible = 0; defaultConfigurationName = Release; diff --git a/Example/Pods/Pods.xcodeproj/xcshareddata/xcschemes/RecordButton.xcscheme b/Example/Pods/Pods.xcodeproj/xcshareddata/xcschemes/RecordButton.xcscheme deleted file mode 100644 index 4941d5d..0000000 --- a/Example/Pods/Pods.xcodeproj/xcshareddata/xcschemes/RecordButton.xcscheme +++ /dev/null @@ -1,60 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/Example/Pods/Target Support Files/Pods-RecordButton_Example/Info.plist b/Example/Pods/Target Support Files/Pods-RecordButton_Example/Info.plist index 6974542..2243fe6 100644 --- a/Example/Pods/Target Support Files/Pods-RecordButton_Example/Info.plist +++ b/Example/Pods/Target Support Files/Pods-RecordButton_Example/Info.plist @@ -7,7 +7,7 @@ CFBundleExecutable ${EXECUTABLE_NAME} CFBundleIdentifier - org.cocoapods.${PRODUCT_NAME:rfc1034identifier} + ${PRODUCT_BUNDLE_IDENTIFIER} CFBundleInfoDictionaryVersion 6.0 CFBundleName diff --git a/Example/Pods/Target Support Files/Pods-RecordButton_Example/Pods-RecordButton_Example-acknowledgements.markdown b/Example/Pods/Target Support Files/Pods-RecordButton_Example/Pods-RecordButton_Example-acknowledgements.markdown index 7ba58f0..0c22763 100644 --- a/Example/Pods/Target Support Files/Pods-RecordButton_Example/Pods-RecordButton_Example-acknowledgements.markdown +++ b/Example/Pods/Target Support Files/Pods-RecordButton_Example/Pods-RecordButton_Example-acknowledgements.markdown @@ -3,7 +3,7 @@ This application makes use of the following third party libraries: ## RecordButton -Copyright (c) 2015 samuelbeek +The MIT License (MIT) Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal @@ -20,7 +20,7 @@ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. -Generated by CocoaPods - http://cocoapods.org +Generated by CocoaPods - https://cocoapods.org diff --git a/Example/Pods/Target Support Files/Pods-RecordButton_Example/Pods-RecordButton_Example-acknowledgements.plist b/Example/Pods/Target Support Files/Pods-RecordButton_Example/Pods-RecordButton_Example-acknowledgements.plist index f7a6974..76c68c7 100644 --- a/Example/Pods/Target Support Files/Pods-RecordButton_Example/Pods-RecordButton_Example-acknowledgements.plist +++ b/Example/Pods/Target Support Files/Pods-RecordButton_Example/Pods-RecordButton_Example-acknowledgements.plist @@ -14,7 +14,7 @@ FooterText - Copyright (c) 2015 samuelbeek <samuel.beek@gmail.com> + The MIT License (MIT) Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal @@ -31,9 +31,11 @@ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + License + MIT Title RecordButton Type @@ -41,7 +43,7 @@ THE SOFTWARE. FooterText - Generated by CocoaPods - http://cocoapods.org + Generated by CocoaPods - https://cocoapods.org Title Type diff --git a/Example/Pods/Target Support Files/Pods-RecordButton_Example/Pods-RecordButton_Example-frameworks.sh b/Example/Pods/Target Support Files/Pods-RecordButton_Example/Pods-RecordButton_Example-frameworks.sh index d9fa8b7..c7c4fe9 100755 --- a/Example/Pods/Target Support Files/Pods-RecordButton_Example/Pods-RecordButton_Example-frameworks.sh +++ b/Example/Pods/Target Support Files/Pods-RecordButton_Example/Pods-RecordButton_Example-frameworks.sh @@ -16,7 +16,7 @@ install_framework() local source="$1" fi - local destination="${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" + local destination="${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" if [ -L "${source}" ]; then echo "Symlinked..." @@ -42,14 +42,16 @@ install_framework() # Resign the code if required by the build settings to avoid unstable apps code_sign_if_enabled "${destination}/$(basename "$1")" - # Embed linked Swift runtime libraries - local swift_runtime_libs - swift_runtime_libs=$(xcrun otool -LX "$binary" | grep --color=never @rpath/libswift | sed -E s/@rpath\\/\(.+dylib\).*/\\1/g | uniq -u && exit ${PIPESTATUS[0]}) - for lib in $swift_runtime_libs; do - echo "rsync -auv \"${SWIFT_STDLIB_PATH}/${lib}\" \"${destination}\"" - rsync -auv "${SWIFT_STDLIB_PATH}/${lib}" "${destination}" - code_sign_if_enabled "${destination}/${lib}" - done + # Embed linked Swift runtime libraries. No longer necessary as of Xcode 7. + if [ "${XCODE_VERSION_MAJOR}" -lt 7 ]; then + local swift_runtime_libs + swift_runtime_libs=$(xcrun otool -LX "$binary" | grep --color=never @rpath/libswift | sed -E s/@rpath\\/\(.+dylib\).*/\\1/g | uniq -u && exit ${PIPESTATUS[0]}) + for lib in $swift_runtime_libs; do + echo "rsync -auv \"${SWIFT_STDLIB_PATH}/${lib}\" \"${destination}\"" + rsync -auv "${SWIFT_STDLIB_PATH}/${lib}" "${destination}" + code_sign_if_enabled "${destination}/${lib}" + done + fi } # Signs a framework with the provided identity @@ -57,8 +59,8 @@ code_sign_if_enabled() { if [ -n "${EXPANDED_CODE_SIGN_IDENTITY}" -a "${CODE_SIGNING_REQUIRED}" != "NO" -a "${CODE_SIGNING_ALLOWED}" != "NO" ]; then # Use the current code_sign_identitiy echo "Code Signing $1 with Identity ${EXPANDED_CODE_SIGN_IDENTITY_NAME}" - echo "/usr/bin/codesign --force --sign ${EXPANDED_CODE_SIGN_IDENTITY} --preserve-metadata=identifier,entitlements \"$1\"" - /usr/bin/codesign --force --sign ${EXPANDED_CODE_SIGN_IDENTITY} --preserve-metadata=identifier,entitlements "$1" + echo "/usr/bin/codesign --force --sign ${EXPANDED_CODE_SIGN_IDENTITY} ${OTHER_CODE_SIGN_FLAGS} --preserve-metadata=identifier,entitlements \"$1\"" + /usr/bin/codesign --force --sign ${EXPANDED_CODE_SIGN_IDENTITY} ${OTHER_CODE_SIGN_FLAGS} --preserve-metadata=identifier,entitlements "$1" fi } @@ -82,8 +84,8 @@ strip_invalid_archs() { if [[ "$CONFIGURATION" == "Debug" ]]; then - install_framework "Pods-RecordButton_Example/RecordButton.framework" + install_framework "$BUILT_PRODUCTS_DIR/RecordButton/RecordButton.framework" fi if [[ "$CONFIGURATION" == "Release" ]]; then - install_framework "Pods-RecordButton_Example/RecordButton.framework" + install_framework "$BUILT_PRODUCTS_DIR/RecordButton/RecordButton.framework" fi diff --git a/Example/Pods/Target Support Files/Pods-RecordButton_Example/Pods-RecordButton_Example-resources.sh b/Example/Pods/Target Support Files/Pods-RecordButton_Example/Pods-RecordButton_Example-resources.sh index 16774fb..25e9d37 100755 --- a/Example/Pods/Target Support Files/Pods-RecordButton_Example/Pods-RecordButton_Example-resources.sh +++ b/Example/Pods/Target Support Files/Pods-RecordButton_Example/Pods-RecordButton_Example-resources.sh @@ -1,65 +1,81 @@ #!/bin/sh set -e -mkdir -p "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" +mkdir -p "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" RESOURCES_TO_COPY=${PODS_ROOT}/resources-to-copy-${TARGETNAME}.txt > "$RESOURCES_TO_COPY" XCASSET_FILES=() -realpath() { - DIRECTORY="$(cd "${1%/*}" && pwd)" - FILENAME="${1##*/}" - echo "$DIRECTORY/$FILENAME" -} +case "${TARGETED_DEVICE_FAMILY}" in + 1,2) + TARGET_DEVICE_ARGS="--target-device ipad --target-device iphone" + ;; + 1) + TARGET_DEVICE_ARGS="--target-device iphone" + ;; + 2) + TARGET_DEVICE_ARGS="--target-device ipad" + ;; + *) + TARGET_DEVICE_ARGS="--target-device mac" + ;; +esac install_resource() { - case $1 in + if [[ "$1" = /* ]] ; then + RESOURCE_PATH="$1" + else + RESOURCE_PATH="${PODS_ROOT}/$1" + fi + if [[ ! -e "$RESOURCE_PATH" ]] ; then + cat << EOM +error: Resource "$RESOURCE_PATH" not found. Run 'pod install' to update the copy resources script. +EOM + exit 1 + fi + case $RESOURCE_PATH in *.storyboard) - echo "ibtool --reference-external-strings-file --errors --warnings --notices --output-format human-readable-text --compile ${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$1\" .storyboard`.storyboardc ${PODS_ROOT}/$1 --sdk ${SDKROOT}" - ibtool --reference-external-strings-file --errors --warnings --notices --output-format human-readable-text --compile "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$1\" .storyboard`.storyboardc" "${PODS_ROOT}/$1" --sdk "${SDKROOT}" + echo "ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile ${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .storyboard`.storyboardc $RESOURCE_PATH --sdk ${SDKROOT} ${TARGET_DEVICE_ARGS}" + ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .storyboard`.storyboardc" "$RESOURCE_PATH" --sdk "${SDKROOT}" ${TARGET_DEVICE_ARGS} ;; *.xib) - echo "ibtool --reference-external-strings-file --errors --warnings --notices --output-format human-readable-text --compile ${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$1\" .xib`.nib ${PODS_ROOT}/$1 --sdk ${SDKROOT}" - ibtool --reference-external-strings-file --errors --warnings --notices --output-format human-readable-text --compile "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$1\" .xib`.nib" "${PODS_ROOT}/$1" --sdk "${SDKROOT}" + echo "ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile ${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .xib`.nib $RESOURCE_PATH --sdk ${SDKROOT} ${TARGET_DEVICE_ARGS}" + ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .xib`.nib" "$RESOURCE_PATH" --sdk "${SDKROOT}" ${TARGET_DEVICE_ARGS} ;; *.framework) - echo "mkdir -p ${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" - mkdir -p "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" - echo "rsync -av ${PODS_ROOT}/$1 ${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" - rsync -av "${PODS_ROOT}/$1" "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" + echo "mkdir -p ${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" + mkdir -p "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" + echo "rsync -av $RESOURCE_PATH ${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" + rsync -av "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" ;; *.xcdatamodel) - echo "xcrun momc \"${PODS_ROOT}/$1\" \"${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$1"`.mom\"" - xcrun momc "${PODS_ROOT}/$1" "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$1" .xcdatamodel`.mom" + echo "xcrun momc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH"`.mom\"" + xcrun momc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodel`.mom" ;; *.xcdatamodeld) - echo "xcrun momc \"${PODS_ROOT}/$1\" \"${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$1" .xcdatamodeld`.momd\"" - xcrun momc "${PODS_ROOT}/$1" "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$1" .xcdatamodeld`.momd" + echo "xcrun momc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodeld`.momd\"" + xcrun momc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodeld`.momd" ;; *.xcmappingmodel) - echo "xcrun mapc \"${PODS_ROOT}/$1\" \"${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$1" .xcmappingmodel`.cdm\"" - xcrun mapc "${PODS_ROOT}/$1" "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$1" .xcmappingmodel`.cdm" + echo "xcrun mapc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcmappingmodel`.cdm\"" + xcrun mapc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcmappingmodel`.cdm" ;; *.xcassets) - ABSOLUTE_XCASSET_FILE=$(realpath "${PODS_ROOT}/$1") + ABSOLUTE_XCASSET_FILE="$RESOURCE_PATH" XCASSET_FILES+=("$ABSOLUTE_XCASSET_FILE") ;; - /*) - echo "$1" - echo "$1" >> "$RESOURCES_TO_COPY" - ;; *) - echo "${PODS_ROOT}/$1" - echo "${PODS_ROOT}/$1" >> "$RESOURCES_TO_COPY" + echo "$RESOURCE_PATH" + echo "$RESOURCE_PATH" >> "$RESOURCES_TO_COPY" ;; esac } -mkdir -p "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" -rsync -avr --copy-links --no-relative --exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" +mkdir -p "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" +rsync -avr --copy-links --no-relative --exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" if [[ "${ACTION}" == "install" ]] && [[ "${SKIP_INSTALL}" == "NO" ]]; then mkdir -p "${INSTALL_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" rsync -avr --copy-links --no-relative --exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${INSTALL_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" @@ -68,28 +84,13 @@ rm -f "$RESOURCES_TO_COPY" if [[ -n "${WRAPPER_EXTENSION}" ]] && [ "`xcrun --find actool`" ] && [ -n "$XCASSET_FILES" ] then - case "${TARGETED_DEVICE_FAMILY}" in - 1,2) - TARGET_DEVICE_ARGS="--target-device ipad --target-device iphone" - ;; - 1) - TARGET_DEVICE_ARGS="--target-device iphone" - ;; - 2) - TARGET_DEVICE_ARGS="--target-device ipad" - ;; - *) - TARGET_DEVICE_ARGS="--target-device mac" - ;; - esac - # Find all other xcassets (this unfortunately includes those of path pods and other targets). OTHER_XCASSETS=$(find "$PWD" -iname "*.xcassets" -type d) while read line; do - if [[ $line != "`realpath $PODS_ROOT`*" ]]; then + if [[ $line != "${PODS_ROOT}*" ]]; then XCASSET_FILES+=("$line") fi done <<<"$OTHER_XCASSETS" - printf "%s\0" "${XCASSET_FILES[@]}" | xargs -0 xcrun actool --output-format human-readable-text --notices --warnings --platform "${PLATFORM_NAME}" --minimum-deployment-target "${IPHONEOS_DEPLOYMENT_TARGET}" ${TARGET_DEVICE_ARGS} --compress-pngs --compile "${BUILT_PRODUCTS_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" + printf "%s\0" "${XCASSET_FILES[@]}" | xargs -0 xcrun actool --output-format human-readable-text --notices --warnings --platform "${PLATFORM_NAME}" --minimum-deployment-target "${!DEPLOYMENT_TARGET_SETTING_NAME}" ${TARGET_DEVICE_ARGS} --compress-pngs --compile "${BUILT_PRODUCTS_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" fi diff --git a/Example/Pods/Target Support Files/Pods-RecordButton_Example/Pods-RecordButton_Example-umbrella.h b/Example/Pods/Target Support Files/Pods-RecordButton_Example/Pods-RecordButton_Example-umbrella.h index f349370..97c490d 100644 --- a/Example/Pods/Target Support Files/Pods-RecordButton_Example/Pods-RecordButton_Example-umbrella.h +++ b/Example/Pods/Target Support Files/Pods-RecordButton_Example/Pods-RecordButton_Example-umbrella.h @@ -1,4 +1,6 @@ +#ifdef __OBJC__ #import +#endif FOUNDATION_EXPORT double Pods_RecordButton_ExampleVersionNumber; diff --git a/Example/Pods/Target Support Files/Pods-RecordButton_Example/Pods-RecordButton_Example.debug.xcconfig b/Example/Pods/Target Support Files/Pods-RecordButton_Example/Pods-RecordButton_Example.debug.xcconfig index 48a9b98..0b659c5 100644 --- a/Example/Pods/Target Support Files/Pods-RecordButton_Example/Pods-RecordButton_Example.debug.xcconfig +++ b/Example/Pods/Target Support Files/Pods-RecordButton_Example/Pods-RecordButton_Example.debug.xcconfig @@ -1,7 +1,11 @@ +ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES +EMBEDDED_CONTENT_CONTAINS_SWIFT = YES +FRAMEWORK_SEARCH_PATHS = $(inherited) "$PODS_CONFIGURATION_BUILD_DIR/RecordButton" GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks' -OTHER_CFLAGS = $(inherited) -iquote "$CONFIGURATION_BUILD_DIR/RecordButton.framework/Headers" +OTHER_CFLAGS = $(inherited) -iquote "$PODS_CONFIGURATION_BUILD_DIR/RecordButton/RecordButton.framework/Headers" OTHER_LDFLAGS = $(inherited) -framework "RecordButton" OTHER_SWIFT_FLAGS = $(inherited) "-D" "COCOAPODS" -PODS_FRAMEWORK_BUILD_PATH = $(BUILD_DIR)/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)/Pods-RecordButton_Example -PODS_ROOT = ${SRCROOT}/Pods \ No newline at end of file +PODS_BUILD_DIR = $BUILD_DIR +PODS_CONFIGURATION_BUILD_DIR = $PODS_BUILD_DIR/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) +PODS_ROOT = ${SRCROOT}/Pods diff --git a/Example/Pods/Target Support Files/Pods-RecordButton_Example/Pods-RecordButton_Example.release.xcconfig b/Example/Pods/Target Support Files/Pods-RecordButton_Example/Pods-RecordButton_Example.release.xcconfig index 48a9b98..0b659c5 100644 --- a/Example/Pods/Target Support Files/Pods-RecordButton_Example/Pods-RecordButton_Example.release.xcconfig +++ b/Example/Pods/Target Support Files/Pods-RecordButton_Example/Pods-RecordButton_Example.release.xcconfig @@ -1,7 +1,11 @@ +ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES +EMBEDDED_CONTENT_CONTAINS_SWIFT = YES +FRAMEWORK_SEARCH_PATHS = $(inherited) "$PODS_CONFIGURATION_BUILD_DIR/RecordButton" GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks' -OTHER_CFLAGS = $(inherited) -iquote "$CONFIGURATION_BUILD_DIR/RecordButton.framework/Headers" +OTHER_CFLAGS = $(inherited) -iquote "$PODS_CONFIGURATION_BUILD_DIR/RecordButton/RecordButton.framework/Headers" OTHER_LDFLAGS = $(inherited) -framework "RecordButton" OTHER_SWIFT_FLAGS = $(inherited) "-D" "COCOAPODS" -PODS_FRAMEWORK_BUILD_PATH = $(BUILD_DIR)/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)/Pods-RecordButton_Example -PODS_ROOT = ${SRCROOT}/Pods \ No newline at end of file +PODS_BUILD_DIR = $BUILD_DIR +PODS_CONFIGURATION_BUILD_DIR = $PODS_BUILD_DIR/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) +PODS_ROOT = ${SRCROOT}/Pods diff --git a/Example/Pods/Target Support Files/Pods-RecordButton_Tests/Info.plist b/Example/Pods/Target Support Files/Pods-RecordButton_Tests/Info.plist index 6974542..2243fe6 100644 --- a/Example/Pods/Target Support Files/Pods-RecordButton_Tests/Info.plist +++ b/Example/Pods/Target Support Files/Pods-RecordButton_Tests/Info.plist @@ -7,7 +7,7 @@ CFBundleExecutable ${EXECUTABLE_NAME} CFBundleIdentifier - org.cocoapods.${PRODUCT_NAME:rfc1034identifier} + ${PRODUCT_BUNDLE_IDENTIFIER} CFBundleInfoDictionaryVersion 6.0 CFBundleName diff --git a/Example/Pods/Target Support Files/Pods-RecordButton_Tests/Pods-RecordButton_Tests-acknowledgements.markdown b/Example/Pods/Target Support Files/Pods-RecordButton_Tests/Pods-RecordButton_Tests-acknowledgements.markdown index 7ba58f0..0c22763 100644 --- a/Example/Pods/Target Support Files/Pods-RecordButton_Tests/Pods-RecordButton_Tests-acknowledgements.markdown +++ b/Example/Pods/Target Support Files/Pods-RecordButton_Tests/Pods-RecordButton_Tests-acknowledgements.markdown @@ -3,7 +3,7 @@ This application makes use of the following third party libraries: ## RecordButton -Copyright (c) 2015 samuelbeek +The MIT License (MIT) Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal @@ -20,7 +20,7 @@ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. -Generated by CocoaPods - http://cocoapods.org +Generated by CocoaPods - https://cocoapods.org diff --git a/Example/Pods/Target Support Files/Pods-RecordButton_Tests/Pods-RecordButton_Tests-acknowledgements.plist b/Example/Pods/Target Support Files/Pods-RecordButton_Tests/Pods-RecordButton_Tests-acknowledgements.plist index f7a6974..76c68c7 100644 --- a/Example/Pods/Target Support Files/Pods-RecordButton_Tests/Pods-RecordButton_Tests-acknowledgements.plist +++ b/Example/Pods/Target Support Files/Pods-RecordButton_Tests/Pods-RecordButton_Tests-acknowledgements.plist @@ -14,7 +14,7 @@ FooterText - Copyright (c) 2015 samuelbeek <samuel.beek@gmail.com> + The MIT License (MIT) Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal @@ -31,9 +31,11 @@ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + License + MIT Title RecordButton Type @@ -41,7 +43,7 @@ THE SOFTWARE. FooterText - Generated by CocoaPods - http://cocoapods.org + Generated by CocoaPods - https://cocoapods.org Title Type diff --git a/Example/Pods/Target Support Files/Pods-RecordButton_Tests/Pods-RecordButton_Tests-frameworks.sh b/Example/Pods/Target Support Files/Pods-RecordButton_Tests/Pods-RecordButton_Tests-frameworks.sh index fccc526..c7c4fe9 100755 --- a/Example/Pods/Target Support Files/Pods-RecordButton_Tests/Pods-RecordButton_Tests-frameworks.sh +++ b/Example/Pods/Target Support Files/Pods-RecordButton_Tests/Pods-RecordButton_Tests-frameworks.sh @@ -16,7 +16,7 @@ install_framework() local source="$1" fi - local destination="${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" + local destination="${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" if [ -L "${source}" ]; then echo "Symlinked..." @@ -42,14 +42,16 @@ install_framework() # Resign the code if required by the build settings to avoid unstable apps code_sign_if_enabled "${destination}/$(basename "$1")" - # Embed linked Swift runtime libraries - local swift_runtime_libs - swift_runtime_libs=$(xcrun otool -LX "$binary" | grep --color=never @rpath/libswift | sed -E s/@rpath\\/\(.+dylib\).*/\\1/g | uniq -u && exit ${PIPESTATUS[0]}) - for lib in $swift_runtime_libs; do - echo "rsync -auv \"${SWIFT_STDLIB_PATH}/${lib}\" \"${destination}\"" - rsync -auv "${SWIFT_STDLIB_PATH}/${lib}" "${destination}" - code_sign_if_enabled "${destination}/${lib}" - done + # Embed linked Swift runtime libraries. No longer necessary as of Xcode 7. + if [ "${XCODE_VERSION_MAJOR}" -lt 7 ]; then + local swift_runtime_libs + swift_runtime_libs=$(xcrun otool -LX "$binary" | grep --color=never @rpath/libswift | sed -E s/@rpath\\/\(.+dylib\).*/\\1/g | uniq -u && exit ${PIPESTATUS[0]}) + for lib in $swift_runtime_libs; do + echo "rsync -auv \"${SWIFT_STDLIB_PATH}/${lib}\" \"${destination}\"" + rsync -auv "${SWIFT_STDLIB_PATH}/${lib}" "${destination}" + code_sign_if_enabled "${destination}/${lib}" + done + fi } # Signs a framework with the provided identity @@ -57,8 +59,8 @@ code_sign_if_enabled() { if [ -n "${EXPANDED_CODE_SIGN_IDENTITY}" -a "${CODE_SIGNING_REQUIRED}" != "NO" -a "${CODE_SIGNING_ALLOWED}" != "NO" ]; then # Use the current code_sign_identitiy echo "Code Signing $1 with Identity ${EXPANDED_CODE_SIGN_IDENTITY_NAME}" - echo "/usr/bin/codesign --force --sign ${EXPANDED_CODE_SIGN_IDENTITY} --preserve-metadata=identifier,entitlements \"$1\"" - /usr/bin/codesign --force --sign ${EXPANDED_CODE_SIGN_IDENTITY} --preserve-metadata=identifier,entitlements "$1" + echo "/usr/bin/codesign --force --sign ${EXPANDED_CODE_SIGN_IDENTITY} ${OTHER_CODE_SIGN_FLAGS} --preserve-metadata=identifier,entitlements \"$1\"" + /usr/bin/codesign --force --sign ${EXPANDED_CODE_SIGN_IDENTITY} ${OTHER_CODE_SIGN_FLAGS} --preserve-metadata=identifier,entitlements "$1" fi } @@ -82,8 +84,8 @@ strip_invalid_archs() { if [[ "$CONFIGURATION" == "Debug" ]]; then - install_framework "Pods-RecordButton_Tests/RecordButton.framework" + install_framework "$BUILT_PRODUCTS_DIR/RecordButton/RecordButton.framework" fi if [[ "$CONFIGURATION" == "Release" ]]; then - install_framework "Pods-RecordButton_Tests/RecordButton.framework" + install_framework "$BUILT_PRODUCTS_DIR/RecordButton/RecordButton.framework" fi diff --git a/Example/Pods/Target Support Files/Pods-RecordButton_Tests/Pods-RecordButton_Tests-resources.sh b/Example/Pods/Target Support Files/Pods-RecordButton_Tests/Pods-RecordButton_Tests-resources.sh index 16774fb..25e9d37 100755 --- a/Example/Pods/Target Support Files/Pods-RecordButton_Tests/Pods-RecordButton_Tests-resources.sh +++ b/Example/Pods/Target Support Files/Pods-RecordButton_Tests/Pods-RecordButton_Tests-resources.sh @@ -1,65 +1,81 @@ #!/bin/sh set -e -mkdir -p "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" +mkdir -p "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" RESOURCES_TO_COPY=${PODS_ROOT}/resources-to-copy-${TARGETNAME}.txt > "$RESOURCES_TO_COPY" XCASSET_FILES=() -realpath() { - DIRECTORY="$(cd "${1%/*}" && pwd)" - FILENAME="${1##*/}" - echo "$DIRECTORY/$FILENAME" -} +case "${TARGETED_DEVICE_FAMILY}" in + 1,2) + TARGET_DEVICE_ARGS="--target-device ipad --target-device iphone" + ;; + 1) + TARGET_DEVICE_ARGS="--target-device iphone" + ;; + 2) + TARGET_DEVICE_ARGS="--target-device ipad" + ;; + *) + TARGET_DEVICE_ARGS="--target-device mac" + ;; +esac install_resource() { - case $1 in + if [[ "$1" = /* ]] ; then + RESOURCE_PATH="$1" + else + RESOURCE_PATH="${PODS_ROOT}/$1" + fi + if [[ ! -e "$RESOURCE_PATH" ]] ; then + cat << EOM +error: Resource "$RESOURCE_PATH" not found. Run 'pod install' to update the copy resources script. +EOM + exit 1 + fi + case $RESOURCE_PATH in *.storyboard) - echo "ibtool --reference-external-strings-file --errors --warnings --notices --output-format human-readable-text --compile ${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$1\" .storyboard`.storyboardc ${PODS_ROOT}/$1 --sdk ${SDKROOT}" - ibtool --reference-external-strings-file --errors --warnings --notices --output-format human-readable-text --compile "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$1\" .storyboard`.storyboardc" "${PODS_ROOT}/$1" --sdk "${SDKROOT}" + echo "ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile ${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .storyboard`.storyboardc $RESOURCE_PATH --sdk ${SDKROOT} ${TARGET_DEVICE_ARGS}" + ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .storyboard`.storyboardc" "$RESOURCE_PATH" --sdk "${SDKROOT}" ${TARGET_DEVICE_ARGS} ;; *.xib) - echo "ibtool --reference-external-strings-file --errors --warnings --notices --output-format human-readable-text --compile ${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$1\" .xib`.nib ${PODS_ROOT}/$1 --sdk ${SDKROOT}" - ibtool --reference-external-strings-file --errors --warnings --notices --output-format human-readable-text --compile "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$1\" .xib`.nib" "${PODS_ROOT}/$1" --sdk "${SDKROOT}" + echo "ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile ${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .xib`.nib $RESOURCE_PATH --sdk ${SDKROOT} ${TARGET_DEVICE_ARGS}" + ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .xib`.nib" "$RESOURCE_PATH" --sdk "${SDKROOT}" ${TARGET_DEVICE_ARGS} ;; *.framework) - echo "mkdir -p ${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" - mkdir -p "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" - echo "rsync -av ${PODS_ROOT}/$1 ${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" - rsync -av "${PODS_ROOT}/$1" "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" + echo "mkdir -p ${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" + mkdir -p "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" + echo "rsync -av $RESOURCE_PATH ${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" + rsync -av "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" ;; *.xcdatamodel) - echo "xcrun momc \"${PODS_ROOT}/$1\" \"${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$1"`.mom\"" - xcrun momc "${PODS_ROOT}/$1" "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$1" .xcdatamodel`.mom" + echo "xcrun momc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH"`.mom\"" + xcrun momc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodel`.mom" ;; *.xcdatamodeld) - echo "xcrun momc \"${PODS_ROOT}/$1\" \"${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$1" .xcdatamodeld`.momd\"" - xcrun momc "${PODS_ROOT}/$1" "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$1" .xcdatamodeld`.momd" + echo "xcrun momc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodeld`.momd\"" + xcrun momc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodeld`.momd" ;; *.xcmappingmodel) - echo "xcrun mapc \"${PODS_ROOT}/$1\" \"${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$1" .xcmappingmodel`.cdm\"" - xcrun mapc "${PODS_ROOT}/$1" "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$1" .xcmappingmodel`.cdm" + echo "xcrun mapc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcmappingmodel`.cdm\"" + xcrun mapc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcmappingmodel`.cdm" ;; *.xcassets) - ABSOLUTE_XCASSET_FILE=$(realpath "${PODS_ROOT}/$1") + ABSOLUTE_XCASSET_FILE="$RESOURCE_PATH" XCASSET_FILES+=("$ABSOLUTE_XCASSET_FILE") ;; - /*) - echo "$1" - echo "$1" >> "$RESOURCES_TO_COPY" - ;; *) - echo "${PODS_ROOT}/$1" - echo "${PODS_ROOT}/$1" >> "$RESOURCES_TO_COPY" + echo "$RESOURCE_PATH" + echo "$RESOURCE_PATH" >> "$RESOURCES_TO_COPY" ;; esac } -mkdir -p "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" -rsync -avr --copy-links --no-relative --exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" +mkdir -p "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" +rsync -avr --copy-links --no-relative --exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" if [[ "${ACTION}" == "install" ]] && [[ "${SKIP_INSTALL}" == "NO" ]]; then mkdir -p "${INSTALL_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" rsync -avr --copy-links --no-relative --exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${INSTALL_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" @@ -68,28 +84,13 @@ rm -f "$RESOURCES_TO_COPY" if [[ -n "${WRAPPER_EXTENSION}" ]] && [ "`xcrun --find actool`" ] && [ -n "$XCASSET_FILES" ] then - case "${TARGETED_DEVICE_FAMILY}" in - 1,2) - TARGET_DEVICE_ARGS="--target-device ipad --target-device iphone" - ;; - 1) - TARGET_DEVICE_ARGS="--target-device iphone" - ;; - 2) - TARGET_DEVICE_ARGS="--target-device ipad" - ;; - *) - TARGET_DEVICE_ARGS="--target-device mac" - ;; - esac - # Find all other xcassets (this unfortunately includes those of path pods and other targets). OTHER_XCASSETS=$(find "$PWD" -iname "*.xcassets" -type d) while read line; do - if [[ $line != "`realpath $PODS_ROOT`*" ]]; then + if [[ $line != "${PODS_ROOT}*" ]]; then XCASSET_FILES+=("$line") fi done <<<"$OTHER_XCASSETS" - printf "%s\0" "${XCASSET_FILES[@]}" | xargs -0 xcrun actool --output-format human-readable-text --notices --warnings --platform "${PLATFORM_NAME}" --minimum-deployment-target "${IPHONEOS_DEPLOYMENT_TARGET}" ${TARGET_DEVICE_ARGS} --compress-pngs --compile "${BUILT_PRODUCTS_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" + printf "%s\0" "${XCASSET_FILES[@]}" | xargs -0 xcrun actool --output-format human-readable-text --notices --warnings --platform "${PLATFORM_NAME}" --minimum-deployment-target "${!DEPLOYMENT_TARGET_SETTING_NAME}" ${TARGET_DEVICE_ARGS} --compress-pngs --compile "${BUILT_PRODUCTS_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" fi diff --git a/Example/Pods/Target Support Files/Pods-RecordButton_Tests/Pods-RecordButton_Tests-umbrella.h b/Example/Pods/Target Support Files/Pods-RecordButton_Tests/Pods-RecordButton_Tests-umbrella.h index 385d1d5..9adb04e 100644 --- a/Example/Pods/Target Support Files/Pods-RecordButton_Tests/Pods-RecordButton_Tests-umbrella.h +++ b/Example/Pods/Target Support Files/Pods-RecordButton_Tests/Pods-RecordButton_Tests-umbrella.h @@ -1,4 +1,6 @@ +#ifdef __OBJC__ #import +#endif FOUNDATION_EXPORT double Pods_RecordButton_TestsVersionNumber; diff --git a/Example/Pods/Target Support Files/Pods-RecordButton_Tests/Pods-RecordButton_Tests.debug.xcconfig b/Example/Pods/Target Support Files/Pods-RecordButton_Tests/Pods-RecordButton_Tests.debug.xcconfig index b4ed446..0b659c5 100644 --- a/Example/Pods/Target Support Files/Pods-RecordButton_Tests/Pods-RecordButton_Tests.debug.xcconfig +++ b/Example/Pods/Target Support Files/Pods-RecordButton_Tests/Pods-RecordButton_Tests.debug.xcconfig @@ -1,7 +1,11 @@ +ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES +EMBEDDED_CONTENT_CONTAINS_SWIFT = YES +FRAMEWORK_SEARCH_PATHS = $(inherited) "$PODS_CONFIGURATION_BUILD_DIR/RecordButton" GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks' -OTHER_CFLAGS = $(inherited) -iquote "$CONFIGURATION_BUILD_DIR/RecordButton.framework/Headers" +OTHER_CFLAGS = $(inherited) -iquote "$PODS_CONFIGURATION_BUILD_DIR/RecordButton/RecordButton.framework/Headers" OTHER_LDFLAGS = $(inherited) -framework "RecordButton" OTHER_SWIFT_FLAGS = $(inherited) "-D" "COCOAPODS" -PODS_FRAMEWORK_BUILD_PATH = $(BUILD_DIR)/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)/Pods-RecordButton_Tests -PODS_ROOT = ${SRCROOT}/Pods \ No newline at end of file +PODS_BUILD_DIR = $BUILD_DIR +PODS_CONFIGURATION_BUILD_DIR = $PODS_BUILD_DIR/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) +PODS_ROOT = ${SRCROOT}/Pods diff --git a/Example/Pods/Target Support Files/Pods-RecordButton_Tests/Pods-RecordButton_Tests.release.xcconfig b/Example/Pods/Target Support Files/Pods-RecordButton_Tests/Pods-RecordButton_Tests.release.xcconfig index b4ed446..0b659c5 100644 --- a/Example/Pods/Target Support Files/Pods-RecordButton_Tests/Pods-RecordButton_Tests.release.xcconfig +++ b/Example/Pods/Target Support Files/Pods-RecordButton_Tests/Pods-RecordButton_Tests.release.xcconfig @@ -1,7 +1,11 @@ +ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES +EMBEDDED_CONTENT_CONTAINS_SWIFT = YES +FRAMEWORK_SEARCH_PATHS = $(inherited) "$PODS_CONFIGURATION_BUILD_DIR/RecordButton" GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks' -OTHER_CFLAGS = $(inherited) -iquote "$CONFIGURATION_BUILD_DIR/RecordButton.framework/Headers" +OTHER_CFLAGS = $(inherited) -iquote "$PODS_CONFIGURATION_BUILD_DIR/RecordButton/RecordButton.framework/Headers" OTHER_LDFLAGS = $(inherited) -framework "RecordButton" OTHER_SWIFT_FLAGS = $(inherited) "-D" "COCOAPODS" -PODS_FRAMEWORK_BUILD_PATH = $(BUILD_DIR)/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)/Pods-RecordButton_Tests -PODS_ROOT = ${SRCROOT}/Pods \ No newline at end of file +PODS_BUILD_DIR = $BUILD_DIR +PODS_CONFIGURATION_BUILD_DIR = $PODS_BUILD_DIR/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) +PODS_ROOT = ${SRCROOT}/Pods diff --git a/Example/Pods/Target Support Files/RecordButton/Info.plist b/Example/Pods/Target Support Files/RecordButton/Info.plist index 4ba5fa2..2243fe6 100644 --- a/Example/Pods/Target Support Files/RecordButton/Info.plist +++ b/Example/Pods/Target Support Files/RecordButton/Info.plist @@ -7,7 +7,7 @@ CFBundleExecutable ${EXECUTABLE_NAME} CFBundleIdentifier - org.cocoapods.${PRODUCT_NAME:rfc1034identifier} + ${PRODUCT_BUNDLE_IDENTIFIER} CFBundleInfoDictionaryVersion 6.0 CFBundleName @@ -15,7 +15,7 @@ CFBundlePackageType FMWK CFBundleShortVersionString - 0.1.0 + 1.0.0 CFBundleSignature ???? CFBundleVersion diff --git a/Example/Pods/Target Support Files/RecordButton/RecordButton-umbrella.h b/Example/Pods/Target Support Files/RecordButton/RecordButton-umbrella.h index 43d750c..6a8f502 100644 --- a/Example/Pods/Target Support Files/RecordButton/RecordButton-umbrella.h +++ b/Example/Pods/Target Support Files/RecordButton/RecordButton-umbrella.h @@ -1,4 +1,6 @@ +#ifdef __OBJC__ #import +#endif FOUNDATION_EXPORT double RecordButtonVersionNumber; diff --git a/Example/Pods/Target Support Files/RecordButton/RecordButton.xcconfig b/Example/Pods/Target Support Files/RecordButton/RecordButton.xcconfig index 03d4f0c..91d05d7 100644 --- a/Example/Pods/Target Support Files/RecordButton/RecordButton.xcconfig +++ b/Example/Pods/Target Support Files/RecordButton/RecordButton.xcconfig @@ -1,5 +1,10 @@ +CONFIGURATION_BUILD_DIR = $PODS_CONFIGURATION_BUILD_DIR/RecordButton GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 -HEADER_SEARCH_PATHS = "${PODS_ROOT}/Headers/Private" "${PODS_ROOT}/Headers/Private/RecordButton" "${PODS_ROOT}/Headers/Public" +HEADER_SEARCH_PATHS = "${PODS_ROOT}/Headers/Private" "${PODS_ROOT}/Headers/Public" +OTHER_LDFLAGS = -framework "UIKit" OTHER_SWIFT_FLAGS = $(inherited) "-D" "COCOAPODS" +PODS_BUILD_DIR = $BUILD_DIR +PODS_CONFIGURATION_BUILD_DIR = $PODS_BUILD_DIR/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) PODS_ROOT = ${SRCROOT} -SKIP_INSTALL = YES \ No newline at end of file +PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier} +SKIP_INSTALL = YES diff --git a/Example/RecordButton.xcodeproj/project.pbxproj b/Example/RecordButton.xcodeproj/project.pbxproj index 520ee75..eb8351c 100644 --- a/Example/RecordButton.xcodeproj/project.pbxproj +++ b/Example/RecordButton.xcodeproj/project.pbxproj @@ -13,8 +13,8 @@ 607FACDD1AFB9204008FA782 /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 607FACDC1AFB9204008FA782 /* Images.xcassets */; }; 607FACE01AFB9204008FA782 /* LaunchScreen.xib in Resources */ = {isa = PBXBuildFile; fileRef = 607FACDE1AFB9204008FA782 /* LaunchScreen.xib */; }; 607FACEC1AFB9204008FA782 /* Tests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 607FACEB1AFB9204008FA782 /* Tests.swift */; }; - 6D804A6A14792C56A75604E8 /* Pods_RecordButton_Tests.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 38D655252C8048E66B172E20 /* Pods_RecordButton_Tests.framework */; settings = {ATTRIBUTES = (Weak, ); }; }; - BA65E4EBA2BA0594AAEE4F23 /* Pods_RecordButton_Example.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = AFEB0744D8BBCCA32F093B84 /* Pods_RecordButton_Example.framework */; settings = {ATTRIBUTES = (Weak, ); }; }; + 7FFC0CF93C218848ACF7768B /* Pods_RecordButton_Example.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 37808336B603279C30E22266 /* Pods_RecordButton_Example.framework */; }; + 933A9A04E307503CC62529E0 /* Pods_RecordButton_Tests.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = F97F0BE70423A901AA958C52 /* Pods_RecordButton_Tests.framework */; }; /* End PBXBuildFile section */ /* Begin PBXContainerItemProxy section */ @@ -28,10 +28,10 @@ /* End PBXContainerItemProxy section */ /* Begin PBXFileReference section */ + 0A726179660D928B172A014E /* Pods-RecordButton_Tests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-RecordButton_Tests.debug.xcconfig"; path = "Pods/Target Support Files/Pods-RecordButton_Tests/Pods-RecordButton_Tests.debug.xcconfig"; sourceTree = ""; }; 0C1A240507EB5C9650E115A6 /* RecordButton.podspec */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; name = RecordButton.podspec; path = ../RecordButton.podspec; sourceTree = ""; }; - 347713C7E49D30A3C3F3753B /* Pods-RecordButton_Tests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-RecordButton_Tests.release.xcconfig"; path = "Pods/Target Support Files/Pods-RecordButton_Tests/Pods-RecordButton_Tests.release.xcconfig"; sourceTree = ""; }; - 38D655252C8048E66B172E20 /* Pods_RecordButton_Tests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_RecordButton_Tests.framework; sourceTree = BUILT_PRODUCTS_DIR; }; - 4AAC052F2A2A26AABA8B1DA0 /* Pods-RecordButton_Example.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-RecordButton_Example.release.xcconfig"; path = "Pods/Target Support Files/Pods-RecordButton_Example/Pods-RecordButton_Example.release.xcconfig"; sourceTree = ""; }; + 2E180B3F76D97AD3121C0AC2 /* Pods-RecordButton_Example.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-RecordButton_Example.release.xcconfig"; path = "Pods/Target Support Files/Pods-RecordButton_Example/Pods-RecordButton_Example.release.xcconfig"; sourceTree = ""; }; + 37808336B603279C30E22266 /* Pods_RecordButton_Example.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_RecordButton_Example.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 607FACD01AFB9204008FA782 /* RecordButton_Example.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = RecordButton_Example.app; sourceTree = BUILT_PRODUCTS_DIR; }; 607FACD41AFB9204008FA782 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 607FACD51AFB9204008FA782 /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = ""; }; @@ -39,14 +39,14 @@ 607FACDA1AFB9204008FA782 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = ""; }; 607FACDC1AFB9204008FA782 /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Images.xcassets; sourceTree = ""; }; 607FACDF1AFB9204008FA782 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/LaunchScreen.xib; sourceTree = ""; }; - 607FACE51AFB9204008FA782 /* Tests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; name = Tests.xctest; path = RecordButton_Tests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; + 607FACE51AFB9204008FA782 /* RecordButton_Tests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = RecordButton_Tests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; 607FACEA1AFB9204008FA782 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 607FACEB1AFB9204008FA782 /* Tests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Tests.swift; sourceTree = ""; }; - 65562C669964CFBFEC2A4D6F /* Pods-RecordButton_Example.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-RecordButton_Example.debug.xcconfig"; path = "Pods/Target Support Files/Pods-RecordButton_Example/Pods-RecordButton_Example.debug.xcconfig"; sourceTree = ""; }; + 66A9F5D6A51722A44D40CCA3 /* Pods-RecordButton_Example.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-RecordButton_Example.debug.xcconfig"; path = "Pods/Target Support Files/Pods-RecordButton_Example/Pods-RecordButton_Example.debug.xcconfig"; sourceTree = ""; }; 9AC481D9060F14FB73DAB9DA /* README.md */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = net.daringfireball.markdown; name = README.md; path = ../README.md; sourceTree = ""; }; - 9B5DA61C00FA0A4F8CCBCAC0 /* Pods-RecordButton_Tests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-RecordButton_Tests.debug.xcconfig"; path = "Pods/Target Support Files/Pods-RecordButton_Tests/Pods-RecordButton_Tests.debug.xcconfig"; sourceTree = ""; }; - AFEB0744D8BBCCA32F093B84 /* Pods_RecordButton_Example.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_RecordButton_Example.framework; sourceTree = BUILT_PRODUCTS_DIR; }; BD995D6FC40F5EAEB4734518 /* LICENSE */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; name = LICENSE; path = ../LICENSE; sourceTree = ""; }; + F8B9870874AC06126658791E /* Pods-RecordButton_Tests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-RecordButton_Tests.release.xcconfig"; path = "Pods/Target Support Files/Pods-RecordButton_Tests/Pods-RecordButton_Tests.release.xcconfig"; sourceTree = ""; }; + F97F0BE70423A901AA958C52 /* Pods_RecordButton_Tests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_RecordButton_Tests.framework; sourceTree = BUILT_PRODUCTS_DIR; }; /* End PBXFileReference section */ /* Begin PBXFrameworksBuildPhase section */ @@ -54,7 +54,7 @@ isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; files = ( - BA65E4EBA2BA0594AAEE4F23 /* Pods_RecordButton_Example.framework in Frameworks */, + 7FFC0CF93C218848ACF7768B /* Pods_RecordButton_Example.framework in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -62,7 +62,7 @@ isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; files = ( - 6D804A6A14792C56A75604E8 /* Pods_RecordButton_Tests.framework in Frameworks */, + 933A9A04E307503CC62529E0 /* Pods_RecordButton_Tests.framework in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -76,8 +76,8 @@ 607FACD21AFB9204008FA782 /* Example for RecordButton */, 607FACE81AFB9204008FA782 /* Tests */, 607FACD11AFB9204008FA782 /* Products */, - 7773CD6A4E8BDFA99FC675EA /* Pods */, - 7984316F3A8316C35E3EC3BD /* Frameworks */, + ABBAB0715E0E74BE90D43706 /* Pods */, + DE0E8F9A1541D2DB141416EE /* Frameworks */, ); sourceTree = ""; }; @@ -85,7 +85,7 @@ isa = PBXGroup; children = ( 607FACD01AFB9204008FA782 /* RecordButton_Example.app */, - 607FACE51AFB9204008FA782 /* Tests.xctest */, + 607FACE51AFB9204008FA782 /* RecordButton_Tests.xctest */, ); name = Products; sourceTree = ""; @@ -139,22 +139,22 @@ name = "Podspec Metadata"; sourceTree = ""; }; - 7773CD6A4E8BDFA99FC675EA /* Pods */ = { + ABBAB0715E0E74BE90D43706 /* Pods */ = { isa = PBXGroup; children = ( - 65562C669964CFBFEC2A4D6F /* Pods-RecordButton_Example.debug.xcconfig */, - 4AAC052F2A2A26AABA8B1DA0 /* Pods-RecordButton_Example.release.xcconfig */, - 9B5DA61C00FA0A4F8CCBCAC0 /* Pods-RecordButton_Tests.debug.xcconfig */, - 347713C7E49D30A3C3F3753B /* Pods-RecordButton_Tests.release.xcconfig */, + 66A9F5D6A51722A44D40CCA3 /* Pods-RecordButton_Example.debug.xcconfig */, + 2E180B3F76D97AD3121C0AC2 /* Pods-RecordButton_Example.release.xcconfig */, + 0A726179660D928B172A014E /* Pods-RecordButton_Tests.debug.xcconfig */, + F8B9870874AC06126658791E /* Pods-RecordButton_Tests.release.xcconfig */, ); name = Pods; sourceTree = ""; }; - 7984316F3A8316C35E3EC3BD /* Frameworks */ = { + DE0E8F9A1541D2DB141416EE /* Frameworks */ = { isa = PBXGroup; children = ( - AFEB0744D8BBCCA32F093B84 /* Pods_RecordButton_Example.framework */, - 38D655252C8048E66B172E20 /* Pods_RecordButton_Tests.framework */, + 37808336B603279C30E22266 /* Pods_RecordButton_Example.framework */, + F97F0BE70423A901AA958C52 /* Pods_RecordButton_Tests.framework */, ); name = Frameworks; sourceTree = ""; @@ -166,12 +166,12 @@ isa = PBXNativeTarget; buildConfigurationList = 607FACEF1AFB9204008FA782 /* Build configuration list for PBXNativeTarget "RecordButton_Example" */; buildPhases = ( - 0DD0AE1B86FE5CD2D953760E /* Check Pods Manifest.lock */, + BF03BBD127DDD7EA90EB817F /* [CP] Check Pods Manifest.lock */, 607FACCC1AFB9204008FA782 /* Sources */, 607FACCD1AFB9204008FA782 /* Frameworks */, 607FACCE1AFB9204008FA782 /* Resources */, - BC2CE61427EB3F45A4DBBC96 /* Embed Pods Frameworks */, - 36F0E6DA9A7E8792EB817B26 /* Copy Pods Resources */, + 1362CC9DE8B635717B52C2E9 /* [CP] Embed Pods Frameworks */, + 34C488E05D333C5A939E5165 /* [CP] Copy Pods Resources */, ); buildRules = ( ); @@ -186,12 +186,12 @@ isa = PBXNativeTarget; buildConfigurationList = 607FACF21AFB9204008FA782 /* Build configuration list for PBXNativeTarget "RecordButton_Tests" */; buildPhases = ( - B0EE1B3370320E55B7818F8D /* Check Pods Manifest.lock */, + C47AA5806CEB9194F894519B /* [CP] Check Pods Manifest.lock */, 607FACE11AFB9204008FA782 /* Sources */, 607FACE21AFB9204008FA782 /* Frameworks */, 607FACE31AFB9204008FA782 /* Resources */, - 68AD2F41C44BD1EF940C9CC6 /* Embed Pods Frameworks */, - 967975278DB5ED89129489DE /* Copy Pods Resources */, + 1E171AE1FF4452C0794E5379 /* [CP] Embed Pods Frameworks */, + 1EB3A6AB92D57E4DA0348853 /* [CP] Copy Pods Resources */, ); buildRules = ( ); @@ -200,7 +200,7 @@ ); name = RecordButton_Tests; productName = Tests; - productReference = 607FACE51AFB9204008FA782 /* Tests.xctest */; + productReference = 607FACE51AFB9204008FA782 /* RecordButton_Tests.xctest */; productType = "com.apple.product-type.bundle.unit-test"; }; /* End PBXNativeTarget section */ @@ -215,9 +215,14 @@ TargetAttributes = { 607FACCF1AFB9204008FA782 = { CreatedOnToolsVersion = 6.3.1; + DevelopmentTeam = RS662E2L2G; + LastSwiftMigration = 0820; }; 607FACE41AFB9204008FA782 = { CreatedOnToolsVersion = 6.3.1; + DevelopmentTeam = RS662E2L2G; + LastSwiftMigration = 0820; + ProvisioningStyle = Manual; TestTargetID = 607FACCF1AFB9204008FA782; }; }; @@ -262,94 +267,94 @@ /* End PBXResourcesBuildPhase section */ /* Begin PBXShellScriptBuildPhase section */ - 0DD0AE1B86FE5CD2D953760E /* Check Pods Manifest.lock */ = { + 1362CC9DE8B635717B52C2E9 /* [CP] Embed Pods Frameworks */ = { isa = PBXShellScriptBuildPhase; buildActionMask = 2147483647; files = ( ); inputPaths = ( ); - name = "Check Pods Manifest.lock"; + name = "[CP] Embed Pods Frameworks"; outputPaths = ( ); runOnlyForDeploymentPostprocessing = 0; shellPath = /bin/sh; - shellScript = "diff \"${PODS_ROOT}/../Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [[ $? != 0 ]] ; then\n cat << EOM\nerror: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\nEOM\n exit 1\nfi\n"; + shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-RecordButton_Example/Pods-RecordButton_Example-frameworks.sh\"\n"; showEnvVarsInLog = 0; }; - 36F0E6DA9A7E8792EB817B26 /* Copy Pods Resources */ = { + 1E171AE1FF4452C0794E5379 /* [CP] Embed Pods Frameworks */ = { isa = PBXShellScriptBuildPhase; buildActionMask = 2147483647; files = ( ); inputPaths = ( ); - name = "Copy Pods Resources"; + name = "[CP] Embed Pods Frameworks"; outputPaths = ( ); runOnlyForDeploymentPostprocessing = 0; shellPath = /bin/sh; - shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-RecordButton_Example/Pods-RecordButton_Example-resources.sh\"\n"; + shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-RecordButton_Tests/Pods-RecordButton_Tests-frameworks.sh\"\n"; showEnvVarsInLog = 0; }; - 68AD2F41C44BD1EF940C9CC6 /* Embed Pods Frameworks */ = { + 1EB3A6AB92D57E4DA0348853 /* [CP] Copy Pods Resources */ = { isa = PBXShellScriptBuildPhase; buildActionMask = 2147483647; files = ( ); inputPaths = ( ); - name = "Embed Pods Frameworks"; + name = "[CP] Copy Pods Resources"; outputPaths = ( ); runOnlyForDeploymentPostprocessing = 0; shellPath = /bin/sh; - shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-RecordButton_Tests/Pods-RecordButton_Tests-frameworks.sh\"\n"; + shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-RecordButton_Tests/Pods-RecordButton_Tests-resources.sh\"\n"; showEnvVarsInLog = 0; }; - 967975278DB5ED89129489DE /* Copy Pods Resources */ = { + 34C488E05D333C5A939E5165 /* [CP] Copy Pods Resources */ = { isa = PBXShellScriptBuildPhase; buildActionMask = 2147483647; files = ( ); inputPaths = ( ); - name = "Copy Pods Resources"; + name = "[CP] Copy Pods Resources"; outputPaths = ( ); runOnlyForDeploymentPostprocessing = 0; shellPath = /bin/sh; - shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-RecordButton_Tests/Pods-RecordButton_Tests-resources.sh\"\n"; + shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-RecordButton_Example/Pods-RecordButton_Example-resources.sh\"\n"; showEnvVarsInLog = 0; }; - B0EE1B3370320E55B7818F8D /* Check Pods Manifest.lock */ = { + BF03BBD127DDD7EA90EB817F /* [CP] Check Pods Manifest.lock */ = { isa = PBXShellScriptBuildPhase; buildActionMask = 2147483647; files = ( ); inputPaths = ( ); - name = "Check Pods Manifest.lock"; + name = "[CP] Check Pods Manifest.lock"; outputPaths = ( ); runOnlyForDeploymentPostprocessing = 0; shellPath = /bin/sh; - shellScript = "diff \"${PODS_ROOT}/../Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [[ $? != 0 ]] ; then\n cat << EOM\nerror: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\nEOM\n exit 1\nfi\n"; + shellScript = "diff \"${PODS_ROOT}/../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; }; - BC2CE61427EB3F45A4DBBC96 /* Embed Pods Frameworks */ = { + C47AA5806CEB9194F894519B /* [CP] Check Pods Manifest.lock */ = { isa = PBXShellScriptBuildPhase; buildActionMask = 2147483647; files = ( ); inputPaths = ( ); - name = "Embed Pods Frameworks"; + name = "[CP] Check Pods Manifest.lock"; outputPaths = ( ); runOnlyForDeploymentPostprocessing = 0; shellPath = /bin/sh; - shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-RecordButton_Example/Pods-RecordButton_Example-frameworks.sh\"\n"; + shellScript = "diff \"${PODS_ROOT}/../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; }; /* End PBXShellScriptBuildPhase section */ @@ -485,33 +490,38 @@ }; 607FACF01AFB9204008FA782 /* Debug */ = { isa = XCBuildConfiguration; - baseConfigurationReference = 65562C669964CFBFEC2A4D6F /* Pods-RecordButton_Example.debug.xcconfig */; + baseConfigurationReference = 66A9F5D6A51722A44D40CCA3 /* Pods-RecordButton_Example.debug.xcconfig */; buildSettings = { ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; + DEVELOPMENT_TEAM = RS662E2L2G; INFOPLIST_FILE = RecordButton/Info.plist; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; MODULE_NAME = ExampleApp; PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_VERSION = 3.0; }; name = Debug; }; 607FACF11AFB9204008FA782 /* Release */ = { isa = XCBuildConfiguration; - baseConfigurationReference = 4AAC052F2A2A26AABA8B1DA0 /* Pods-RecordButton_Example.release.xcconfig */; + baseConfigurationReference = 2E180B3F76D97AD3121C0AC2 /* Pods-RecordButton_Example.release.xcconfig */; buildSettings = { ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; + DEVELOPMENT_TEAM = RS662E2L2G; INFOPLIST_FILE = RecordButton/Info.plist; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; MODULE_NAME = ExampleApp; PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_VERSION = 3.0; }; name = Release; }; 607FACF31AFB9204008FA782 /* Debug */ = { isa = XCBuildConfiguration; - baseConfigurationReference = 9B5DA61C00FA0A4F8CCBCAC0 /* Pods-RecordButton_Tests.debug.xcconfig */; + baseConfigurationReference = 0A726179660D928B172A014E /* Pods-RecordButton_Tests.debug.xcconfig */; buildSettings = { BUNDLE_LOADER = "$(TEST_HOST)"; + DEVELOPMENT_TEAM = RS662E2L2G; FRAMEWORK_SEARCH_PATHS = ( "$(SDKROOT)/Developer/Library/Frameworks", "$(inherited)", @@ -523,15 +533,17 @@ INFOPLIST_FILE = Tests/Info.plist; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_VERSION = 3.0; TEST_HOST = "$(BUILT_PRODUCTS_DIR)/RecordButton_Example.app/RecordButton_Example"; }; name = Debug; }; 607FACF41AFB9204008FA782 /* Release */ = { isa = XCBuildConfiguration; - baseConfigurationReference = 347713C7E49D30A3C3F3753B /* Pods-RecordButton_Tests.release.xcconfig */; + baseConfigurationReference = F8B9870874AC06126658791E /* Pods-RecordButton_Tests.release.xcconfig */; buildSettings = { BUNDLE_LOADER = "$(TEST_HOST)"; + DEVELOPMENT_TEAM = ""; FRAMEWORK_SEARCH_PATHS = ( "$(SDKROOT)/Developer/Library/Frameworks", "$(inherited)", @@ -539,6 +551,7 @@ INFOPLIST_FILE = Tests/Info.plist; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_VERSION = 3.0; TEST_HOST = "$(BUILT_PRODUCTS_DIR)/RecordButton_Example.app/RecordButton_Example"; }; name = Release; diff --git a/Example/RecordButton.xcodeproj/xcshareddata/xcschemes/RecordButton-Example.xcscheme b/Example/RecordButton.xcodeproj/xcshareddata/xcschemes/RecordButton-Example.xcscheme index 2fe7d1d..91ec59a 100644 --- a/Example/RecordButton.xcodeproj/xcshareddata/xcschemes/RecordButton-Example.xcscheme +++ b/Example/RecordButton.xcodeproj/xcshareddata/xcschemes/RecordButton-Example.xcscheme @@ -1,6 +1,6 @@ + shouldUseLaunchSchemeArgsEnv = "YES"> @@ -62,15 +62,18 @@ ReferencedContainer = "container:RecordButton.xcodeproj"> + + @@ -86,10 +89,10 @@ diff --git a/Example/RecordButton/AppDelegate.swift b/Example/RecordButton/AppDelegate.swift index c3af140..85d73b0 100644 --- a/Example/RecordButton/AppDelegate.swift +++ b/Example/RecordButton/AppDelegate.swift @@ -14,30 +14,30 @@ class AppDelegate: UIResponder, UIApplicationDelegate { var window: UIWindow? - func application(application: UIApplication, didFinishLaunchingWithOptions launchOptions: [NSObject: AnyObject]?) -> Bool { + func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey: Any]?) -> Bool { // Override point for customization after application launch. return true } - func applicationWillResignActive(application: UIApplication) { + func applicationWillResignActive(_ application: UIApplication) { // Sent when the application is about to move from active to inactive state. This can occur for certain types of temporary interruptions (such as an incoming phone call or SMS message) or when the user quits the application and it begins the transition to the background state. // Use this method to pause ongoing tasks, disable timers, and throttle down OpenGL ES frame rates. Games should use this method to pause the game. } - func applicationDidEnterBackground(application: UIApplication) { + func applicationDidEnterBackground(_ application: UIApplication) { // Use this method to release shared resources, save user data, invalidate timers, and store enough application state information to restore your application to its current state in case it is terminated later. // If your application supports background execution, this method is called instead of applicationWillTerminate: when the user quits. } - func applicationWillEnterForeground(application: UIApplication) { + func applicationWillEnterForeground(_ application: UIApplication) { // Called as part of the transition from the background to the inactive state; here you can undo many of the changes made on entering the background. } - func applicationDidBecomeActive(application: UIApplication) { + func applicationDidBecomeActive(_ application: UIApplication) { // Restart any tasks that were paused (or not yet started) while the application was inactive. If the application was previously in the background, optionally refresh the user interface. } - func applicationWillTerminate(application: UIApplication) { + func applicationWillTerminate(_ application: UIApplication) { // Called when the application is about to terminate. Save data if appropriate. See also applicationDidEnterBackground:. } diff --git a/Example/RecordButton/ViewController.swift b/Example/RecordButton/ViewController.swift index d494de5..3fade46 100644 --- a/Example/RecordButton/ViewController.swift +++ b/Example/RecordButton/ViewController.swift @@ -8,23 +8,47 @@ import UIKit import RecordButton +// FIXME: comparison operators with optionals were removed from the Swift Standard Libary. +// Consider refactoring the code to use the non-optional operators. +fileprivate func < (lhs: T?, rhs: T?) -> Bool { + switch (lhs, rhs) { + case let (l?, r?): + return l < r + case (nil, _?): + return true + default: + return false + } +} + +// FIXME: comparison operators with optionals were removed from the Swift Standard Libary. +// Consider refactoring the code to use the non-optional operators. +fileprivate func >= (lhs: T?, rhs: T?) -> Bool { + switch (lhs, rhs) { + case let (l?, r?): + return l >= r + default: + return !(lhs < rhs) + } +} + class ViewController: UIViewController { var recordButton : RecordButton! - var progressTimer : NSTimer! + var progressTimer : Timer! var progress : CGFloat! = 0 override func viewDidLoad() { super.viewDidLoad() // set up recorder button - recordButton = RecordButton(frame: CGRectMake(0,0,70,70)) + recordButton = RecordButton(frame: CGRect(x: 0,y: 0,width: 70,height: 70)) recordButton.center = self.view.center - recordButton.progressColor = .redColor() + recordButton.progressColor = .red recordButton.closeWhenFinished = false - recordButton.addTarget(self, action: "record", forControlEvents: .TouchDown) - recordButton.addTarget(self, action: "stop", forControlEvents: UIControlEvents.TouchUpInside) + recordButton.addTarget(self, action: #selector(ViewController.record), for: .touchDown) + recordButton.addTarget(self, action: #selector(ViewController.stop), for: UIControlEvents.touchUpInside) recordButton.center.x = self.view.center.x view.addSubview(recordButton) @@ -37,7 +61,7 @@ class ViewController: UIViewController { } func record() { - self.progressTimer = NSTimer.scheduledTimerWithTimeInterval(0.05, target: self, selector: "updateProgress", userInfo: nil, repeats: true) + self.progressTimer = Timer.scheduledTimer(timeInterval: 0.05, target: self, selector: #selector(ViewController.updateProgress), userInfo: nil, repeats: true) } func updateProgress() { diff --git a/Example/Tests/Tests.swift b/Example/Tests/Tests.swift index 563028c..41a37fd 100644 --- a/Example/Tests/Tests.swift +++ b/Example/Tests/Tests.swift @@ -21,7 +21,7 @@ class Tests: XCTestCase { func testPerformanceExample() { // This is an example of a performance test case. - self.measureBlock() { + self.measure() { // Put the code you want to measure the time of here. } } diff --git a/Pod/Classes/RecordButton.swift b/Pod/Classes/RecordButton.swift index e957624..f942f1b 100644 --- a/Pod/Classes/RecordButton.swift +++ b/Pod/Classes/RecordButton.swift @@ -7,58 +7,58 @@ // @objc public enum RecordButtonState : Int { - case Recording, Idle, Hidden; + case recording, idle, hidden; } -@objc public class RecordButton : UIButton { +@objc open class RecordButton : UIButton { - public var buttonColor: UIColor! = .blueColor(){ + open var buttonColor: UIColor! = .blue{ didSet { - circleLayer.backgroundColor = buttonColor.CGColor - circleBorder.borderColor = buttonColor.CGColor + circleLayer.backgroundColor = buttonColor.cgColor + circleBorder.borderColor = buttonColor.cgColor } } - public var progressColor: UIColor! = .redColor() { + open var progressColor: UIColor! = .red { didSet { - gradientMaskLayer.colors = [progressColor.CGColor, progressColor.CGColor] + gradientMaskLayer.colors = [progressColor.cgColor, progressColor.cgColor] } } /// Closes the circle and hides when the RecordButton is finished - public var closeWhenFinished: Bool = false + open var closeWhenFinished: Bool = false - public var buttonState : RecordButtonState = .Idle { + open var buttonState : RecordButtonState = .idle { didSet { switch buttonState { - case .Idle: + case .idle: self.alpha = 1.0 currentProgress = 0 setProgress(0) setRecording(false) - case .Recording: + case .recording: self.alpha = 1.0 setRecording(true) - case .Hidden: + case .hidden: self.alpha = 0 } } } - private var circleLayer: CALayer! - private var circleBorder: CALayer! - private var progressLayer: CAShapeLayer! - private var gradientMaskLayer: CAGradientLayer! - private var currentProgress: CGFloat! = 0 + fileprivate var circleLayer: CALayer! + fileprivate var circleBorder: CALayer! + fileprivate var progressLayer: CAShapeLayer! + fileprivate var gradientMaskLayer: CAGradientLayer! + fileprivate var currentProgress: CGFloat! = 0 override public init(frame: CGRect) { super.init(frame: frame) - self.addTarget(self, action: "didTouchDown", forControlEvents: .TouchDown) - self.addTarget(self, action: "didTouchUp", forControlEvents: .TouchUpInside) - self.addTarget(self, action: "didTouchUp", forControlEvents: .TouchUpOutside) + self.addTarget(self, action: #selector(RecordButton.didTouchDown), for: .touchDown) + self.addTarget(self, action: #selector(RecordButton.didTouchUp), for: .touchUpInside) + self.addTarget(self, action: #selector(RecordButton.didTouchUp), for: .touchUpOutside) self.drawButton() @@ -69,49 +69,49 @@ } - private func drawButton() { + fileprivate func drawButton() { - self.backgroundColor = UIColor.clearColor() + self.backgroundColor = UIColor.clear let layer = self.layer circleLayer = CALayer() - circleLayer.backgroundColor = buttonColor.CGColor + circleLayer.backgroundColor = buttonColor.cgColor let size: CGFloat = self.frame.size.width / 1.5 - circleLayer.bounds = CGRectMake(0, 0, size, size) - circleLayer.anchorPoint = CGPointMake(0.5, 0.5) - circleLayer.position = CGPointMake(CGRectGetMidX(self.bounds),CGRectGetMidY(self.bounds)) + circleLayer.bounds = CGRect(x: 0, y: 0, width: size, height: size) + circleLayer.anchorPoint = CGPoint(x: 0.5, y: 0.5) + circleLayer.position = CGPoint(x: self.bounds.midX,y: self.bounds.midY) circleLayer.cornerRadius = size / 2 - layer.insertSublayer(circleLayer, atIndex: 0) + layer.insertSublayer(circleLayer, at: 0) circleBorder = CALayer() - circleBorder.backgroundColor = UIColor.clearColor().CGColor + circleBorder.backgroundColor = UIColor.clear.cgColor circleBorder.borderWidth = 1 - circleBorder.borderColor = buttonColor.CGColor - circleBorder.bounds = CGRectMake(0, 0, self.bounds.size.width - 1.5, self.bounds.size.height - 1.5) - circleBorder.anchorPoint = CGPointMake(0.5, 0.5) - circleBorder.position = CGPointMake(CGRectGetMidX(self.bounds),CGRectGetMidY(self.bounds)) + circleBorder.borderColor = buttonColor.cgColor + circleBorder.bounds = CGRect(x: 0, y: 0, width: self.bounds.size.width - 1.5, height: self.bounds.size.height - 1.5) + circleBorder.anchorPoint = CGPoint(x: 0.5, y: 0.5) + circleBorder.position = CGPoint(x: self.bounds.midX,y: self.bounds.midY) circleBorder.cornerRadius = self.frame.size.width / 2 - layer.insertSublayer(circleBorder, atIndex: 0) + layer.insertSublayer(circleBorder, at: 0) let startAngle: CGFloat = CGFloat(M_PI) + CGFloat(M_PI_2) let endAngle: CGFloat = CGFloat(M_PI) * 3 + CGFloat(M_PI_2) - let centerPoint: CGPoint = CGPointMake(self.frame.size.width / 2, self.frame.size.height / 2) + let centerPoint: CGPoint = CGPoint(x: self.frame.size.width / 2, y: self.frame.size.height / 2) gradientMaskLayer = self.gradientMask() progressLayer = CAShapeLayer() - progressLayer.path = UIBezierPath(arcCenter: centerPoint, radius: self.frame.size.width / 2 - 2, startAngle: startAngle, endAngle: endAngle, clockwise: true).CGPath - progressLayer.backgroundColor = UIColor.clearColor().CGColor + progressLayer.path = UIBezierPath(arcCenter: centerPoint, radius: self.frame.size.width / 2 - 2, startAngle: startAngle, endAngle: endAngle, clockwise: true).cgPath + progressLayer.backgroundColor = UIColor.clear.cgColor progressLayer.fillColor = nil - progressLayer.strokeColor = UIColor.blackColor().CGColor + progressLayer.strokeColor = UIColor.black.cgColor progressLayer.lineWidth = 4.0 progressLayer.strokeStart = 0.0 progressLayer.strokeEnd = 0.0 gradientMaskLayer.mask = progressLayer - layer.insertSublayer(gradientMaskLayer, atIndex: 0) + layer.insertSublayer(gradientMaskLayer, at: 0) } - private func setRecording(recording: Bool) { + fileprivate func setRecording(_ recording: Bool) { - let duration: NSTimeInterval = 0.15 + let duration: TimeInterval = 0.15 circleLayer.contentsGravity = "center" let scale = CABasicAnimation(keyPath: "transform.scale") @@ -119,16 +119,16 @@ scale.toValue = recording ? 0.88 : 1 scale.duration = duration scale.fillMode = kCAFillModeForwards - scale.removedOnCompletion = false + scale.isRemovedOnCompletion = false let color = CABasicAnimation(keyPath: "backgroundColor") color.duration = duration color.fillMode = kCAFillModeForwards - color.removedOnCompletion = false - color.toValue = recording ? progressColor.CGColor : buttonColor.CGColor + color.isRemovedOnCompletion = false + color.toValue = recording ? progressColor.cgColor : buttonColor.cgColor let circleAnimations = CAAnimationGroup() - circleAnimations.removedOnCompletion = false + circleAnimations.isRemovedOnCompletion = false circleAnimations.fillMode = kCAFillModeForwards circleAnimations.duration = duration circleAnimations.animations = [scale, color] @@ -136,18 +136,18 @@ let borderColor: CABasicAnimation = CABasicAnimation(keyPath: "borderColor") borderColor.duration = duration borderColor.fillMode = kCAFillModeForwards - borderColor.removedOnCompletion = false - borderColor.toValue = recording ? UIColor(red: 0.83, green: 0.86, blue: 0.89, alpha: 1).CGColor : buttonColor + borderColor.isRemovedOnCompletion = false + borderColor.toValue = recording ? UIColor(red: 0.83, green: 0.86, blue: 0.89, alpha: 1).cgColor : buttonColor let borderScale = CABasicAnimation(keyPath: "transform.scale") borderScale.fromValue = recording ? 1.0 : 0.88 borderScale.toValue = recording ? 0.88 : 1.0 borderScale.duration = duration borderScale.fillMode = kCAFillModeForwards - borderScale.removedOnCompletion = false + borderScale.isRemovedOnCompletion = false let borderAnimations = CAAnimationGroup() - borderAnimations.removedOnCompletion = false + borderAnimations.isRemovedOnCompletion = false borderAnimations.fillMode = kCAFillModeForwards borderAnimations.duration = duration borderAnimations.animations = [borderColor, borderScale] @@ -157,49 +157,49 @@ fade.toValue = recording ? 1.0 : 0.0 fade.duration = duration fade.fillMode = kCAFillModeForwards - fade.removedOnCompletion = false + fade.isRemovedOnCompletion = false - circleLayer.addAnimation(circleAnimations, forKey: "circleAnimations") - progressLayer.addAnimation(fade, forKey: "fade") - circleBorder.addAnimation(borderAnimations, forKey: "borderAnimations") + circleLayer.add(circleAnimations, forKey: "circleAnimations") + progressLayer.add(fade, forKey: "fade") + circleBorder.add(borderAnimations, forKey: "borderAnimations") } - private func gradientMask() -> CAGradientLayer { + fileprivate func gradientMask() -> CAGradientLayer { let gradientLayer = CAGradientLayer() gradientLayer.frame = self.bounds gradientLayer.locations = [0.0, 1.0] let topColor = progressColor let bottomColor = progressColor - gradientLayer.colors = [topColor.CGColor, bottomColor.CGColor] + gradientLayer.colors = [topColor?.cgColor, bottomColor?.cgColor] return gradientLayer } - override public func layoutSubviews() { - circleLayer.anchorPoint = CGPointMake(0.5, 0.5) - circleLayer.position = CGPointMake(CGRectGetMidX(self.bounds),CGRectGetMidY(self.bounds)) - circleBorder.anchorPoint = CGPointMake(0.5, 0.5) - circleBorder.position = CGPointMake(CGRectGetMidX(self.bounds),CGRectGetMidY(self.bounds)) + override open func layoutSubviews() { + circleLayer.anchorPoint = CGPoint(x: 0.5, y: 0.5) + circleLayer.position = CGPoint(x: self.bounds.midX,y: self.bounds.midY) + circleBorder.anchorPoint = CGPoint(x: 0.5, y: 0.5) + circleBorder.position = CGPoint(x: self.bounds.midX,y: self.bounds.midY) super.layoutSubviews() } - public func didTouchDown(){ - self.buttonState = .Recording + open func didTouchDown(){ + self.buttonState = .recording } - public func didTouchUp() { + open func didTouchUp() { if(closeWhenFinished) { self.setProgress(1) - UIView.animateWithDuration(0.3, animations: { - self.buttonState = .Hidden + UIView.animate(withDuration: 0.3, animations: { + self.buttonState = .hidden }, completion: { completion in self.setProgress(0) self.currentProgress = 0 }) } else { - self.buttonState = .Idle + self.buttonState = .idle } } @@ -209,7 +209,7 @@ - parameter newProgress: the relative lenght, a percentage as float. */ - public func setProgress(newProgress: CGFloat) { + open func setProgress(_ newProgress: CGFloat) { progressLayer.strokeEnd = newProgress } diff --git a/RecordButton.podspec b/RecordButton.podspec index bcf5888..568fcfb 100644 --- a/RecordButton.podspec +++ b/RecordButton.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |s| s.name = "RecordButton" - s.version = "1.0.0" + s.version = "1.0.1" s.summary = "A Record Button in Swift." s.description = <<-DESC A Modulair Record Button in Swift. It shows you the recording process when recording. It's great for a video recorder app with a fixed/maximum length like snapchat, vine, instragram.