make-fmwk is a super handy open-source Bash script that helps you compile and package your static library projects into a neat .staticframework for iOS apps. Pretty cool, right?
To kick things off, you'll want to run the make-fmwk script from the folder that has your .xcodeproj file. This way, it can whip up a pseudo-bundle that’s ready for deployment in no time!
Now, let’s talk about .staticframeworks. They’re created based on configurations because a universal binary can only hold one binary per platform. All the details about how everything gets compiled are packed inside the framework as a plist manifest file.
If you're merging framework resources with others, or even with app resources, make sure to give all your resource files a little prefix using the name of your framework. This will help avoid any naming issues down the line! Alternatively, you can embed them into a bundle.
The generated .staticframework file usually hangs out in a common ~/StaticFrameworks directory that acts like your own personal framework repository. But if you want to store it somewhere else, you can easily change the output folder by using the -o option. Don’t worry; other build products will still be saved in their usual build directory.
If you're ready to check it out and see how it works for yourself, go ahead and download make-fmwk here!
Go to the Softpas website, press the 'Downloads' button, and pick the app you want to download and install—easy and fast!
SoftPas is your platform for the latest software and technology news, reviews, and guides. Stay up to date with cutting-edge trends in tech and software development.
Subscribe to newsletter
© Copyright 2024, SoftPas, All Rights Reserved.