Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow comma in buildSettings #86

Open
crapthings opened this issue Feb 17, 2020 · 1 comment
Open

Allow comma in buildSettings #86

crapthings opened this issue Feb 17, 2020 · 1 comment

Comments

@crapthings
Copy link

crapthings commented Feb 17, 2020

when i try to set "TARGETED_DEVICE_FAMILY", it failed.
buildSettingsObj.TARGETED_DEVICE_FAMILY = '1,2'

While preparing Cordova project for platform iOS:
   SyntaxError: Expected ".", "/*", ";", or [0-9] but "," found.
   at peg$buildStructuredError (/Users/monsterstep/.meteor/packages/meteor-tool/.1.9.0.1eehdch.kfff++os.osx.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.osx.x86_64/dev_bundle/lib/node_modules/cordova-lib/node_modules/xcode/lib/parser/pbxproj.js:412:12)
   at Object.peg$parse [as parse] (/Users/monsterstep/.meteor/packages/meteor-tool/.1.9.0.1eehdch.kfff++os.osx.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.osx.x86_64/dev_bundle/lib/node_modules/cordova-lib/node_modules/xcode/lib/parser/pbxproj.js:1886:11)

the xcodeproj has value like this

image

image

#57

@Svarto
Copy link

Svarto commented Aug 27, 2021

You can insert comma by double "", like this:

        buildSettingsObj.TARGETED_DEVICE_FAMILY = `"1,2"`;

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants