Comments (10)
Could you paste 3 commands results to understand this more?
- Get the cocoapods version
pod --version
- Get the installed cocoapods files. In the project directory,
find Pods
- Get the error messages with compiler options. In the project directory,
xcodebuild
from ui7kit.
I found I was using old version of cocoapods. It is solved now. Thank you for reporting!
from ui7kit.
If you met problem again reopen please :)
from ui7kit.
hi there, i still getting this error.. i am using cocoapods version 0.23.0
from ui7kit.
Mmm, ok, how about rm -rf Pods Podfile.lock && pod install
?
pod install shows you some warning, if you set wrong your project. If you have any warning, you should fix it first.
(it may includes warnings about header path)
Or, if your app is not first target of your project, move your target to first of your project and retry again.
I think this is cocoapods issue, actually. And these are how I solved it usually.
from ui7kit.
Thanks, i realized that somehow cocoapod couldn't updated my header path's of my main project.. i selected the property and pressed backspace problem fixed.. Thanks for helping
—
Sent from Mailbox for iPhone
On Wed, Aug 21, 2013 at 9:40 PM, Jeong YunWon [email protected]
wrote:
Mmm, ok, how about
rm -rf Pods Podfile.lock && pod install
?
pod install shows you some warning, if you set wrong your project. If you have any warning, you should fix it first.
(it may includes warnings about header path)
Or, if your app is not first target of your project, move your target to first of your project and retry again.I think this is cocoapods issue, actually. And these are how I solved it usually.
Reply to this email directly or view it on GitHub:
#37 (comment)
from ui7kit.
I wrote a hacky script to force re-downloading a particular pod (especially for when using :git or :podspec)
repod UI7Kit
#!/bin/sh
# ~/bin/repod
set -e
if [ ! -e Podfile ]; then
echo "Podfile not found" >&2
exit 1
fi
if [ -z "$1" ]; then
echo "Missing pod to reinstall" >&2
exit 1
fi
unpod() {
if ! grep -qs "$1" Podfile; then
echo "Pod $1 not found in Podfile" >&2
exit 1
fi
sed -i '' "s%pod.*$1.*%#&%g" Podfile
}
ununpod() {
if ! grep -qs "$1" Podfile; then
echo "Pod $1 not found in Podfile" >&2
exit 1
fi
sed -i '' "s%^#*\(pod.*$1.*\)$%\1%g" Podfile
}
for POD in "$@"; do
unpod "$POD"
done
pod
for POD in "$@"; do
ununpod "$POD"
done
pod
from ui7kit.
This script works great ;)
from ui7kit.
Hi there, I have getting this problem again and I tried all of the above solution but still can not solve the problem.
I am using cocoapod version 0.26.2 and UI7Kit 0.9.9. Here are some infomation you may need.
Podfile:
platform :ios, '5.0'
# ignore all warnings from all pods
inhibit_all_warnings!
# ignore warnings from a specific pod
# pod 'Facebook-iOS-SDK', :inhibit_warnings => true
pod 'MKNetworkKit', :head
pod 'MagicalRecord', '2.1'
pod 'HMSegmentedControl', '~> 1.2.0'
pod 'JSONKit', '1.4'
pod 'REMarkerClusterer', '~> 2.2'
pod 'SVProgressHUD', '0.9'
pod 'EasyTableView', '~> 1.1.1'
pod 'iCarousel', '~> 1.7.6'
pod 'FXLabel', '~> 1.5.2'
pod 'FXImageView', '~> 1.2.3'
pod 'UMeng', '~> 2.2.0'
pod 'IDMPhotoBrowser', '~> 1.2.1'
pod 'Appirater', '1.0.5'
pod 'iVersion', '~> 1.10.6'
pod 'KKGestureLockView', '~> 1.0.0'
pod 'RNCryptor', '~> 2.1'
pod 'REMenu', '~> 1.5.1'
pod 'UI7Kit'
Install log:
➜ MyProject git:(develop) ✗ pod install
Analyzing dependencies
/Users/myName/.rvm/gems/ruby-2.0.0-p247/gems/cocoapods-0.26.2/lib/cocoapods/sources_manager.rb:170: warning: Insecure world writable dir /Users/myName in PATH, mode 040777
Downloading dependencies
Using AFNetworking (1.3.3)
Using Appirater (1.0.5)
Using DACircularProgress (2.1.0)
Using EasyTableView (1.1.1)
Using FXImageView (1.2.3)
Using FXLabel (1.5.2)
Installing FoundationExtension (0.45)
Installing GIKPopoverBackgroundView (0.0.1)
Using HMSegmentedControl (1.2.0)
Using IDMPhotoBrowser (1.2.5)
Using JSONKit (1.4)
Using KKGestureLockView (1.0.0)
Using MKNetworkKit (HEAD based on 0.87)
Using MagicalRecord (2.1)
Using REMarkerClusterer (2.3)
Using REMenu (1.5.1)
Using RNCryptor (2.1)
Using Reachability (3.1.1)
Using SVProgressHUD (0.9)
Installing SevenSwitch (1.3.0)
Installing UI7Kit (0.9.9)
Installing UIKitResources (7.0)
Installing cdebug (0.1.1)
Using iCarousel (1.7.6)
Using iVersion (1.10.6)
Generating Pods project
Integrating client project
➜ MyProject git:(develop) ✗
I can't using #import <UI7Kit/UI7Kit.h>
to patch in the main.m, but I can do this:
When I do this and bulid(Command+B) , I getting this error:
But if I do not import it can find this file (before does not work) :
#import "IBLAppDelegate.h"
//#import <UI7Kit/UI7Kit/UI7Kit.h>
int main(int argc, char *argv[])
....
I guess there may be some wrong with pod directory hierarchy, below is UI7Kit and referenced file in the directory hierarchy:
from ui7kit.
from ui7kit.
Related Issues (20)
- UISearchBar appearance issues
- If alertView has no button, not draw background. HOT 1
- No separator between cells when using grouped styled table view HOT 1
- Back button arrow disappears if I try to remove the text on the back button
- Seem a leak In UI7NavigationBar HOT 3
- No UI7DatePicker? HOT 1
- UIViewController layout guides crash
- UI7Kit does not colorize correctly on UITableView grouped style HOT 4
- Pods-environment.h doesn't exist when targets are used in Podfile
- The frame is not correct when i edit the ABPersonViewController...
- UI7PickerView doesn't show text
- Problem to compile together with the Parse sdk ? HOT 2
- UITableView height of header section doesn't work well
- UI7SegmentedControl
- please update Podspec and Release Tag! HOT 1
- Pods/Headers/Build/UI7Kit/UI7Kit/UI7Kit.h:16:10: '../Pods-environment.h' file not found HOT 7
- UI7Kit.h doesn't exist issue HOT 2
- 'Pods-environment.h' file not found HOT 2
- Important notice about bug reports and patches HOT 1
- Crashes on iOS 10 for me
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ui7kit.