-
Notifications
You must be signed in to change notification settings - Fork 17
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
Installing issuse #6
Comments
@tqhuy1811 there isn't enough information here for me to properly assist you. Can you fill out the information below: CDYelpFusionKit EnvironmentCDYelpFusionKit version: and in the future follow the template when submitting an issue? |
I am sorry, I am kinda new to Github CDYelpFusionKit version: 1.2.0 I tried to creat a "bridging header file" for Alamofire framework but the result is still the same |
Does your project also support |
My project is purely in swift. Sure, it's just a little school project |
Awesome! Thanks. The GitHub link will really help. I'll hopefully have a solution for you within the next 24 hours. |
@umerk12345 can you fill out the following information: CDYelpFusionKit EnvironmentCDYelpFusionKit version: Based on the image it looks like the macOS and watchOS targets were installed which haven't been released in an official version yet which has me thinking you're possibly on a pre-release version. What dependency manager did you use to install it? |
@tqhuy1811 please add the following lines of code to the bottom of your Podfile: post_install do |installer|
installer.pods_project.targets.each do |target|
if target.name == 'CDYelpFusionKit' || target.name == 'ObjectMapper' || target.name == 'Alamofire' || target.name == 'AlamofireObjectMapper'
target.build_configurations.each do |config|
config.build_settings['SWIFT_VERSION'] = '3.0'
end
end
end
end I was able to use this to successfully buildi CDYelpFusionKit and use it in your project. @umerk12345 try this solution if you were using CocoaPods as your dependency manager. I will be releasing a new version of CDYelpFusionKit |
It works for me now! Thank you |
@chrisdhaan It works for me too ! Thank you! |
@chrisdhaan A new problem occured |
@tqhuy1811 I would not attempt any of the solution in that StackOverflow as they aren't related to CocoaPods. Did you try cleaning before building? I installed the framework using the code above in your project and was able to use |
Yes I cleaned everything but the problem still persist. I was able to get it to work by restarting my computer. Thank you anyway! |
@tqhuy1811 and @umerk12345 I've released |
@tqhuy1811 did you try cleaning and building? That is generally needed with dependency manager updates. Is your project still available on GitHub? I can always try pulling it to see what the problem is. Both I and have other users of CDYelpFusionKit have been able to install |
Yeah, I tried that but nothing change and my project is still available |
Has there been an update on this? I am trying to use Yelp API for a simple application that will allow users to find Bowling Locations and mostly doing this to learn basic iOS development. I also have an issue when trying to import CDYelpFusionKit |
Update: I was able to get it to work I think I didn't quite follow directions quite right or just looked at a different set of instructions when installing via CocoaPods and all that I did was this pod 'CDYelpFusionKit', '1.5.1' Before I only had pod 'YelpAPI' so if your having issues with the 'import CDYelpFusionKit' this may help you. Just kidding I didn't have any errors because I opened my project in the .xcworksapce file instead of the .xcproj and now I unable to import CDYelpFusionKit. |
Hi Christopher,
I tried to install your framework and encountered this problem after launching my project.
Could not build Objective-C module 'Alamofire'
The text was updated successfully, but these errors were encountered: