Skip to content

Commit

Permalink
iOS build script tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
mtehver committed May 27, 2022
1 parent f65449a commit 81fddd4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/build-ios.py
Original file line number Diff line number Diff line change
Expand Up @@ -292,9 +292,9 @@ def buildIOSPackage(args, buildCocoapod, buildSwiftPackage):
if 'all' in args.iosarch or args.iosarch == []:
args.iosarch = IOS_ARCHS
if not args.buildxcframework:
args.iosarch = filter(lambda arch: not (arch.endswith('-simulator') or arch.endswith('-maccatalyst')), args.iosarch)
args.iosarch = list(filter(lambda arch: not (arch.endswith('-simulator') or arch.endswith('-maccatalyst')), args.iosarch))
if not args.metalangle:
args.iosarch = filter(lambda arch: not arch.endswith('-maccatalyst'), args.iosarch)
args.iosarch = list(filter(lambda arch: not arch.endswith('-maccatalyst'), args.iosarch))
args.defines += ';' + getProfile(args.profile).get('defines', '')
if args.metalangle:
args.defines += ';' + '_CARTO_USE_METALANGLE'
Expand Down

0 comments on commit 81fddd4

Please sign in to comment.