An unexpected version directory `Assets` was encountered for Private PodRespective Pods Directories Remain Empty After `pod install`pod spec lint error: “unexpected '@' in program”Is there an better way to get code from an internal cocoapod into a project?cocoapods: An unexpected version directory was encountered. How do I fix this?Private Pods with SVN repositorywhen installing webRtc quickblox podfile for adding video calling feature the terminal displaying “dependency target not used in any target” errorCocoaPods 1.0, `pod repo update` does not happen on `pod install` by defaultcocoapods create private pods ,pod search failFirebase Push Notification installing error on extractingAn unexpected version directory Classes was encountered

Is a model fitted to data or is data fitted to a model?

THT: What is a squared annular “ring”?

Journal losing indexing services

Will adding a BY-SA image to a blog post make the entire post BY-SA?

Does having a TSA Pre-Check member in your flight reservation increase the chances that everyone gets Pre-Check?

Longest common substring in linear time

Are lightweight LN wallets vulnerable to transaction withholding?

Two-sided logarithm inequality

Query about absorption line spectra

Do the concepts of IP address and network interface not belong to the same layer?

Find last 3 digits of this monster number

Is it possible to use .desktop files to open local pdf files on specific pages with a browser?

Could the E-bike drivetrain wear down till needing replacement after 400 km?

What is this type of notehead called?

Should I stop contributing to retirement accounts?

How much character growth crosses the line into breaking the character

Wrapping Cryptocurrencies for interoperability sake

Should I install hardwood flooring or cabinets first?

Did arcade monitors have same pixel aspect ratio as TV sets?

Difference between -| and |- in TikZ

Can the Supreme Court overturn an impeachment?

Proof of Lemma: Every nonzero integer can be written as a product of primes

Constructing Group Divisible Designs - Algorithms?

What major Native American tribes were around Santa Fe during the late 1850s?



An unexpected version directory `Assets` was encountered for Private Pod


Respective Pods Directories Remain Empty After `pod install`pod spec lint error: “unexpected '@' in program”Is there an better way to get code from an internal cocoapod into a project?cocoapods: An unexpected version directory was encountered. How do I fix this?Private Pods with SVN repositorywhen installing webRtc quickblox podfile for adding video calling feature the terminal displaying “dependency target not used in any target” errorCocoaPods 1.0, `pod repo update` does not happen on `pod install` by defaultcocoapods create private pods ,pod search failFirebase Push Notification installing error on extractingAn unexpected version directory Classes was encountered













2















I have built a private CocoaPods repo that is used in my company. This repo can be pushed to gitlab.com. The procedure is like this:



//1
pod lib create PZResources

//2 change podspec
//3 add directory and images to PZResources.
//4 push these changes to gitlab.com. Then add tag and push tags to server.

//5 vertify spec
pod spec lint --sources=https://zlanchun@gitlab.com/zlanchun/PZResources.git

//6 pod repo add
pod repo add PZResources https://zlanchun@gitlab.com/zlanchun/PZResources.git

//6 pod repo push
pod repo push PZResources PZResources.podspec --sources=https://zlanchun@gitlab.com/zlanchun/PZResources.git


Then I open a new project, pod it, and add new library to the Podfile:



# Uncomment the next line to define a global platform for your project
platform :ios, '7.0'
source 'https://zlanchun@gitlab.com/zlanchun/PZResources.git'
source 'https://github.com/CocoaPods/Specs.git'

target 'PZDemo' do
# Uncomment the next line if you're using Swift or would like to use dynamic frameworks
# use_frameworks!
pod "PZResources"
# Pods for PZDemo

end


After the above steps, this error occurs:



[!] An unexpected version directory `Assets` was encountered for the `/Users/z/.cocoapods/repos/PZResources/PZResources` Pod in the `PZResources` repository.


I think my procedure is correct, but this error occurred. I don't know what is wrong.










share|improve this question




























    2















    I have built a private CocoaPods repo that is used in my company. This repo can be pushed to gitlab.com. The procedure is like this:



    //1
    pod lib create PZResources

    //2 change podspec
    //3 add directory and images to PZResources.
    //4 push these changes to gitlab.com. Then add tag and push tags to server.

    //5 vertify spec
    pod spec lint --sources=https://zlanchun@gitlab.com/zlanchun/PZResources.git

    //6 pod repo add
    pod repo add PZResources https://zlanchun@gitlab.com/zlanchun/PZResources.git

    //6 pod repo push
    pod repo push PZResources PZResources.podspec --sources=https://zlanchun@gitlab.com/zlanchun/PZResources.git


    Then I open a new project, pod it, and add new library to the Podfile:



    # Uncomment the next line to define a global platform for your project
    platform :ios, '7.0'
    source 'https://zlanchun@gitlab.com/zlanchun/PZResources.git'
    source 'https://github.com/CocoaPods/Specs.git'

    target 'PZDemo' do
    # Uncomment the next line if you're using Swift or would like to use dynamic frameworks
    # use_frameworks!
    pod "PZResources"
    # Pods for PZDemo

    end


    After the above steps, this error occurs:



    [!] An unexpected version directory `Assets` was encountered for the `/Users/z/.cocoapods/repos/PZResources/PZResources` Pod in the `PZResources` repository.


    I think my procedure is correct, but this error occurred. I don't know what is wrong.










    share|improve this question


























      2












      2








      2








      I have built a private CocoaPods repo that is used in my company. This repo can be pushed to gitlab.com. The procedure is like this:



      //1
      pod lib create PZResources

      //2 change podspec
      //3 add directory and images to PZResources.
      //4 push these changes to gitlab.com. Then add tag and push tags to server.

      //5 vertify spec
      pod spec lint --sources=https://zlanchun@gitlab.com/zlanchun/PZResources.git

      //6 pod repo add
      pod repo add PZResources https://zlanchun@gitlab.com/zlanchun/PZResources.git

      //6 pod repo push
      pod repo push PZResources PZResources.podspec --sources=https://zlanchun@gitlab.com/zlanchun/PZResources.git


      Then I open a new project, pod it, and add new library to the Podfile:



      # Uncomment the next line to define a global platform for your project
      platform :ios, '7.0'
      source 'https://zlanchun@gitlab.com/zlanchun/PZResources.git'
      source 'https://github.com/CocoaPods/Specs.git'

      target 'PZDemo' do
      # Uncomment the next line if you're using Swift or would like to use dynamic frameworks
      # use_frameworks!
      pod "PZResources"
      # Pods for PZDemo

      end


      After the above steps, this error occurs:



      [!] An unexpected version directory `Assets` was encountered for the `/Users/z/.cocoapods/repos/PZResources/PZResources` Pod in the `PZResources` repository.


      I think my procedure is correct, but this error occurred. I don't know what is wrong.










      share|improve this question
















      I have built a private CocoaPods repo that is used in my company. This repo can be pushed to gitlab.com. The procedure is like this:



      //1
      pod lib create PZResources

      //2 change podspec
      //3 add directory and images to PZResources.
      //4 push these changes to gitlab.com. Then add tag and push tags to server.

      //5 vertify spec
      pod spec lint --sources=https://zlanchun@gitlab.com/zlanchun/PZResources.git

      //6 pod repo add
      pod repo add PZResources https://zlanchun@gitlab.com/zlanchun/PZResources.git

      //6 pod repo push
      pod repo push PZResources PZResources.podspec --sources=https://zlanchun@gitlab.com/zlanchun/PZResources.git


      Then I open a new project, pod it, and add new library to the Podfile:



      # Uncomment the next line to define a global platform for your project
      platform :ios, '7.0'
      source 'https://zlanchun@gitlab.com/zlanchun/PZResources.git'
      source 'https://github.com/CocoaPods/Specs.git'

      target 'PZDemo' do
      # Uncomment the next line if you're using Swift or would like to use dynamic frameworks
      # use_frameworks!
      pod "PZResources"
      # Pods for PZDemo

      end


      After the above steps, this error occurs:



      [!] An unexpected version directory `Assets` was encountered for the `/Users/z/.cocoapods/repos/PZResources/PZResources` Pod in the `PZResources` repository.


      I think my procedure is correct, but this error occurred. I don't know what is wrong.







      cocoapods gitlab






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited May 31 '17 at 0:43









      BSMP

      2,62952536




      2,62952536










      asked May 25 '17 at 7:37









      Pace.zPace.z

      316




      316






















          1 Answer
          1






          active

          oldest

          votes


















          2














          With times go, I found this answer for it.



          Because the repo is private for me, I need a Specs repo to collect these private repos. But I don't have one. So the error occur.



          Then follow below steps, I solved this error.



          1.Create a gitlab repo called Specs that used to collect private repo.
          2.add repo and push private repo to Specs.
          3.In Podfile, add source url.
          4.pod install


          For example:



          1.delete pod repo in your computer cache



          $ pod repo list


          If you have PZResources repo ,then you should delete it.



          $ pod repo remove PZResources


          2.add lib repo to remote Specs repo



          $ pod repo add PZResources https://zlanchun@gitlab.com/zlanchun/Specs.git


          3.push lib repo to remote Specs repo. You can use --sources for it.



          $ pod repo push PZResources PZResources.podspec --sources=https://zlanchun@gitlab.com/zlanchun/Specs.git


          Maybe it need an username and password, just complete it.



          4.Create a test project and pod init, then in Podfile add the info below:



          //search private Specs. If this Specs cann't have repo, then seacrch github Specs.
          source 'https://zlanchun@gitlab.com/zlanchun/Specs.git'
          source 'https://github.com/CocoaPods/Specs.git'

          target 'TestPrivateLibRepo' do
          pod 'PZResources'
          end





          share|improve this answer
























            Your Answer






            StackExchange.ifUsing("editor", function ()
            StackExchange.using("externalEditor", function ()
            StackExchange.using("snippets", function ()
            StackExchange.snippets.init();
            );
            );
            , "code-snippets");

            StackExchange.ready(function()
            var channelOptions =
            tags: "".split(" "),
            id: "1"
            ;
            initTagRenderer("".split(" "), "".split(" "), channelOptions);

            StackExchange.using("externalEditor", function()
            // Have to fire editor after snippets, if snippets enabled
            if (StackExchange.settings.snippets.snippetsEnabled)
            StackExchange.using("snippets", function()
            createEditor();
            );

            else
            createEditor();

            );

            function createEditor()
            StackExchange.prepareEditor(
            heartbeatType: 'answer',
            autoActivateHeartbeat: false,
            convertImagesToLinks: true,
            noModals: true,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: 10,
            bindNavPrevention: true,
            postfix: "",
            imageUploader:
            brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
            contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
            allowUrls: true
            ,
            onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            );



            );













            draft saved

            draft discarded


















            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f44174926%2fan-unexpected-version-directory-assets-was-encountered-for-private-pod%23new-answer', 'question_page');

            );

            Post as a guest















            Required, but never shown

























            1 Answer
            1






            active

            oldest

            votes








            1 Answer
            1






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            2














            With times go, I found this answer for it.



            Because the repo is private for me, I need a Specs repo to collect these private repos. But I don't have one. So the error occur.



            Then follow below steps, I solved this error.



            1.Create a gitlab repo called Specs that used to collect private repo.
            2.add repo and push private repo to Specs.
            3.In Podfile, add source url.
            4.pod install


            For example:



            1.delete pod repo in your computer cache



            $ pod repo list


            If you have PZResources repo ,then you should delete it.



            $ pod repo remove PZResources


            2.add lib repo to remote Specs repo



            $ pod repo add PZResources https://zlanchun@gitlab.com/zlanchun/Specs.git


            3.push lib repo to remote Specs repo. You can use --sources for it.



            $ pod repo push PZResources PZResources.podspec --sources=https://zlanchun@gitlab.com/zlanchun/Specs.git


            Maybe it need an username and password, just complete it.



            4.Create a test project and pod init, then in Podfile add the info below:



            //search private Specs. If this Specs cann't have repo, then seacrch github Specs.
            source 'https://zlanchun@gitlab.com/zlanchun/Specs.git'
            source 'https://github.com/CocoaPods/Specs.git'

            target 'TestPrivateLibRepo' do
            pod 'PZResources'
            end





            share|improve this answer





























              2














              With times go, I found this answer for it.



              Because the repo is private for me, I need a Specs repo to collect these private repos. But I don't have one. So the error occur.



              Then follow below steps, I solved this error.



              1.Create a gitlab repo called Specs that used to collect private repo.
              2.add repo and push private repo to Specs.
              3.In Podfile, add source url.
              4.pod install


              For example:



              1.delete pod repo in your computer cache



              $ pod repo list


              If you have PZResources repo ,then you should delete it.



              $ pod repo remove PZResources


              2.add lib repo to remote Specs repo



              $ pod repo add PZResources https://zlanchun@gitlab.com/zlanchun/Specs.git


              3.push lib repo to remote Specs repo. You can use --sources for it.



              $ pod repo push PZResources PZResources.podspec --sources=https://zlanchun@gitlab.com/zlanchun/Specs.git


              Maybe it need an username and password, just complete it.



              4.Create a test project and pod init, then in Podfile add the info below:



              //search private Specs. If this Specs cann't have repo, then seacrch github Specs.
              source 'https://zlanchun@gitlab.com/zlanchun/Specs.git'
              source 'https://github.com/CocoaPods/Specs.git'

              target 'TestPrivateLibRepo' do
              pod 'PZResources'
              end





              share|improve this answer



























                2












                2








                2







                With times go, I found this answer for it.



                Because the repo is private for me, I need a Specs repo to collect these private repos. But I don't have one. So the error occur.



                Then follow below steps, I solved this error.



                1.Create a gitlab repo called Specs that used to collect private repo.
                2.add repo and push private repo to Specs.
                3.In Podfile, add source url.
                4.pod install


                For example:



                1.delete pod repo in your computer cache



                $ pod repo list


                If you have PZResources repo ,then you should delete it.



                $ pod repo remove PZResources


                2.add lib repo to remote Specs repo



                $ pod repo add PZResources https://zlanchun@gitlab.com/zlanchun/Specs.git


                3.push lib repo to remote Specs repo. You can use --sources for it.



                $ pod repo push PZResources PZResources.podspec --sources=https://zlanchun@gitlab.com/zlanchun/Specs.git


                Maybe it need an username and password, just complete it.



                4.Create a test project and pod init, then in Podfile add the info below:



                //search private Specs. If this Specs cann't have repo, then seacrch github Specs.
                source 'https://zlanchun@gitlab.com/zlanchun/Specs.git'
                source 'https://github.com/CocoaPods/Specs.git'

                target 'TestPrivateLibRepo' do
                pod 'PZResources'
                end





                share|improve this answer















                With times go, I found this answer for it.



                Because the repo is private for me, I need a Specs repo to collect these private repos. But I don't have one. So the error occur.



                Then follow below steps, I solved this error.



                1.Create a gitlab repo called Specs that used to collect private repo.
                2.add repo and push private repo to Specs.
                3.In Podfile, add source url.
                4.pod install


                For example:



                1.delete pod repo in your computer cache



                $ pod repo list


                If you have PZResources repo ,then you should delete it.



                $ pod repo remove PZResources


                2.add lib repo to remote Specs repo



                $ pod repo add PZResources https://zlanchun@gitlab.com/zlanchun/Specs.git


                3.push lib repo to remote Specs repo. You can use --sources for it.



                $ pod repo push PZResources PZResources.podspec --sources=https://zlanchun@gitlab.com/zlanchun/Specs.git


                Maybe it need an username and password, just complete it.



                4.Create a test project and pod init, then in Podfile add the info below:



                //search private Specs. If this Specs cann't have repo, then seacrch github Specs.
                source 'https://zlanchun@gitlab.com/zlanchun/Specs.git'
                source 'https://github.com/CocoaPods/Specs.git'

                target 'TestPrivateLibRepo' do
                pod 'PZResources'
                end






                share|improve this answer














                share|improve this answer



                share|improve this answer








                edited Mar 8 at 6:40









                Viktor Semenyuk

                75




                75










                answered May 27 '17 at 10:05









                Pace.zPace.z

                316




                316





























                    draft saved

                    draft discarded
















































                    Thanks for contributing an answer to Stack Overflow!


                    • Please be sure to answer the question. Provide details and share your research!

                    But avoid


                    • Asking for help, clarification, or responding to other answers.

                    • Making statements based on opinion; back them up with references or personal experience.

                    To learn more, see our tips on writing great answers.




                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function ()
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f44174926%2fan-unexpected-version-directory-assets-was-encountered-for-private-pod%23new-answer', 'question_page');

                    );

                    Post as a guest















                    Required, but never shown





















































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown

































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown







                    Popular posts from this blog

                    Identity Server 4 is not redirecting to Angular app after login2019 Community Moderator ElectionIdentity Server 4 and dockerIdentityserver implicit flow unauthorized_clientIdentityServer Hybrid Flow - Access Token is null after user successful loginIdentity Server to MVC client : Page Redirect After loginLogin with Steam OpenId(oidc-client-js)Identity Server 4+.NET Core 2.0 + IdentityIdentityServer4 post-login redirect not working in Edge browserCall to IdentityServer4 generates System.NullReferenceException: Object reference not set to an instance of an objectIdentityServer4 without HTTPS not workingHow to get Authorization code from identity server without login form

                    2005 Ahvaz unrest Contents Background Causes Casualties Aftermath See also References Navigation menue"At Least 10 Are Killed by Bombs in Iran""Iran"Archived"Arab-Iranians in Iran to make April 15 'Day of Fury'"State of Mind, State of Order: Reactions to Ethnic Unrest in the Islamic Republic of Iran.10.1111/j.1754-9469.2008.00028.x"Iran hangs Arab separatists"Iran Overview from ArchivedConstitution of the Islamic Republic of Iran"Tehran puzzled by forged 'riots' letter""Iran and its minorities: Down in the second class""Iran: Handling Of Ahvaz Unrest Could End With Televised Confessions""Bombings Rock Iran Ahead of Election""Five die in Iran ethnic clashes""Iran: Need for restraint as anniversary of unrest in Khuzestan approaches"Archived"Iranian Sunni protesters killed in clashes with security forces"Archived

                    Can't initialize raids on a new ASUS Prime B360M-A motherboard2019 Community Moderator ElectionSimilar to RAID config yet more like mirroring solution?Can't get motherboard serial numberWhy does the BIOS entry point start with a WBINVD instruction?UEFI performance Asus Maximus V Extreme