Skip to content

Conversation

@tkukielk
Copy link
Contributor

Multiple fixes:

  • building on Apple Silicon Macs - remove the assumptions that the build machine is always x86_64
  • fix badly broken build.sh for Mac, especially with getopts for options & params
  • extend build-ios.sh to allow building for iOS-derived platforms like visionOS

The expected iOS build invocation is:
build-ios.sh [clean] [release|debug] ${ARCH} ${PLATFORM} where
ARCH = arm64|arm64e|x86_64
PLATFORM = iphoneos|iphonesimulator|xros|xrsimulator

Multiple fixes:
- building on Apple Silicon Macs - remove the assumptions that the build machine is always x86_64
- fix badly broken build.sh for Mac, especially with getopts for options & params
- extend build-ios.sh to allow building for iOS-derived platforms like visionOS

The expected iOS build invocation is:
build-ios.sh [clean] [release|debug] ${ARCH} ${PLATFORM}
where
ARCH = arm64|arm64e|x86_64
PLATFORM = iphoneos|iphonesimulator|xros|xrsimulator
@tkukielk tkukielk requested a review from a team as a code owner May 25, 2024 07:02
tkukielk added 2 commits May 25, 2024 00:19
The verification pipeline uses older Xcode
-Wno-unused-but-set-variable is unknown to older compilers, add -Wno-unknown-warning-option
@ThomsonTan
Copy link
Contributor

Could the vision OS support to moved to a dedicated script like build-visionos.sh?

@swasti29 swasti29 requested a review from lalitb May 28, 2024 23:53
Copy link
Contributor

@lalitb lalitb left a comment

Choose a reason for hiding this comment

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

LGTM. Thanks for improving the build script too.

Copy link
Contributor

@swasti29 swasti29 left a comment

Choose a reason for hiding this comment

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

Just make sure to test for all architecture and platform: device, simulator

@tkukielk tkukielk merged commit 06c0679 into main May 29, 2024
@tkukielk tkukielk deleted the tkukielk/build-visionOS branch May 29, 2024 21:03
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.

5 participants