-
Notifications
You must be signed in to change notification settings - Fork 2.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Usage of pods static library in user's project. #1
Comments
In order to make the app link the right libraries in the simplest way seems to be to generate an xcconfig file that the user's target configurations need to be based on. This also fixes the other extra settings needed in the user's app. I’ve added some code that generates xcconfig files like:
|
Still need to write-up how the user should setup her project to use cocoa-pods. |
Can this issue be closed? |
@irrationalfab Yeah definitely. I think it’s best if you just close tickets when you think that’s the correct course and optionally say ‘re-open if still applicable’ :) |
Hi, https://groups.google.com/forum/?fromgroups=#!topic/cocoapods/DOVaKHXzfnI cheers, |
Regarding the thread on the mailing list
The xcodeproj directive refers to the current target so a correct setup would have been:
|
Hi, https://www.dropbox.com/s/7blzr46ckgi8wua/MyApp2.zip but I'm getting the error
The Podfile included in the zip is:
|
When there is one than more project you need to specify the name of the workspace manually: workspace 'MyApp'
platform :ios, '6.0'
target :MyApp do
pod 'MBProgressHUD', '~> 0.5'
pod 'SEHumanizedTimeDiff', '~> 0.0.1'
end
target :MyLibrary do
xcodeproj 'MyLibrary'
pod 'SEHumanizedTimeDiff', '~> 0.0.1'
end |
thanks @irrationalfab, that worked ;) |
Hi,
This is the same problem as in #830 ... but shouldn't CocoaPods handle this ? |
Fixed issue with JSONKit categories
merge with CocoaPods/Specs
Adding SimplePurchase 0.0.1 Podspec
Merge latest commits from CocoaPods Specs
Merging upstream from CocoaPods.
…rations on. Also fix a few more other settings in the template. Closes #1.
Sync main master with czechboy0 master
Currently the user still has to perform these steps:
The user also has to perform these steps, but this might just be the simplest way that xcode allows:
Always Search User Paths
and setUser Header Search Paths
to$(BUILT_PRODUCTS_DIR)
In addition, some changes to the pods static library project had to be made:
Public Headers Folder Path
to$(TARGET_NAME)
Installation Directory
to$(BUILT_PRODUCTS_DIR)
Most of this info was taken from: http://blog.carbonfive.com/2011/04/04/using-open-source-static-libraries-in-xcode-4
The text was updated successfully, but these errors were encountered: