韩国人平时吃什么difflock在什么位置

Stack Overflow is a question and answer site for professional and enthusiast programmers. It's 100% free.
I'm unable to build a project that uses CocoaPods. I get the following errors:
diff: /../Podfile.lock: No such file or directory
diff: Manifest.lock: No such file or directory error:
The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.`
$ pod install seems to work fine and adds a Pods Project to my Workspace. I've tried $ pod update but this doesn't help.
It seems that PODS_ROOT is not being set.
platform :ios, '6.0'
workspace 'Example.xcworkspace'
xcodeproj 'example/Example.xcodeproj'
pod 'TestFlightSDK', '~& 1.3.0-beta.5'
pod 'TestFlightLogger', '~& 0.0.2'
pod 'CocoaLumberjack', '~& 1.6.2'
pod 'Reachability', '~& 3.1.0'
pod 'SBJson', '~& 3.2'
pod 'MKMapViewZoom', '~& 1.0.0'
11.4k1075150
I had a similar problem when I did major changes to my Podfile. My solution was to remove the workspace file and run pod install again:
rm -rf MyProject.xcworkspace
pod install
19.3k65977
TLDR: This is most likely a bug with Xcode and closing and reopening the project is usually the simplest fix. Assuming everything else is .
I occasionally get the same error when deleting the Pods directory and then running pod install.
Everything appears correct in the project info:
However, when I go to the target's User-Defined Build Settings, the PODS_ROOT entry is either entirely missing or is empty for one or more configurations. Which causes the following error on build:
The simplest fix is to close the project in Xcode and reopen it.
If you go to the target's Build Settings and filter on All, you will now see the PODS_ROOT entry with no errors:
It should now build with no errors.
Note: Even Cocoa Pods' official AFNetworking iOS Example has this problem, which leads me to believe that it is a bug with Xcode.
An alternative fix is to manually change the configuration to None, then back to its original value:
18.4k2093154
update: a podfile.lock is necessary and should not be ignored by version control, it keeps track of the versions of libraries installed at a certain pod install. (It's similar to
for rails and php dependency management, respectively). To learn more please read the . Credit goes to .
In my case, what I did was that I was doing some house cleaning for my project (ie branching out the integration tests as a git submodule.. removing duplicate files etc).. and pushed the final result to a git remote repo.. all the clients who cloned my repo suffered from the above error. Inspired by
comment above, I realized that there were some dangling pod scripts that were attempting to run against some non-existent files. So I went to my target build phase, and deleted all the remaining phases that had anything to do with cocoa pods (and Hlung's comment he suggests deleting Copy Pods Manifest.lock and copy pod resources.. mine were named different maybe b/c I'm using Xcode 5.. the point being is to delete those dangling build phases)..
8,48524589
So it seems that CocoaPods didn't set the Configurations for my Project. They need to be based on the Pods.xcconfig which is found in the Pods/Target Support Files/Pods. To get this to work I had to do the following:
Drag this file into my Xcode Project in Xcode, choosing not to copy.
Now there is a reference in our project, we can set the configurations:
I then had another build error which may or may not have been related. The path to the shell script defined in the Copy Pods Resources was incorrect.
"${SRCROOT}/Pods/Pods-resources.sh"
Resolved incorrectly. It seemed that SRCROOT was adding an extra dir that didn't exist into the path. So I hard coded the path to the Project folder.
This allowed me to build.
Why is it that so many things that are supposed to save you time end up eating it up?
Note: Please see @abood's answer for explanation.
11.4k1075150
Go to the target's Build Settings and make sure the value of PODS_ROOT equals ${SRCROOT}/Pods in "User-Defined" section.
I got rid of the same problem by doing following steps:
Xcode-&Product-&Clean Build Folder (hold alt key on Product to see it)
Open Xcode-&Window-&Organizer and select Projects tab. Then find your project and delete derived data of the project.
2,67221028
I have a similar issue this is what worked:
Delete Derived Data in Xcode/Window/Organizer/Project/Your Project
Pod directory (it contains config files, delete files not just references!)
Removed all references to the pod config files for every target in Project/Configurations (debug/release)
Removed "Targets/Build Phases/Copy Pods Resources" from all Targets
Removed "Targets/Build Settings/User-Defined/PODS_ROOT" from all Targets
Quit Xcode
In your project directory:
rm -rf Pods
rm -rf YourProject.xcworkspace
rm -rf Podfile.lock
pod install
Open YourProject.xcworkspace in Xcode
13.2k45861
Had the same issue saying
/Pods/Pods-resources.sh: No such file or directory
even after files etc related to pods were removed.
Got rid of it by going to target->Build phases and then removing the build phase "Copy Pod Resources".
Simply resolved by doing the following:
(sudo) gem install cocoapods
pod install
clean and build
it seems the problem was caused by one of our team members having a more recent cocoapods gem installation.
It wasn't very intuitive. I went to the base project settings and then I hardcoded paths to my pod.lock and pod.manifest under Check Pods Manifest.lock, because they stayed in different folders in fact, so my paths looked like this:
diff "/Users/admin/Desktop/Experimental/projectfolder/Podfile.lock" "/Users/admin/Desktop/Experimental/projectfolder/Pods/Manifest.lock" & /dev/null
if [[ $? != 0 ]] ; then
cat && EOM
error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.
open .xcodeproj file in sublime text
remove these two lines, if you have clean pods folders, i mean if you got the errors above after you removed pods folder
In my case the problem was in the wrong way. solution here
If something doesn’t seem to work, first of all ensure that you are
not completely overriding any options set from the Pods.xcconfig file
in your project’s build settings. To add values to options from your
project’s build settings, prepend the value list with $(inherited).
I had this issue.
The way I fixed it was by completely deleting the Pod implementing and re-implementing it. Make sure to delete "Copy Pods Resources" and "Check Pods Manifest.lock" from "Build Phases" on all targets as stated here:
I have created multiple targets before I ever used pods. Later when I started to compile the other targets I had to add link_with with the list of targets in my Podfile.
Your Answer
Sign up or
Sign up using Google
Sign up using Facebook
Sign up using Stack Exchange
Post as a guest
Post as a guest
By posting your answer, you agree to the
Not the answer you're looking for?
Browse other questions tagged
Stack Overflow works best with JavaScript enabledSearch Info
Popular Searches:
Site Information for
IPs: 83.166.171.230 (fl171230.node4.forlinux.co.uk)Mail records:< (Weight 10) (Weight 10) (Weight 10) (Weight 10)
Advertisement:
DNS:Available zones:
difflock.net
TAKENdifflock.org
AVAILABLEdifflock.biz
TAKENdifflock.name
Website Analysis
Yandex TCY
Title:Land Rover Parts | Land Rover Discovery & Defender Parts | 4x4 AccessoriesDescription:Shop Land Rover parts & accessories at Difflock - UK’s leading independent supplier of Land Rover Discovery parts, Defender parts, Freelander parts, Range Rover & 4x4 parts. Keywords:Magento, Varien, E-commerce
Network Tools
Whois Information
[whois.gandi.net]--- #YAML:
1.0Domain Name:
reg_Created Date:
43expires:
43Created Date:
11changed:
03transfer-prohibited:
II287-GANDI
owner-name:
ION IMAGES
organisation:
ION IMAGES
Available Domain Variations Similar
diffloc.com
Geo zones for
difflock.ac
difflock.ad
difflock.ae
difflock.af
difflock.ag
difflock.ai
difflock.al
difflock.am
difflock.an
difflock.ao
difflock.aq
difflock.ar
difflock.as
difflock.at
difflock.au
difflock.aw
difflock.az
difflock.ba
difflock.bb
difflock.bd
difflock.be
difflock.bf
difflock.bg
difflock.bh
difflock.bi
difflock.bj
difflock.bm
difflock.bn
difflock.bo
difflock.br
difflock.bs
difflock.bt
difflock.bv
difflock.bw
difflock.by
difflock.bz
difflock.ca
difflock.cc
difflock.cd
difflock.cf
difflock.cg
difflock.ch
difflock.ci
difflock.ck
difflock.cl
difflock.cm
difflock.co
difflock.cr
difflock.cu
difflock.cv
difflock.cx
difflock.cy
difflock.cz
difflock.de
difflock.dj
difflock.dk
difflock.dm
difflock.do
difflock.dz
difflock.ec
difflock.ee
difflock.eg
difflock.eh
difflock.er
difflock.es
difflock.et
difflock.eu
difflock.fi
difflock.fj
difflock.fk
difflock.fm
difflock.fo
difflock.fr
difflock.ga
difflock.gb
difflock.gd
difflock.ge
difflock.gf
difflock.gg
difflock.gh
difflock.gi
difflock.gl
difflock.gm
difflock.gn
difflock.gp
difflock.gq
difflock.gr
difflock.gs
difflock.gt
difflock.gu
difflock.gw
difflock.gy
difflock.hk
difflock.hm
difflock.hn
difflock.hr
difflock.ht
difflock.hu
difflock.id
difflock.ie
difflock.il
difflock.im
difflock.in
difflock.io
difflock.iq
difflock.ir
difflock.is
difflock.it
difflock.je
difflock.jm
difflock.jo
difflock.jp
difflock.ke
difflock.kg
difflock.kh
difflock.ki
difflock.km
difflock.kn
difflock.kp
difflock.kr
difflock.kw
difflock.ky
difflock.kz
difflock.la
difflock.lb
difflock.lc
difflock.li
difflock.lk
difflock.lr
difflock.ls
difflock.lt
difflock.lu
difflock.lv
difflock.ly
difflock.ma
difflock.mc
difflock.md
difflock.me
difflock.mg
difflock.mh
difflock.mk
difflock.ml
difflock.mm
difflock.mn
difflock.mo
difflock.mp
difflock.mq
difflock.mr
difflock.ms
difflock.mt
difflock.mu
difflock.mv
difflock.mw
difflock.mx
difflock.my
difflock.mz
difflock.na
difflock.nc
difflock.ne
difflock.nf
difflock.ng
difflock.ni
difflock.nl
difflock.no
difflock.np
difflock.nr
difflock.nu
difflock.nz
difflock.om
difflock.pa
difflock.pe
difflock.pf
difflock.pg
difflock.ph
difflock.pk
difflock.pl
difflock.pm
difflock.pn
difflock.pr
difflock.ps
difflock.pt
difflock.pw
difflock.py
difflock.qa
difflock.re
difflock.ro
difflock.ru
difflock.rw
difflock.sa
difflock.sb
difflock.sc
difflock.sd
difflock.se
difflock.sg
difflock.sh
difflock.si
difflock.sj
difflock.sk
difflock.sl
difflock.sm
difflock.sn
difflock.so
difflock.sr
difflock.st
difflock.su
difflock.sv
difflock.sy
difflock.sz
difflock.tc
difflock.td
difflock.tf
difflock.tg
difflock.th
difflock.tj
difflock.tk
difflock.tl
difflock.tm
difflock.tn
difflock.to
difflock.tp
difflock.tr
difflock.tt
difflock.tv
difflock.tw
difflock.tz
difflock.ua
difflock.ug
difflock.uk
difflock.um
difflock.us
difflock.uy
difflock.uz
difflock.va
difflock.vc
difflock.ve
difflock.vg
difflock.vi
difflock.vn
difflock.vu
difflock.wf
difflock.ws
difflock.ye
difflock.yt
difflock.yu
difflock.za
difflock.zm
difflock.zw
SubGeo zones for
difflock.biz.ly
difflock.biz.nf
difflock.biz.pl
difflock.biz.tr
difflock.biz.ua
difflock.co.ae
difflock.co.am
difflock.co.ao
difflock.co.at
difflock.co.ba
difflock.co.bw
difflock.co.cc
difflock.co.ck
difflock.co.cm
difflock.co.cr
difflock.co.cu
difflock.co.ee
difflock.co.hu
difflock.co.id
difflock.co.il
difflock.co.im
difflock.co.in
difflock.co.ir
difflock.co.it
difflock.co.je
difflock.co.jp
difflock.co.ke
difflock.co.kr
difflock.co.ma
difflock.co.me
difflock.co.mz
difflock.co.nl
difflock.co.nr
difflock.co.nz
difflock.co.om
difflock.co.pl
difflock.co.rs
difflock.co.rw
difflock.co.sz
difflock.co.th
difflock.co.tt
difflock.co.tv
difflock.co.tz
difflock.co.ua
difflock.co.ug
difflock.co.uk
difflock.co.us
difflock.co.ve
difflock.co.vu
difflock.co.yu
difflock.co.za
difflock.co.zm
difflock.co.zw
difflock.edu.af
difflock.edu.al
difflock.edu.ar
difflock.edu.au
difflock.edu.az
difflock.edu.ba
difflock.edu.bd
difflock.edu.bh
difflock.edu.bn
difflock.edu.bo
difflock.edu.br
difflock.edu.bt
difflock.edu.by
difflock.edu.ci
difflock.edu.co
difflock.edu.cu
difflock.edu.do
difflock.edu.dz
difflock.edu.ec
difflock.edu.ee
difflock.edu.eg
difflock.edu.es
difflock.edu.et
difflock.edu.ge
difflock.edu.gh
difflock.edu.gr
difflock.edu.gt
difflock.edu.gy
difflock.edu.hk
difflock.edu.hn
difflock.edu.ht
difflock.edu.in
difflock.edu.iq
difflock.edu.jm
difflock.edu.jo
difflock.edu.kg
difflock.edu.kh
difflock.edu.kw
difflock.edu.lb
difflock.edu.lk
difflock.edu.ly
difflock.edu.mk
difflock.edu.mn
difflock.edu.mo
difflock.edu.mt
difflock.edu.mx
difflock.edu.my
difflock.edu.na
difflock.edu.ng
difflock.edu.ni
difflock.edu.np
difflock.edu.om
difflock.edu.pa
difflock.edu.pe
difflock.edu.ph
difflock.edu.pk
difflock.edu.pl
difflock.edu.pr
difflock.edu.ps
difflock.edu.pt
difflock.edu.py
difflock.edu.qa
difflock.edu.rs
difflock.edu.ru
difflock.edu.sa
difflock.edu.sg
difflock.edu.sv
difflock.edu.sy
difflock.edu.tr
difflock.edu.tt
difflock.edu.tw
difflock.edu.ua
difflock.edu.uy
difflock.edu.ve
difflock.edu.vn
difflock.edu.ye
difflock.edu.za
difflock.gb.net
difflock.gen.in
difflock.gov.ae
difflock.gov.af
difflock.gov.al
difflock.gov.ar
difflock.gov.au
difflock.gov.az
difflock.gov.ba
difflock.gov.bb
difflock.gov.bd
difflock.gov.bf
difflock.gov.bh
difflock.gov.bm
difflock.gov.bn
difflock.gov.br
difflock.gov.bs
difflock.gov.bt
difflock.gov.bw
difflock.gov.by
difflock.gov.bz
difflock.gov.ci
difflock.gov.cm
difflock.gov.co
difflock.gov.cu
difflock.gov.cv
difflock.gov.cy
difflock.gov.do
difflock.gov.dz
difflock.gov.ec
difflock.gov.eg
difflock.gov.et
difflock.gov.fj
difflock.gov.ge
difflock.gov.gg
difflock.gov.gh
difflock.gov.gi
difflock.gov.gr
difflock.gov.hk
difflock.gov.il
difflock.gov.im
difflock.gov.in
difflock.gov.iq
difflock.gov.ir
difflock.gov.jm
difflock.gov.jo
difflock.gov.kg
difflock.gov.kh
difflock.gov.kn
difflock.gov.kw
difflock.gov.ky
difflock.gov.lb
difflock.gov.lc
difflock.gov.lk
difflock.gov.lr
difflock.gov.lv
difflock.gov.ly
difflock.gov.ma
difflock.gov.me
difflock.gov.mk
difflock.gov.ml
difflock.gov.mn
difflock.gov.mo
difflock.gov.mt
difflock.gov.my
difflock.gov.mz
difflock.gov.ng
difflock.gov.np
difflock.gov.om
difflock.gov.ph
difflock.gov.pk
difflock.gov.pl
difflock.gov.pr
difflock.gov.ps
difflock.gov.pt
difflock.gov.py
difflock.gov.qa
difflock.gov.rs
difflock.gov.ru
difflock.gov.rw
difflock.gov.sa
difflock.gov.sd
difflock.gov.sg
difflock.gov.sy
difflock.gov.tm
difflock.gov.tn
difflock.gov.tr
difflock.gov.tt
difflock.gov.tw
difflock.gov.ua
difflock.gov.uk
difflock.gov.uz
difflock.gov.ve
difflock.gov.vn
difflock.gov.ye
difflock.gov.za
difflock.gov.zm
difflock.ind.in
difflock.kiev.ua
difflock.me.uk
difflock.net.ag
difflock.net.am
difflock.net.cm
difflock.net.co
difflock.net.hn
difflock.net.ki
difflock.net.lb
difflock.net.lc
difflock.net.mu
difflock.net.nz
difflock.net.pe
difflock.net.pl
difflock.net.ru
difflock.net.sb
difflock.net.sc
difflock.nom.co
difflock.nom.es
difflock.or.at
difflock.org.ae
difflock.org.af
difflock.org.ag
difflock.org.am
difflock.org.ar
difflock.org.au
difflock.org.az
difflock.org.bd
difflock.org.bo
difflock.org.br
difflock.org.by
difflock.org.co
difflock.org.cu
difflock.org.cy
difflock.org.do
difflock.org.dz
difflock.org.ec
difflock.org.eg
difflock.org.es
difflock.org.gh
difflock.org.gr
difflock.org.gt
difflock.org.hk
difflock.org.hn
difflock.org.hu
difflock.org.il
difflock.org.in
difflock.org.ir
difflock.org.jo
difflock.org.ki
difflock.org.kw
difflock.org.kz
difflock.org.la
difflock.org.lb
difflock.org.lc
difflock.org.ma
difflock.org.mk
difflock.org.mo
difflock.org.mt
difflock.org.mu
difflock.org.mx
difflock.org.my
difflock.org.mz
difflock.org.ng
difflock.org.ni
difflock.org.np
difflock.org.nz
difflock.org.om
difflock.org.pa
difflock.org.pe
difflock.org.pg
difflock.org.ph
difflock.org.pk
difflock.org.pl
difflock.org.pt
difflock.org.py
difflock.org.qa
difflock.org.ro
difflock.org.rs
difflock.org.ru
difflock.org.rw
difflock.org.sa
difflock.org.sb
difflock.org.sc
difflock.org.sg
difflock.org.sv
difflock.org.sy
difflock.org.sz
difflock.org.tn
difflock.org.tr
difflock.org.tt
difflock.org.tw
difflock.org.ua
difflock.org.uk
difflock.org.uy
difflock.org.ve
difflock.org.vn
difflock.org.za
difflock.org.zm
difflock.org.zw
difflock.pp.ua
difflock.se.net
difflock.uk.net
Other zones
difflock.aero
difflock.asia
difflock.coop
difflock.edu
difflock.gov
difflock.int
difflock.mil
difflock.mobi
difflock.museum
difflock.pro
difflock.tel
difflock.travel
difflock.xxx
& 2011 Global Domain Web Analytics. All rights reserved.11302人阅读
1. 删除工程文件夹下的Podfile、Podfile.lock及Pods文件夹
2. 删除xcworkspace文件
3. 使用xcodeproj文件打开工程,删除Frameworks组下的Pods.xcconfig及libPods.a引用
4. 在工程设置中的Build Phases下删除Check Pods Manifest.lock及Copy Pods Resources
ps:如果将cocoapods集成到工程中后不小心修改或删除了其相关文件导致无法便以通过例如:不小心把
Pods.xcconfig给删除了然后出现diff: /../Podfile.lock: No such file or directory,用上面的方法删除cocoapods后,
再重新$sudo pod install一下就好了。
如果编译的时候出现权限问题,对工程文件夹$sudo chmod 777 path-to-project-folder/*
$sudo chown 777 path-to-project-folder/*
From:/questions//how-to-remove-cocoapods-from-a-project
* 以上用户言论只代表其个人观点,不代表CSDN网站的观点或立场
访问:327297次
积分:3328
积分:3328
排名:第4708名
原创:28篇
转载:107篇
评论:28条
(1)(1)(4)(9)(4)(2)(7)(9)(1)(4)(4)(22)(8)(28)(2)(1)(1)(9)(4)(3)(1)(1)(4)(4)(2)Xcode工程使用CocoaPods管理第三方库新建工程时出现异常
&来源:读书人网&【读书人网():综合教育门户网站】
Xcode工程使用CocoaPods管理第三方库新建工程时出现错误工程使用CocoaPods管理第三方库,在新的目录update
Xcode工程使用CocoaPods管理第三方库新建工程时出现错误
工程使用CocoaPods管理第三方库,在新的目录update版本的时候出现如下问题 问题1描述:diff: /../Podfile.lock: No such file or directory diff: /Manifest.lock: No such file or directory error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation. 解决办法:进入到工程目录重新pod install一下 上面步骤进行过之后运行工程可能会有下面错误,那是因为当前用户的权限所致。问题2描述:/Users/wmm-mac/Documents/Program-SVN/Versions/code/iPhone/GeneralProject/Pods/Pods-resources.sh: line 5: /Users/wmm-mac/Documents/Program-SVN/Versions/code/iPhone/GeneralProject/Pods/resources-to-copy-GeneralProject.txt: Permission denied Pod没有权限:如果没有权限,可执行下面代码sudo chmod 777 Pods&}

我要回帖

更多关于 韩国人平时吃什么 的文章

更多推荐

版权声明:文章内容来源于网络,版权归原作者所有,如有侵权请点击这里与我们联系,我们将及时删除。

点击添加站长微信