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): changed build script prepRelease to fix sample builds 🏠 #10940

Merged
merged 2 commits into from
Mar 7, 2024

Conversation

sgschantz
Copy link
Contributor

Changed the script responsible for creating the ios sample app zip file so that the sample apps will find their frameworks and build successfully.

fixes #10844

@keymanapp-test-bot skip

@sgschantz sgschantz added this to the B17S3 milestone Mar 5, 2024
@sgschantz sgschantz self-assigned this Mar 5, 2024
@keymanapp-test-bot
Copy link

keymanapp-test-bot bot commented Mar 5, 2024

User Test Results

Test specification and instructions

User tests are not required

Test Artifacts

@keymanapp-test-bot keymanapp-test-bot bot changed the title fix(ios): changed build script prepRelease to fix sample builds fix(ios): changed build script prepRelease to fix sample builds 🏠 Mar 5, 2024
Copy link
Member

@mcdurdin mcdurdin left a comment

Choose a reason for hiding this comment

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

LGTM, am assuming it works -- hard for me to try it from here at present. The changes I am requesting are nits only but trying to be consistent about quoting. (We could start using shell script linting like @ermshiperete does for the linux scripts

ios/tools/prepRelease.sh Outdated Show resolved Hide resolved
ios/tools/prepRelease.sh Outdated Show resolved Hide resolved
ios/tools/prepRelease.sh Outdated Show resolved Hide resolved
ios/tools/prepRelease.sh Outdated Show resolved Hide resolved
ios/tools/prepRelease.sh Outdated Show resolved Hide resolved
ios/tools/prepRelease.sh Outdated Show resolved Hide resolved
@sgschantz
Copy link
Contributor Author

@mcdurdin Thanks for the review comments. I still had this PR in draft because it was not quite working. The sample projects could find all their frameworks, but local sample project builds were still failing because they could not find the swiftlint.yml file, the path for which pointed outside of the zip file. I removed the config option from the command to run swiftlint contained in the Xcode script, and it now runs without errors, though I also had to fix a violation that swiftlint found.

@sgschantz sgschantz marked this pull request as ready for review March 6, 2024 06:18
@sgschantz sgschantz requested a review from jahorton as a code owner March 6, 2024 06:18
@sgschantz sgschantz linked an issue Mar 7, 2024 that may be closed by this pull request
8 tasks
@sgschantz sgschantz merged commit e631a88 into stable-16.0 Mar 7, 2024
5 checks passed
@sgschantz sgschantz deleted the fix/ios/10844-KMSample-build-errors branch March 7, 2024 02:06
@keyman-server
Copy link
Collaborator

Changes in this pull request will be available for download in Keyman version 16.0.146

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.

bug(ios): sample keyboard apps do not build according to instructions
3 participants