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

                    Thal And Out Agency railway station See also References External links Navigation menuOfficial Web Site of Pakistan RailwaysArchivedOfficial Web Site of Pakistan Railwayseeexpanding ite

                    Understanding generators in Python2019 Community Moderator ElectionGenerator function not working pythonFor loop not executing two timesGenerators - Printing generated valuesWhy can a python generator only be used once?What exactly do generators do?What does the “yield” keyword do?What does “list comprehension” mean? How does it work and how can I use it?sklearn Kfold acces single fold instead of for loopIs a generator the callable? Which is the generator?Apply Border To Range Of Cells Using OpenpyxlCalling an external command in PythonWhat are metaclasses in Python?What is the difference between @staticmethod and @classmethod?Finding the index of an item given a list containing it in PythonDifference between append vs. extend list methods in PythonHow can I safely create a nested directory in Python?Does Python have a ternary conditional operator?Understanding slice notationUnderstanding Python super() with __init__() methodsDoes Python have a string 'contains' substring method?

                    How can I change the color of pagination dots of UIPageControl?How to change UIPageControl dotsIs there a way to change page indicator dots colorCustomize dot with image of UIPageControl at index 0 of UIPageControlNo visible @interface for 'NSObject<PageControlDelegate>' declares the selector 'pageControlPageDidChange:'How to change the color of pagination dots in UIPageControl with a different color per pagepagecontrol indicator custom image instead of DefaultChanging the colour of UIPageControl dots in MonoTouchpagecontrol selectable page visibility color?Alternative way to load ViewControllers on a UIPageControlHow to set only layer.border-color for UIpage control dots in swiftHow can I develop for iPhone using a Windows development machine?How to change the name of an iOS app?UITableView - change section header coloruipagecontrol indicator(dot)issueCustom UIPageControl dots color not changingchange the interspace between UIPageControl dotsHow to change Status Bar text color in iOSHow can I change image tintColor in iOS and WatchKitUIPageControl dots with larger space in between each dotsHow to change the color of pagination dots in UIPageControl with a different color per page