aharren / LibComponentLogging-Core

A small logging library for Objective-C applications (Mac OS X and iPhone OS/iOS) which provides conditional logging based on log levels and log components. Additionally, different logging strategies can be used, e.g. writing log messages to a file or sending them to the system log, while using the same logging interface.
http://0xc0.de/LibComponentLogging
110 stars 11 forks source link

Multiple warnings at Pod install #27

Closed adongarwar closed 9 years ago

adongarwar commented 9 years ago

I'm running pod install with following specs. Installing stage is fine, but later i see following warnings at the end. Also, running lcl_configure pod says "command not found. The name of the file that actually exists is pod. lcl_configure. Please help. Thanks in advance-

platform :ios, '8.0' pod 'LibComponentLogging-Core' pod 'LibComponentLogging-LogFile' pod 'LibComponentLogging-qlog'

[!] Found multiple specifications for LibComponentLogging-Core (1.3.3):

[!] Found multiple specifications for LibComponentLogging-Core (1.3.2):

[!] Found multiple specifications for LibComponentLogging-Core (1.3.1):

[!] Found multiple specifications for LibComponentLogging-Core (1.2.2):

[!] Found multiple specifications for LibComponentLogging-Core (1.2.1):

[!] Found multiple specifications for LibComponentLogging-Core (1.1.6):

[!] Found multiple specifications for LibComponentLogging-Core (1.1.5):

[!] Found multiple specifications for LibComponentLogging-Core (1.1.4):

[!] Found multiple specifications for LibComponentLogging-LogFile (1.2.2):

[!] Found multiple specifications for LibComponentLogging-LogFile (1.2.1):

[!] Found multiple specifications for LibComponentLogging-LogFile (1.1.5):

[!] Found multiple specifications for LibComponentLogging-qlog (1.1.1):

[!] Found multiple specifications for LibComponentLogging-qlog (1.0.3):

[!] CocoaPods did not set the base configuration of your project because your project already has a custom config set. In order for CocoaPods integration to work at all, please either set the base configurations of the target Carebook to ../Pods/Target Support Files/Pods/Pods.debug.xcconfig or include the ../Pods/Target Support Files/Pods/Pods.debug.xcconfig in your build configuration.

[!] CocoaPods did not set the base configuration of your project because your project already has a custom config set. In order for CocoaPods integration to work at all, please either set the base configurations of the target Carebook to ../Pods/Target Support Files/Pods/Pods.distribution-adhoc.xcconfig or include the ../Pods/Target Support Files/Pods/Pods.distribution-adhoc.xcconfig in your build configuration.

aharren commented 9 years ago

Can you remove the /Users/adongarwar/.cocoapods/repos/lcl/folder? The CocoaPods master repository at /Users/adongarwar/.cocoapods/repos/master/already contains the latest specs.

aharren commented 9 years ago

For lcl_configure, please add the LibComponentLogging-pods pod:

platform :ios, 8

pod 'LibComponentLogging-Core'
pod 'LibComponentLogging-LogFile'
pod 'LibComponentLogging-qlog'

pod 'LibComponentLogging-pods'

After pod install you can then simply run Pods/LibComponentLogging-pods/configure/lcl_configure pod

adongarwar commented 9 years ago

Removed /Users/adongarwar/.cocoapods/repos/lcl/, and getting semantic issues. screen shot 2015-03-30 at 1 56 55 pm

aharren commented 9 years ago

Can you check that your lcl_config_components.h file contains these items?

adongarwar commented 9 years ago

There is no file like lcl_config_components.h in my project. Only following 2 files. Update : Got it. There was 3 files on the root of project, imported 3 of them (components, extensions, logger). Still the semantic issues r still there. screen shot 2015-03-30 at 2 08 36 pm

adongarwar commented 9 years ago

Got it. There was 3 files on the root of project, imported 3 of them (components, extensions, logger). Still the semantic issues r still there.

adongarwar commented 9 years ago

this is hw components file looks like -

/_::lclconfigure:begin::/ /_::lclconfigure:end::/

aharren commented 9 years ago

You need to add a line in the components file which defines your Carebook component

aharren commented 9 years ago

Something like

_lcl_component(Carebook, "carebook", "Carebook")

adongarwar commented 9 years ago

Got it. Thanks. It's compiling now.