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
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
add a comment |
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
add a comment |
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
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
cocoapods gitlab
edited May 31 '17 at 0:43
BSMP
2,62952536
2,62952536
asked May 25 '17 at 7:37
Pace.zPace.z
316
316
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
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
add a comment |
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
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
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
add a comment |
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
add a comment |
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
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
edited Mar 8 at 6:40
Viktor Semenyuk
75
75
answered May 27 '17 at 10:05
Pace.zPace.z
316
316
add a comment |
add a comment |
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.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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