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): explicitly return null if source exists and hasn't changed #12135

Merged
merged 2 commits into from Sep 29, 2020

Conversation

ewanharris
Copy link
Collaborator

JIRA: https://jira.appcelerator.org/browse/TIMOB-28152

copyDirSync expects a return value of null, otherwise it will copy the file over. As certain files
require the contents to have been ran through _scrubiOSSourceFile, copying over the un-scrubbed file
will cause the code to become invalid and have an impact on other files causing a potential compile
time error

copyDirSync expects a return value of null, otherwise it will copy the file over. As certain files
require the contents to have been ran through _scrubiOSSourceFile, copying over the un-scrubbed file
will cause the code to become invalid and have an impact on other files causing a potential compile
time error

Fixes TIMOB-28152
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.

LGTM

@build build added this to the 9.3.0 milestone Sep 25, 2020
@build
Copy link
Contributor

build commented Sep 25, 2020

Messages
📖 ✊ The commits in this PR match our conventions! Feel free to Rebase and Merge this PR when ready.
📖

✅ All tests are passing
Nice one! All 7314 tests are passing.
(There are 742 skipped tests not included in that total)

Generated by 🚫 dangerJS against 74b420c

@ssjsamir ssjsamir self-requested a review September 29, 2020 11:24
Copy link
Contributor

@ssjsamir ssjsamir left a comment

Choose a reason for hiding this comment

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

FR Passed: Able to build when SDK compile a rebuild.

Test Steps:

  1. Install 9.2.0.v20200923092031 and and the SDK from this PR
  2. Set apps SDK to 9.2.0.v20200923092031
  3. Run appc run -p ios -T device --build-only
  4. Set apps SDK to 9.3.0
  5. Run appc run -p ios -T device --build-only

Test Environment

MacOS Big Sur: 11.0 Beta 7
Xcode: 12.0 
Java Version: 1.8.0_242
Android NDK: 21.3.6528147
Node.js: 12.18.1
""NPM":"5.0.0","CLI":"8.1.1""
iphone 11(14.0)

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

Successfully merging this pull request may close these issues.

None yet

5 participants