Skip to content
This repository has been archived by the owner on May 27, 2020. It is now read-only.

Loggerithm not working on iOS7 #4

Closed
MatthieuTnsc opened this issue Aug 20, 2015 · 12 comments
Closed

Loggerithm not working on iOS7 #4

MatthieuTnsc opened this issue Aug 20, 2015 · 12 comments

Comments

@MatthieuTnsc
Copy link

Hi, I'm trying to install Loggerithm via CocoaPods but I get the following error when I run 'pod install'

Updating local specs repositories
Analyzing dependencies
dyld: warning, LC_RPATH @executable_path/../lib in /Applications/Xcode.app/Contents/Frameworks/IDEFoundation.framework/Versions/A/../../../../Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/libclang.dylib being ignored in restricted program because of @executable_path
dyld: warning, LC_RPATH @executable_path/../Frameworks in /Applications/Xcode.app/Contents/PlugIns/Xcode3Core.ideplugin/Contents/MacOS/Xcode3Core being ignored in restricted program because of @executable_path
[!] Unable to satisfy the following requirements:

- `Loggerithm` required by `Podfile`

I'm running on OS X El Capitan 10.11 (15A244d) & Xcode 6.4 (6E35b)
I am using CocoaPods with many other dependencies and never get that issue.

Here is the most relevant information I fond about this issue : http://stackoverflow.com/questions/31778963/dyld-warnings-from-using-cocoapods

The thing is that I don't have any problem with these pods :

  • pod 'Parse'
  • pod 'Appirater'
  • pod 'KVNProgress'
  • pod 'MaterialKit'
  • pod 'YLMoment'
@honghaoz
Copy link
Owner

Seems like you have tried to use Xcode 7 beta? Not sure whether this command helps
sudo xcode-select -s /Applications/Xcode.app/Contents/Developer/

@MatthieuTnsc
Copy link
Author

Yes I tried it but it is uninstalled since a while and I reinstalled Cocoapods and Xcode Tools since.
I just tried your command and still got the same error.

@honghaoz
Copy link
Owner

Hmm, I also have no clues. Since El Capitan is still in beta, not sure about it.
Can you post your pod file?

@MatthieuTnsc
Copy link
Author

Here it is :

source 'https://github.com/CocoaPods/Specs.git'
platform :ios, '7.0'
use_frameworks!

pod 'Parse'
pod 'Appirater'
pod 'KVNProgress'
pod 'MaterialKit'
pod 'YLMoment', '~> 0.2.0'
pod 'Loggerithm', '~> 1.2'

@honghaoz
Copy link
Owner

Ohh, wait, the platform is for 7.0, Loggerithm is specifying 8.0. That's probably why it doesn't work.

@honghaoz
Copy link
Owner

I should update it for iOS7, but since I don't have a platform to test it. So I just used s.ios.deployment_target = "8.0" in the pod spec file.

Loggerithm.podspec.

If you have iOS7 devices, you can help me to test it.

  • Fork this project.
  • Modify Loggerithm.podspec file:
    • Change the s.ios.deployment_target to 7.0
    • Set s.source = { : path => "<path of pod spec>"}
  • Run pod install locally to see how it works

@MatthieuTnsc
Copy link
Author

Thanks, it works with iOS 8.0 as target.
dyld: warnings still prompting but doesn't affect the process apparently !

I wanted to use Loggerithm into my app but I really need to keep supporting iOS 7.0 so I hope you'll be supporting it one day :)

@honghaoz
Copy link
Owner

@MatthieuTnsc Let me create a branch for iOS7, will let you know how it works

@honghaoz
Copy link
Owner

@MatthieuTnsc Can you try pod 'Loggerithm', :git => 'https://github.com/honghaoz/Loggerithm.git', :branch => 'test-ios7'

If it works, I'll update the master branch

@MatthieuTnsc
Copy link
Author

Done! pod install is working from this branch with iOS 7 targeted.
I'll play with it and tell you if I encounter some issues. Thank you for all your work and reactivity 👍

@honghaoz
Copy link
Owner

@MatthieuTnsc Thanks man! If everything works well. I can update it to main pod spec.

@honghaoz honghaoz changed the title pod install not working on OS X 10.11 Loggerithm not working on iOS7 Aug 21, 2015
@honghaoz
Copy link
Owner

@MatthieuTnsc Hey, I found this issue CocoaPods/swift#22.
I think even though with test-ios7, you can use cocoa pods to install Loggerithm, but the App maybe rejected by Apple. A better way to use Loggerithm with CocoaPods on iOS7 will be installing it manually.

@honghaoz honghaoz closed this as completed Sep 1, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants