diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index aba67708..60ed4786 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -13,6 +13,10 @@ jobs: steps: - name: Checkout repository uses: actions/checkout@v3 + + - name: Configure Git credentials + run: | + git config --global url."https://x-access-token:${{ secrets.PKG_TOKEN }}@github.com/".insteadOf "https://github.com/" - name: Set up Ruby (for installing Bundler and Fastlane) uses: ruby/setup-ruby@v1 @@ -53,6 +57,10 @@ jobs: steps: - name: Checkout repository uses: actions/checkout@v3 + + - name: Configure Git credentials + run: | + git config --global url."https://x-access-token:${{ secrets.PKG_TOKEN }}@github.com/".insteadOf "https://github.com/" - name: Set up Ruby (for installing Bundler and Fastlane) uses: ruby/setup-ruby@v1 diff --git a/Contentstack.xcodeproj/project.pbxproj b/Contentstack.xcodeproj/project.pbxproj index adc56d8f..d0959aae 100644 --- a/Contentstack.xcodeproj/project.pbxproj +++ b/Contentstack.xcodeproj/project.pbxproj @@ -255,8 +255,6 @@ 47AAE0902B60420E0098655A /* SyncAPITest.swift in Sources */ = {isa = PBXBuildFile; fileRef = 47AAE08F2B60420E0098655A /* SyncAPITest.swift */; }; 47AAE0912B60420E0098655A /* SyncAPITest.swift in Sources */ = {isa = PBXBuildFile; fileRef = 47AAE08F2B60420E0098655A /* SyncAPITest.swift */; }; 47AAE0922B60420E0098655A /* SyncAPITest.swift in Sources */ = {isa = PBXBuildFile; fileRef = 47AAE08F2B60420E0098655A /* SyncAPITest.swift */; }; - 47B09C252CA952E400B8AB41 /* DVR.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 47B09C242CA952E400B8AB41 /* DVR.framework */; }; - 47B09C262CA952E400B8AB41 /* DVR.framework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = 47B09C242CA952E400B8AB41 /* DVR.framework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; }; 47B09C292CA9530100B8AB41 /* ContentstackUtils in Frameworks */ = {isa = PBXBuildFile; productRef = 47B09C282CA9530100B8AB41 /* ContentstackUtils */; }; 47B4DC622C232A8200370CFC /* TaxonomyTest.swift in Sources */ = {isa = PBXBuildFile; fileRef = 47B4DC612C232A8200370CFC /* TaxonomyTest.swift */; }; 47B4DC632C232A8200370CFC /* TaxonomyTest.swift in Sources */ = {isa = PBXBuildFile; fileRef = 47B4DC612C232A8200370CFC /* TaxonomyTest.swift */; }; @@ -267,6 +265,7 @@ 47C6EFC52C0B5B9400F0D5CF /* Taxonomy.swift in Sources */ = {isa = PBXBuildFile; fileRef = 47C6EFC12C0B5B9400F0D5CF /* Taxonomy.swift */; }; 47D561512C9EF97D00DC085D /* ContentstackUtils in Frameworks */ = {isa = PBXBuildFile; productRef = 47D561502C9EF97D00DC085D /* ContentstackUtils */; }; 47D561572C9EFA5900DC085D /* DVR in Frameworks */ = {isa = PBXBuildFile; productRef = 47D561562C9EFA5900DC085D /* DVR */; }; + 6750778E2D3E256A0076A066 /* DVR in Frameworks */ = {isa = PBXBuildFile; productRef = 6750778D2D3E256A0076A066 /* DVR */; }; /* End PBXBuildFile section */ /* Begin PBXContainerItemProxy section */ @@ -293,20 +292,6 @@ }; /* End PBXContainerItemProxy section */ -/* Begin PBXCopyFilesBuildPhase section */ - 47B09C272CA952E400B8AB41 /* Embed Frameworks */ = { - isa = PBXCopyFilesBuildPhase; - buildActionMask = 2147483647; - dstPath = ""; - dstSubfolderSpec = 10; - files = ( - 47B09C262CA952E400B8AB41 /* DVR.framework in Embed Frameworks */, - ); - name = "Embed Frameworks"; - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXCopyFilesBuildPhase section */ - /* Begin PBXFileReference section */ 0F0246652431F37300F72181 /* ImageTransform.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ImageTransform.swift; sourceTree = ""; }; 0F02466A243201B500F72181 /* ImageTransformTest.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ImageTransformTest.swift; sourceTree = ""; }; @@ -444,8 +429,8 @@ isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; files = ( + 6750778E2D3E256A0076A066 /* DVR in Frameworks */, 0F4A75F4241BAE6C00E3A024 /* Contentstack.framework in Frameworks */, - 47B09C252CA952E400B8AB41 /* DVR.framework in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -845,7 +830,6 @@ 0F4A75EF241BAE6C00E3A024 /* Sources */, 0F4A75F0241BAE6C00E3A024 /* Frameworks */, 0F4A75F1241BAE6C00E3A024 /* Resources */, - 47B09C272CA952E400B8AB41 /* Embed Frameworks */, ); buildRules = ( ); @@ -2630,6 +2614,11 @@ package = 47D561532C9EFA1400DC085D /* XCRemoteSwiftPackageReference "contentstack-swift-dvr" */; productName = DVR; }; + 6750778D2D3E256A0076A066 /* DVR */ = { + isa = XCSwiftPackageProductDependency; + package = 47D561532C9EFA1400DC085D /* XCRemoteSwiftPackageReference "contentstack-swift-dvr" */; + productName = DVR; + }; /* End XCSwiftPackageProductDependency section */ }; rootObject = OBJ_1 /* Project object */; diff --git a/Tests/TaxonomyTest.swift b/Tests/TaxonomyTest.swift index 9928ac3a..90e15678 100644 --- a/Tests/TaxonomyTest.swift +++ b/Tests/TaxonomyTest.swift @@ -141,7 +141,7 @@ class TaxonomyTest: XCTestCase { } networkExpectation.fulfill() } - networkExpectation.fulfill() + wait(for: [networkExpectation], timeout: 5) } }