
Research
Security News
Lazarus Strikes npm Again with New Wave of Malicious Packages
The Socket Research Team has discovered six new malicious npm packages linked to North Korea’s Lazarus Group, designed to steal credentials and deploy backdoors.
configure_extensions
Advanced tools
Read Simultaneous Xcode 7 and Xcode 8 compatibility for more information about this project.
Features • Usage • Installation • More info
-------Say you have an iOS app. You want to add some iOS 10 app extensions to the project, but you still need to build for iOS 9, and you want to avoid branching. You configure your project just right to allow this, but what do you do with app extensions that only compile with Xcode 8?
Simple! You remove them from the "Target Dependencies" and "Embed App Extensions" build phases of the app target before you commit:
configure_extensions remove MyApp.xcodeproj MyAppTarget NotificationsUI Intents
This keeps Xcode 7 compatibility. Want to work on iOS 10 features? Add them back in an instant:
configure_extensions add MyApp.xcodeproj MyAppTarget NotificationsUI Intents
No branching necessary.
(You can also use configure_extensions
to add a "fast mode" to your automated build server that skips compilation of unnecessary app extensions)
Here's full syntax of the tool:
configure_extensions <mode> <project> <app_target> <extensions...>
Add and remove app extensions from Xcode build
mode
add - enables passed app extension targets
remove - disables extensions from being built and embedded in the app
project
path to the Xcode project file
app_target
name of the main (app) target in which extensions are to be enabled/disabled
extensions
names of app extension targets to be enabled/disabled
EXAMPLES
configure_extensions add MyApp.xcodeproj MyApp NotificationsUI Share
configure_extensions remove Foo.xcodeproj Foo-iOS Share
sudo gem install configure_extensions
If you like configure_extensions
, be sure to check out "Simultaneous Xcode 7 and Xcode 8 compatibility" where I explain in detail how to keep a single Xcode project running on multiple versions of Xcode without branching.
And if you're into Swift, you might also like SwiftyUserDefaults and SwiftyTimer.
If you have comments, complaints or ideas for improvements, feel free to open an issue or a pull request. Or ping me on Twitter.
Radek Pietruszewski
configure_extensions
is available under the MIT license. See the LICENSE file for more info.
FAQs
Unknown package
We found that configure_extensions demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Security News
The Socket Research Team has discovered six new malicious npm packages linked to North Korea’s Lazarus Group, designed to steal credentials and deploy backdoors.
Security News
Socket CEO Feross Aboukhadijeh discusses the open web, open source security, and how Socket tackles software supply chain attacks on The Pair Program podcast.
Security News
Opengrep continues building momentum with the alpha release of its Playground tool, demonstrating the project's rapid evolution just two months after its initial launch.