Skip to content

Commit 0573477

Browse files
committed
Adds --add-custom-recipe to update and create commands
Custom recipes were built but not added to the XCode project. See: #642
1 parent 912bbe7 commit 0573477

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

kivy_ios/toolchain.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1467,7 +1467,7 @@ def create(self):
14671467
"{}.xcodeproj".format(args.name.lower()),
14681468
"project.pbxproj")
14691469

1470-
recipes = self.recipes_names_from_paths(args.add_custom_recipes)
1470+
recipes = self.recipes_names_from_paths(args.add_custom_recipe)
14711471

14721472
update_pbxproj(filename, pbx_frameworks=args.add_framework,
14731473
custom_recipes=recipes, custom_recipes_paths=args.add_custom_recipe)
@@ -1484,7 +1484,6 @@ def update(self):
14841484
parser.add_argument("--add-framework", action="append", help="Additional Frameworks to include with this project")
14851485
parser.add_argument("--add-custom-recipe", action="append", default=[],
14861486
help="Path to custom recipe (the recipe must already have been built with the 'build' command)")
1487-
14881487
args = parser.parse_args(sys.argv[2:])
14891488

14901489
filename = self.find_xcodeproj(args.filename)
@@ -1493,7 +1492,7 @@ def update(self):
14931492
logger.error("{} not found".format(filename))
14941493
sys.exit(1)
14951494

1496-
recipes = self.recipes_names_from_paths(args.add_custom_recipes)
1495+
recipes = self.recipes_names_from_paths(args.add_custom_recipe)
14971496

14981497
update_pbxproj(filename, pbx_frameworks=args.add_framework,
14991498
custom_recipes=recipes, custom_recipes_paths=args.add_custom_recipe)

0 commit comments

Comments
 (0)