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

fix(ios/build): support passing target and device id to the module build #13808

Merged

Conversation

ewanharris
Copy link
Collaborator

The arguments are copied as is over to the app build process at the end of the module build, there is also a change to return early in initTiappSettings in the app build. This is because all build options are ran so --device-id to a module build triggers the app build checks, which then subsequently fail. There is definitely a better fix for this, but this for now at least allows it to work and unblocks the related VS Code feature

This is related to #13432

The arguments are copied as is over to the app build process at the end of the module build,
there is also a change to return early in `initTiappSettings` in the app build. This is because
all build options are ran so `--device-id` to a module build triggers the app build checks, which
then subsequently fail. There is definitely a better fix for this, but this for now at least allows
it to work and unblocks the related VS Code feature
@ewanharris ewanharris force-pushed the fix/ios-allow-device-id-during-module branch from 779b48a to ffce062 Compare April 18, 2023 20:33
Copy link
Contributor

@cb1kenobi cb1kenobi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changes look good. A couple of nitpicks. I can't easily test this, so we can either have someone test it or yolo.

iphone/cli/commands/_buildModule.js Outdated Show resolved Hide resolved
iphone/cli/commands/_buildModule.js Outdated Show resolved Hide resolved
Co-authored-by: Chris Barber <chris.barber@vercel.com>
@cb1kenobi cb1kenobi merged commit c2ce0ff into tidev:master Apr 19, 2023
hansemannn pushed a commit that referenced this pull request Apr 24, 2023
…ild (#13808)

Co-authored-by: Chris Barber <chris@cb1inc.com>
narbs pushed a commit to narbs/titanium_mobile that referenced this pull request Jun 7, 2023
…ild (tidev#13808)

Co-authored-by: Chris Barber <chris@cb1inc.com>
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

Successfully merging this pull request may close these issues.

None yet

2 participants