diff --git a/.gitignore b/.gitignore index 2e8403f..8f00025 100644 --- a/.gitignore +++ b/.gitignore @@ -66,5 +66,8 @@ fastlane/Preview.html fastlane/screenshots fastlane/test_output +Demo/Pods +Demo/Podfile.lock + DemoObjc/Pods DemoObjc/Podfile.lock diff --git a/Demo/Demo.xcodeproj/project.pbxproj b/Demo/Demo.xcodeproj/project.pbxproj index c176cdf..fdd74bc 100644 --- a/Demo/Demo.xcodeproj/project.pbxproj +++ b/Demo/Demo.xcodeproj/project.pbxproj @@ -7,14 +7,13 @@ objects = { /* Begin PBXBuildFile section */ + 2C20CEB031B6E6A064B100AB /* Pods_Demo.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 06C98591926CDD7188A14E21 /* Pods_Demo.framework */; }; 645FF60A1E8A1DCE001D5563 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 645FF6091E8A1DCE001D5563 /* AppDelegate.swift */; }; 645FF60C1E8A1DCE001D5563 /* ViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 645FF60B1E8A1DCE001D5563 /* ViewController.swift */; }; 645FF60F1E8A1DCE001D5563 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 645FF60D1E8A1DCE001D5563 /* Main.storyboard */; }; 645FF6111E8A1DCE001D5563 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 645FF6101E8A1DCE001D5563 /* Assets.xcassets */; }; 645FF6141E8A1DCE001D5563 /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 645FF6121E8A1DCE001D5563 /* LaunchScreen.storyboard */; }; 645FF61F1E8A1DCE001D5563 /* DemoTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 645FF61E1E8A1DCE001D5563 /* DemoTests.swift */; }; - 645FF6361E8A20C0001D5563 /* SwiftRater.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 645FF62F1E8A202F001D5563 /* SwiftRater.framework */; }; - 645FF6371E8A20C0001D5563 /* SwiftRater.framework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = 645FF62F1E8A202F001D5563 /* SwiftRater.framework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; }; /* End PBXBuildFile section */ /* Begin PBXContainerItemProxy section */ @@ -25,27 +24,6 @@ remoteGlobalIDString = 645FF6051E8A1DCE001D5563; remoteInfo = Demo; }; - 645FF62E1E8A202F001D5563 /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = 645FF6291E8A202F001D5563 /* SwiftRater.xcodeproj */; - proxyType = 2; - remoteGlobalIDString = 645FF5E31E8A1D89001D5563; - remoteInfo = SwiftRater; - }; - 645FF6301E8A202F001D5563 /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = 645FF6291E8A202F001D5563 /* SwiftRater.xcodeproj */; - proxyType = 2; - remoteGlobalIDString = 645FF5EC1E8A1D89001D5563; - remoteInfo = SwiftRaterTests; - }; - 645FF6381E8A20C0001D5563 /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = 645FF6291E8A202F001D5563 /* SwiftRater.xcodeproj */; - proxyType = 1; - remoteGlobalIDString = 645FF6641E8B8CD0001D5563; - remoteInfo = SwiftRater; - }; /* End PBXContainerItemProxy section */ /* Begin PBXCopyFilesBuildPhase section */ @@ -55,7 +33,6 @@ dstPath = ""; dstSubfolderSpec = 10; files = ( - 645FF6371E8A20C0001D5563 /* SwiftRater.framework in Embed Frameworks */, ); name = "Embed Frameworks"; runOnlyForDeploymentPostprocessing = 0; @@ -63,6 +40,8 @@ /* End PBXCopyFilesBuildPhase section */ /* Begin PBXFileReference section */ + 06C98591926CDD7188A14E21 /* Pods_Demo.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_Demo.framework; sourceTree = BUILT_PRODUCTS_DIR; }; + 44A4A212099F3E57AD17D1F0 /* Pods-Demo.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Demo.release.xcconfig"; path = "Pods/Target Support Files/Pods-Demo/Pods-Demo.release.xcconfig"; sourceTree = ""; }; 645FF6061E8A1DCE001D5563 /* Demo.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = Demo.app; sourceTree = BUILT_PRODUCTS_DIR; }; 645FF6091E8A1DCE001D5563 /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = ""; }; 645FF60B1E8A1DCE001D5563 /* ViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ViewController.swift; sourceTree = ""; }; @@ -73,7 +52,6 @@ 645FF61A1E8A1DCE001D5563 /* DemoTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = DemoTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; 645FF61E1E8A1DCE001D5563 /* DemoTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = DemoTests.swift; sourceTree = ""; }; 645FF6201E8A1DCE001D5563 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; - 645FF6291E8A202F001D5563 /* SwiftRater.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = SwiftRater.xcodeproj; path = ../SwiftRater.xcodeproj; sourceTree = ""; }; 645FF6991E8BABEF001D5563 /* ja */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = ja; path = ja.lproj/Main.strings; sourceTree = ""; }; 645FF69A1E8BABEF001D5563 /* ja */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = ja; path = ja.lproj/LaunchScreen.strings; sourceTree = ""; }; 645FF69B1E8BABF6001D5563 /* it */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = it; path = it.lproj/Main.strings; sourceTree = ""; }; @@ -110,6 +88,7 @@ 64B62F691E8E4B47000FFF09 /* hu */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = hu; path = hu.lproj/LaunchScreen.strings; sourceTree = ""; }; 64B62F6A1E8E4B88000FFF09 /* sv */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = sv; path = sv.lproj/Main.strings; sourceTree = ""; }; 64B62F6B1E8E4B88000FFF09 /* sv */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = sv; path = sv.lproj/LaunchScreen.strings; sourceTree = ""; }; + D8FDD3233067D0E3EF31CEE3 /* Pods-Demo.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Demo.debug.xcconfig"; path = "Pods/Target Support Files/Pods-Demo/Pods-Demo.debug.xcconfig"; sourceTree = ""; }; /* End PBXFileReference section */ /* Begin PBXFrameworksBuildPhase section */ @@ -117,7 +96,7 @@ isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; files = ( - 645FF6361E8A20C0001D5563 /* SwiftRater.framework in Frameworks */, + 2C20CEB031B6E6A064B100AB /* Pods_Demo.framework in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -131,13 +110,31 @@ /* End PBXFrameworksBuildPhase section */ /* Begin PBXGroup section */ + 0056070747B2172C6140A649 /* Pods */ = { + isa = PBXGroup; + children = ( + D8FDD3233067D0E3EF31CEE3 /* Pods-Demo.debug.xcconfig */, + 44A4A212099F3E57AD17D1F0 /* Pods-Demo.release.xcconfig */, + ); + name = Pods; + sourceTree = ""; + }; + 38DD8154192569F5DB394C3D /* Frameworks */ = { + isa = PBXGroup; + children = ( + 06C98591926CDD7188A14E21 /* Pods_Demo.framework */, + ); + name = Frameworks; + sourceTree = ""; + }; 645FF5FD1E8A1DCE001D5563 = { isa = PBXGroup; children = ( - 645FF6291E8A202F001D5563 /* SwiftRater.xcodeproj */, 645FF6081E8A1DCE001D5563 /* Demo */, 645FF61D1E8A1DCE001D5563 /* DemoTests */, 645FF6071E8A1DCE001D5563 /* Products */, + 0056070747B2172C6140A649 /* Pods */, + 38DD8154192569F5DB394C3D /* Frameworks */, ); sourceTree = ""; }; @@ -172,15 +169,6 @@ path = DemoTests; sourceTree = ""; }; - 645FF62A1E8A202F001D5563 /* Products */ = { - isa = PBXGroup; - children = ( - 645FF62F1E8A202F001D5563 /* SwiftRater.framework */, - 645FF6311E8A202F001D5563 /* SwiftRaterTests.xctest */, - ); - name = Products; - sourceTree = ""; - }; /* End PBXGroup section */ /* Begin PBXNativeTarget section */ @@ -188,15 +176,16 @@ isa = PBXNativeTarget; buildConfigurationList = 645FF6231E8A1DCE001D5563 /* Build configuration list for PBXNativeTarget "Demo" */; buildPhases = ( + 62FEA4FD55D7F5C481DB5872 /* [CP] Check Pods Manifest.lock */, 645FF6021E8A1DCE001D5563 /* Sources */, 645FF6031E8A1DCE001D5563 /* Frameworks */, 645FF6041E8A1DCE001D5563 /* Resources */, 645FF63A1E8A20C0001D5563 /* Embed Frameworks */, + 7B71ED379BB285C7E36A3BE0 /* [CP] Embed Pods Frameworks */, ); buildRules = ( ); dependencies = ( - 645FF6391E8A20C0001D5563 /* PBXTargetDependency */, ); name = Demo; productName = Demo; @@ -257,12 +246,6 @@ mainGroup = 645FF5FD1E8A1DCE001D5563; productRefGroup = 645FF6071E8A1DCE001D5563 /* Products */; projectDirPath = ""; - projectReferences = ( - { - ProductGroup = 645FF62A1E8A202F001D5563 /* Products */; - ProjectRef = 645FF6291E8A202F001D5563 /* SwiftRater.xcodeproj */; - }, - ); projectRoot = ""; targets = ( 645FF6051E8A1DCE001D5563 /* Demo */, @@ -271,23 +254,6 @@ }; /* End PBXProject section */ -/* Begin PBXReferenceProxy section */ - 645FF62F1E8A202F001D5563 /* SwiftRater.framework */ = { - isa = PBXReferenceProxy; - fileType = wrapper.framework; - path = SwiftRater.framework; - remoteRef = 645FF62E1E8A202F001D5563 /* PBXContainerItemProxy */; - sourceTree = BUILT_PRODUCTS_DIR; - }; - 645FF6311E8A202F001D5563 /* SwiftRaterTests.xctest */ = { - isa = PBXReferenceProxy; - fileType = wrapper.cfbundle; - path = SwiftRaterTests.xctest; - remoteRef = 645FF6301E8A202F001D5563 /* PBXContainerItemProxy */; - sourceTree = BUILT_PRODUCTS_DIR; - }; -/* End PBXReferenceProxy section */ - /* Begin PBXResourcesBuildPhase section */ 645FF6041E8A1DCE001D5563 /* Resources */ = { isa = PBXResourcesBuildPhase; @@ -308,6 +274,45 @@ }; /* End PBXResourcesBuildPhase section */ +/* Begin PBXShellScriptBuildPhase section */ + 62FEA4FD55D7F5C481DB5872 /* [CP] Check Pods Manifest.lock */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputPaths = ( + "${PODS_PODFILE_DIR_PATH}/Podfile.lock", + "${PODS_ROOT}/Manifest.lock", + ); + name = "[CP] Check Pods Manifest.lock"; + outputPaths = ( + "$(DERIVED_FILE_DIR)/Pods-Demo-checkManifestLockResult.txt", + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n"; + showEnvVarsInLog = 0; + }; + 7B71ED379BB285C7E36A3BE0 /* [CP] Embed Pods Frameworks */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputPaths = ( + "${SRCROOT}/Pods/Target Support Files/Pods-Demo/Pods-Demo-frameworks.sh", + "${BUILT_PRODUCTS_DIR}/SwiftRater/SwiftRater.framework", + ); + name = "[CP] Embed Pods Frameworks"; + outputPaths = ( + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/SwiftRater.framework", + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-Demo/Pods-Demo-frameworks.sh\"\n"; + showEnvVarsInLog = 0; + }; +/* End PBXShellScriptBuildPhase section */ + /* Begin PBXSourcesBuildPhase section */ 645FF6021E8A1DCE001D5563 /* Sources */ = { isa = PBXSourcesBuildPhase; @@ -334,11 +339,6 @@ target = 645FF6051E8A1DCE001D5563 /* Demo */; targetProxy = 645FF61B1E8A1DCE001D5563 /* PBXContainerItemProxy */; }; - 645FF6391E8A20C0001D5563 /* PBXTargetDependency */ = { - isa = PBXTargetDependency; - name = SwiftRater; - targetProxy = 645FF6381E8A20C0001D5563 /* PBXContainerItemProxy */; - }; /* End PBXTargetDependency section */ /* Begin PBXVariantGroup section */ @@ -492,6 +492,7 @@ }; 645FF6241E8A1DCE001D5563 /* Debug */ = { isa = XCBuildConfiguration; + baseConfigurationReference = D8FDD3233067D0E3EF31CEE3 /* Pods-Demo.debug.xcconfig */; buildSettings = { ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; @@ -510,6 +511,7 @@ }; 645FF6251E8A1DCE001D5563 /* Release */ = { isa = XCBuildConfiguration; + baseConfigurationReference = 44A4A212099F3E57AD17D1F0 /* Pods-Demo.release.xcconfig */; buildSettings = { ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; diff --git a/Demo/Demo.xcworkspace/contents.xcworkspacedata b/Demo/Demo.xcworkspace/contents.xcworkspacedata new file mode 100644 index 0000000..1f14019 --- /dev/null +++ b/Demo/Demo.xcworkspace/contents.xcworkspacedata @@ -0,0 +1,10 @@ + + + + + + + diff --git a/Demo/Demo.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist b/Demo/Demo.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist new file mode 100644 index 0000000..18d9810 --- /dev/null +++ b/Demo/Demo.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist @@ -0,0 +1,8 @@ + + + + + IDEDidComputeMac32BitWarning + + + diff --git a/Demo/Demo.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings b/Demo/Demo.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings new file mode 100644 index 0000000..3ddf867 --- /dev/null +++ b/Demo/Demo.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings @@ -0,0 +1,8 @@ + + + + + BuildSystemType + Latest + + diff --git a/Demo/Podfile b/Demo/Podfile new file mode 100644 index 0000000..7e1d8b2 --- /dev/null +++ b/Demo/Podfile @@ -0,0 +1,6 @@ +platform :ios, '9.0' +use_frameworks! + +target 'Demo' do + pod 'SwiftRater', :path => '../' +end \ No newline at end of file