Giter Club home page Giter Club logo

Comments (10)

youknowone avatar youknowone commented on June 30, 2024

Could you paste 3 commands results to understand this more?

  1. Get the cocoapods version
pod --version
  1. Get the installed cocoapods files. In the project directory,
find Pods
  1. Get the error messages with compiler options. In the project directory,
xcodebuild

from ui7kit.

youknowone avatar youknowone commented on June 30, 2024

I found I was using old version of cocoapods. It is solved now. Thank you for reporting!

from ui7kit.

youknowone avatar youknowone commented on June 30, 2024

If you met problem again reopen please :)

from ui7kit.

dreampowder avatar dreampowder commented on June 30, 2024

hi there, i still getting this error.. i am using cocoapods version 0.23.0

from ui7kit.

youknowone avatar youknowone commented on June 30, 2024

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.

dreampowder avatar dreampowder commented on June 30, 2024

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.

skull-squadron avatar skull-squadron commented on June 30, 2024

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.

youknowone avatar youknowone commented on June 30, 2024

This script works great ;)

from ui7kit.

VincentSit avatar VincentSit commented on June 30, 2024

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:
ui7kit_01
When I do this and bulid(Command+B) , I getting this error:
ui7kit_02
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[])
....

ui7kit_03
ui7kit_04

I guess there may be some wrong with pod directory hierarchy, below is UI7Kit and referenced file in the directory hierarchy:
ui7kit_05
ui7kit_06

from ui7kit.

VincentSit avatar VincentSit commented on June 30, 2024

I found a new problem :
ui7kit_07

from ui7kit.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.