cordova-node-xcode
XcodeGen
Our great sponsors
cordova-node-xcode | XcodeGen | |
---|---|---|
2 | 8 | |
188 | 6,787 | |
0.5% | - | |
3.2 | 8.0 | |
13 days ago | 1 day ago | |
JavaScript | Swift | |
Apache License 2.0 | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
cordova-node-xcode
-
The joys of creating Xcode project files
We are producing a white-label mobile app which also runs on Apple devices. It's part of our build chain to modify bespoken Xcode project files. Of great help is this node library which allows automating our build process which includes modifications to the Xcode project file: https://github.com/apache/cordova-node-xcode
-
Adding an Apple Watch App or Widget to Cordova
Since the Xcode config is just a legacy plist file Xcode will recognize it if it is converted to json. So we just leave it as json right? Well I wish it was that easy but there is also Cordova and that has it’s own Xcode config parser that is actually quite bad cordova-node-xcode. It must have the legacy plist format and to make matters even worth it also needs the comments preserved.
XcodeGen
-
Would creating a new Xcode project cause significant merge conflicts?
Worth noting if project file changes would be pretty common in the development flow then maybe using a regen tool would be useful to prevent major conflicts, I’d recommend https://github.com/yonaskolb/XcodeGen
-
How to manage a huge iOS project written by many teams?
There are a lot of tools and solutions that can help manage a large codebase. For example, a good CI/CD system linked to GitHub or your internal source control system can ensure that all of your unit tests and UI tests run on every PR and block PRs from merging if there are test failures. And if the company chooses not to check in the .xcodeproj or .xcworkspace file, but rather rely on project autogeneration tools like xcodegen, then you can eliminate annoying merge conflicts in PRs that happen when two teams happen to touch files that are near each other in the .pbxproj file (but at the cost of developers always having to run xcodegen when checking out a new branch).
-
brew install xcodegen
`git clone https://github.com/yonaskolb/XcodeGen.git cd XcodeGen make install`
-
Do Xcode from command line
Parent comment is right, but check out XcodeGen and get away from the project file. It’s an abomination.
- missing project.pbxproj file, how to restore it?
-
The project ‘Project-Name’ is damaged and cannot be opened due to a parse error
I don't see anything wrong with your gitignore. If this is causing too many problems, have you considered using a tool that will generate xcodeproj files for you, like XcodeGen?
-
How to better structure your Xcode projects
Curious why you guys built XCodeJS instead of going with XcodeGen or Tuist
-
The joys of creating Xcode project files
It's such trash. For my personal projects, XcodeGen is a lifesaver.
How Apple thinks that a single god file is a good idea is crazy to me. No other build tool needs this.
https://github.com/yonaskolb/XcodeGen
What are some alternatives?
mod-pbxproj - A python module to manipulate XCode projects
Tuist - 🚀 Create, maintain, and interact with Xcode projects at scale
cordova-cli - Apache Cordova CLI
SwiftGen - The Swift code generator for your assets, storyboards, Localizable.strings, … — Get rid of all String-based APIs!
cordova-plugin-device - Apache Cordova Device Plugin
R.swift - Strong typed, autocompleted resources like images, fonts and segues in Swift projects
xcodeproj - Python tools for interacting with Xcode project bundles
fastlane-plugin-appicon - Generate required icon sizes and iconset from a master application icon.
objc-lisp-bridge - A portable reader and bridge for interacting with Objective-C and Cocoa
Struct - Xcode projects on steroids
cordova-ios - Apache Cordova iOS
xcbuild - Xcode-compatible build tool.