Create a blank iOS application with in the ios/app/ChuckNorris directory, called ChuckNorris.Create a CocoaPods library called ChuckNorrisBindings in ios/bindings/ChuckNorrisBindings.That way you minimize the interactions with Xcode through its GUI and use code instead. Then, when you run pod install, the podspecs will be fetched and the workspace will be configured so that you can build and use those dependencies in the original Xcode project. You can specify one or several dependencies in the Podfile. This will create an Xcode workspace and a Podfile file. Second, you can run pod init next to an existing Xcode project. You can then upload the podspec file and the associated sources to a repository. The podspec describes how to build the foo library, a bit like a Conan recipe. Several tools exist, but for this post we’ll concentrate on CocoaPods. ![]() We’ll also learn a few things specific to iOS and Xcode. In this article, we’ll use everything we learnt so far and write an iOS application able to show Chuck Norris facts. If you came this far after reading part 1 to 7, congrats! Note: This is part 8 of the Let’s Build Chuck Norris! series.
0 Comments
Leave a Reply. |