-
Notifications
You must be signed in to change notification settings - Fork 31
feat: platform visionOS #42
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
base: main
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
small nits! amazing how composable plugins are 💯
if (config) { | ||
await createBuild('visionos', config, args as BuildFlags); | ||
} else { | ||
throw new Error('visionOS project not found.'); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i see that we have v similar errors across codebase when we can't find config. we should find a nice way or do a writeup in docs how to proceed with such case
xcworkspace=$(find . -maxdepth 1 -name '*.xcworkspace' -type d | head -1) | ||
xcodebuild \ | ||
-workspace "${xcworkspace}" \ | ||
-scheme "${{inputs.scheme}}" \ | ||
-destination "generic/platform=visionOS Simulator" \ | ||
-configuration Debug \ | ||
-derivedDataPath DerivedData \ | ||
ARCHS="${{inputs.architectures}}" \ | ||
CODE_SIGNING_ALLOWED=NO \ | ||
CLANG_ADDRESS_SANITIZER=NO \ | ||
CLANG_UNDEFINED_BEHAVIOR_SANITIZER=NO \ | ||
OTHER_CFLAGS='$(inherited) -fno-sanitize=undefined -fno-sanitize=bounds -fstack-protector-strong' \ | ||
OTHER_LDFLAGS='$(inherited) -fno-sanitize=undefined -fno-sanitize=bounds -fstack-protector-strong' \ | ||
COMPILER_INDEX_STORE_ENABLE=NO \ | ||
build |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can't we use build:vision
? with --extra-params
ofc
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I guess we can, but I need @mdjastrzebski to test this. for now I'd keep it this way
|
||
@implementation HelloWorldTests | ||
|
||
- (BOOL)findSubviewInView:(UIView *)view matching:(BOOL (^)(UIView *view))test |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These tests don't need to be in the template, I've removed them in 0.77
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yup, will update that once we migrate the templates to 0.77 :)
4b93420
to
5bbd4a7
Compare
f23a5f9
to
4359a98
Compare
fadb21b
to
2c35ca8
Compare
f25b722
to
c5e0a0c
Compare
Summary
Add visionOS platform. cc @okwasniewski
Builds on #41
Test plan