This time I am trying to use Cocoapods as recommended by Mark last night, so it is a new question. I believe I have done everything but I am not sure what is supposed to be configured in the Build Settings and Build phases in Xcode, because I have changed before trying to add Backendless to the project without cocoapods. Here are the screenshots of the terminal and Xcode that keeps giving me error. Thanks in advance
When you setup an XCode project with cocoapods, you do not need to make any changes in Build Settings and Build Phases at all. The project will be complete out simply by creating it with the pod utility.
I did many times, as you can see in the screenshots of the terminal and Xcode, but it still gives me error, any idea why that might be happening?
Instead of posting a bunch of screenshots, could you simply copy/paste the output from your terminal windows as text?
Also, please attach your podfile.
Here is the terminal as text, adn the podfile I will copy paste as well as it says that I can’t attach it.
Terminal:
Javiers-MacBook-Pro-2:newCocoa javiersacristanfranco$ sudo gem install cocoapods
Password:
Successfully installed cocoapods-0.39.0
Parsing documentation for cocoapods-0.39.0
1 gem installed
Javiers-MacBook-Pro-2:newCocoa javiersacristanfranco$ ls
newCocoa newCocoa.xcodeproj newCocoaTests newCocoaUITests
Javiers-MacBook-Pro-2:newCocoa javiersacristanfranco$ vim podfile
Javiers-MacBook-Pro-2:newCocoa javiersacristanfranco$ pod install
Updating local specs repositories
CocoaPods 1.0.0.rc.1 is available.
To update use: gem install cocoapods --pre
[!] This is a test version we’d love you to try.
For more information see http://blog.cocoapods.org
and the CHANGELOG for this version http://git.io/BaH8pQ.
Analyzing dependencies
Downloading dependencies
Installing Backendless-ios-SDK (3.0.18)
Generating Pods project
Integrating client project
[!] Please close any current Xcode sessions and use newCocoa.xcworkspace
for this project from now on.
Sending stats
Pod installation complete! There is 1 dependency from the Podfile and 1 total pod installed.
Javiers-MacBook-Pro-2:newCocoa javiersacristanfranco$
Podfile:
platform:ios, ‘8.0’
target ‘newCocoa’ do
pod ‘Backendless-ios-SDK’,’~>3.0.0’
end
And now when you open ‘newCocoa.xcworkspace’, does it build?
This time it did, I did it so many times in different projects that I have no idea what I did wrong, but as you told me yesterday with Cocoapods it ended up working, thank you very much and sorry for bothering with the setting up issue. You and your team were really helpful, I really appreciate it