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

Setting up custom derived data #388

Closed
adityadaniel opened this issue Apr 18, 2022 · 81 comments
Closed

Setting up custom derived data #388

adityadaniel opened this issue Apr 18, 2022 · 81 comments

Comments

@adityadaniel
Copy link

I try to use Injection in our project which is quite large and build using Bazel. When rebuilding, I got this message in console

💉  ⚠️ Could not locate containing project or it's logs.
For a macOS app you need to turn off the App Sandbox.
Have you customised the DerivedData path?

How can I set up custom derived data path on Injection?

@johnno1962
Copy link
Owner

Hi, I'm interested in seeing if Bazel can be supported but only the standard and relative derived data paths are supported when using injection. Perhaps you could try using the https://github.com/johnno1962/HotReloading project which finds DerivedData wherever you put it.

@adityadaniel
Copy link
Author

Let me take a look at https://github.com/johnno1962/HotReloading.

Also I'm curious, since in https://github.com/johnno1962/HotReloading we could use custom DerivedData, in theory, if we swap the implementation in Injection III, with HotReloading ones to find DerivedData folder, it would work, isn't it? If so, which file I should look into?

@johnno1962
Copy link
Owner

johnno1962 commented Apr 18, 2022

Start with HotReloading as it always finds the DerivedData folder using the package SwiftTrace and is easier to debug and iterate over than the app. I'm considering changing the error message you first encountered which almost reads like an invitation to use a custom derived data path which is difficult to support for the app.

@johnno1962
Copy link
Owner

johnno1962 commented Apr 18, 2022

There, I changed the message, 0107904c2a7b96f91f50da4f126d8a0b43888865, 4.3.7

@xiaohanyu
Copy link

xiaohanyu commented May 18, 2022

Hello @johnno1962,

First thanks very much for this awesome project.

Recently we are trying out this project to boost our productivity and we met the same issue with bazel. After some digging we found that the root cause for why InjectionIII is not working with bazel is not really the path change of DerivedData but actually the logs format change.

Bazel do not follow the legacy Xcode *.xcactivitylog format (namely, log every compilation commands for each objective-c or swift file), but instead, bazel has its own log format, so when InjectionIII was trying to parse out the compilation commands from DerivedData with bazel content, it would fail.

One more thing, bazel by default do not log the compilation commands in its log.

So to fix this, we need to do two things:

  1. Make bazel to output the compilation commands in its logs
  2. Make InjectionIII to be able to recognize and parse the command from bazel logs.

For step 1, we could pass a --subcommands flag to bazel build, and then bazel would log the exact compiler commands in its log, it looks something like this:

# Configuration: 4a6a1902fd5e0fc309d088d733bbc2d662605957f039fcd8d04ebc66f89eb8db
# Execution platform: @local_config_platform//:host
SUBCOMMAND: # //XXX:XXX [action 'Compiling Swift module XXX', configuration: b0f34f8841808ad1e79b24f6eebcb1f31626982262b2f00142d0fb1f63c69e3e, execution platform: @local_config_platform//:host]
(cd /private/var/tmp/_bazel_hanyu/9bec08d6b37aa2133077091cdc6e152d/execroot/__main__ && \
  exec env - \
    APPLE_SDK_PLATFORM=iPhoneOS \
    APPLE_SDK_VERSION_OVERRIDE=15.4 \
    XCODE_VERSION_OVERRIDE=13.3.0.13E113 \
  bazel-out/darwin-opt-exec-2B5CBBC6-ST-8bd7c7db9774/bin/external/build_bazel_rules_swift/tools/worker/worker \
    swiftc \
    @bazel-out/ios-arm64-min12.0-applebin_ios-ios_arm64-dbg-ST-6b6216040413/bin/XXX/XXX.swiftmodule-0.params)
# Configuration: b0f34f8841808ad1e79b24f6eebcb1f31626982262b2f00142d0fb1f63c69e3e
# Execution platform: @local_config_platform//:host
SUBCOMMAND: # //YYY:ZZZ [action 'Compiling Swift module ZZZ', configuration: b0f34f8841808ad1e79b24f6eebcb1f31626982262b2f00142d0fb1f63c69e3e, execution platform: @local_config_platform//:host]
(cd /private/var/tmp/_bazel_hanyu/9bec08d6b37aa2133077091cdc6e152d/execroot/__main__ && \
  exec env - \
    APPLE_SDK_PLATFORM=iPhoneOS \
    APPLE_SDK_VERSION_OVERRIDE=15.4 \
    XCODE_VERSION_OVERRIDE=13.3.0.13E113 \
  bazel-out/darwin-opt-exec-2B5CBBC6-ST-8bd7c7db9774/bin/external/build_bazel_rules_swift/tools/worker/worker \
    swiftc \
    @bazel-out/ios-arm64-min12.0-applebin_ios-ios_arm64-dbg-ST-6b6216040413/bin/YYY/ZZZ.swiftmodule-0.params)

I would like to ask for your thoughts for this and it is OK for you, I may kick the contribution for InjectionIII in order for it to work with bazel.

Thank you!

cc @adityadaniel

@johnno1962
Copy link
Owner

johnno1962 commented May 18, 2022

Thanks @xiaohanyu! contributions are always welcome and support for Bazel is something a few people have asked about. It looks like you'd need to make some very delicate changes to an important piece of code (written in Perl) that greps out the logs in SwiftEval.swift. If you want to work on InjectionIII, I recommend switching to the HotReloading version instead which is the same source in a package you add to your project and can iterate over quickly by cloning the project and dragging it into the client project so it takes the place of the configured version. If you find a solution and raise a PR I can look at how dramatic the changes are and asses whether there is a risk of regression for other users of the project.

@xiaohanyu
Copy link

Hey @johnno1962,

Thanks for the fast reply. Yeah I've already read some code of HotReloading project and I know the combination of shell script and perl thing (and to be honest, also experienced some pain for this, considering whether I can make the contribution to avoid generated shell/perl script and make it pure swift, off topic though, LOL).

Would check bazel to see whether bazel has a native method to return the compilation commands. It has bazel query and bazel aquery command but I'm not very familiar with these.

Will surely keep you updated once I have any new discoveries.

@johnno1962
Copy link
Owner

Good Luck! I'm afraid I wouldn't accept a PR that moved away from the Perl code (Sorry!) to Swift as it would likely be much slower and there is tricky code in there to support >256 files in a project that might be difficult to replicate. This is a part of the code that seems to be performing well and I'd be very reluctant to revisit it. Apart from that, see how you go. Perhaps I (or you) could release a separate branch of the project supporting Bazel till it is proven.

@johnno1962
Copy link
Owner

johnno1962 commented Oct 14, 2022

Hey @xiaohanyu, did you make any headway looking at Bazel support? Seems like the very largest projects in the community are using it so it would be nice to be able to offer a solution. Sorry I wasn't very receptive to your offer to rewrite the Perl log searcher but it is something that is currently working quite well. I had a look at Bazel and while I found the small Objective-C example project but I came up against various errors trying follow the QuickStart. Is there any chance you would have the time to prepare a small example Swift project I could have a look at and see if we can move this forward? I imagine the log search could be replaced completely by the Bazel command you mention to extract the recompilation command for a source if I could just get to a working starting point!

@johnno1962
Copy link
Owner

Hey @keith, you seem to have be pretty involved in using Bazel for large Swift iOS projects, can you think of a bazel query command that could be used to extract the arguments for a compile command for a particular source file or some other way it could be extracted?

@saragiotto
Copy link

Hi @johnno1962 , I think I could help you with this small project with bazel. There some examples at this repo https://github.com/bazelbuild/rules_apple/tree/master/examples/ios.

I'm looking forward to this integration. Let me know if this samples is enough to make some tests.

@johnno1962
Copy link
Owner

Thanks for stepping up @saragiotto, I've been working on a solution for bazel which already works and should be ready in a couple of days. One thing that did crop up which perhaps you could help me with? For injection to work properly the app needs to be linked with "Other Linker Flags" -Xlinker -interposable. Can you think of a way users could specify that for a Debug build only when using bazel?

@keith
Copy link

keith commented Oct 20, 2022

Hey @keith, you seem to have be pretty involved in using Bazel for large Swift iOS projects, can you think of a bazel query command that could be used to extract the arguments for a compile command for a particular source file or some other way it could be extracted?

I think the ideal solution for this would be to fix grailbio/bazel-compilation-database#71 or adapt https://github.com/hedronvision/bazel-compile-commands-extractor to support generating compile commands from the build.

Without one of those solutions, you can pretty easily get the flags for swift targets by doing something like bazel aquery 'deps(some app)' --output=proto and parsing the protobuf output from that (maybe other formats would be easier, but that's the general idea). Using aquery takes into account given configurations so you can ensure that the flags for the targets match what you expect, and I think a production solution would allow users to pass custom flags like --config=debug or something that might correspond to some internal configuration users have done. This output requires a small amount of post processing for some specific things bazel abstracts to keep build command lines hermetic, like replacing the __BAZEL* placeholders with the applicable absolute paths on the user's machine.

One gotcha you might hit with this, and why I used some app in the example above, is that raw swift_library targets do not have knowledge about what platform they will be built for, which allows a single swift_library to be used across macOS, iOS, Linux, etc. Because of this assuming you actually want specific platform info, it's important to start the aquery with the correct top level targets, such as ios_application targets, which encode the platform info on all their transitive dependencies.

@keith
Copy link

keith commented Oct 20, 2022

Thanks for stepping up @saragiotto, I've been working on a solution for bazel which already works and should be ready in a couple of days. One thing that did crop up which perhaps you could help me with? For injection to work properly the app needs to be linked with "Other Linker Flags" -Xlinker -interposable. Can you think of a way users could specify that for a Debug build only when using bazel?

There are a few ways you can do this, in general I think it's common for users to have a custom debug configuration setup in their .bazelrc file which allows you to pass something like --config=debug to their bazel invocation, at which point any lines in their .bazelrc prefixed with build:debug will be applied. So in this example you would add build:debug --linkopt=-Wl,-interposable to have this apply only in debug mode. If this doesn't work for folks it's also possible to use a dbg specific select() statement that you applied to a specific top level target, like your ios_application target. To do this you'd add something like:

# some target...
linkopts = select({
    "//:dbg": ["-Wl,-interposable"],
    "//conditions:default": [],
}),

As an aside we have SwiftUI previews working with our bazel project which uses similar infra, so doing something like this is definitely feasible.

@johnno1962
Copy link
Owner

johnno1962 commented Oct 20, 2022

Thanks for the tip! I'm still at sea with bazel -- would it be possible to tell me how/where to apply your suggestion to this BUILD file?

load("@rules_cc//cc:defs.bzl", "objc_library")
load("@build_bazel_rules_apple//apple:ios.bzl", "ios_application")
load(
    "@com_github_buildbuddy_io_rules_xcodeproj//xcodeproj:defs.bzl",
    "top_level_target",
    "xcodeproj",
)

objc_library(
    name = "UrlGetClasses",
    srcs = [
        "UrlGet/AppDelegate.m",
        "UrlGet/UrlGetViewController.m",
        "UrlGet/main.m",
    ],
    hdrs = glob(["UrlGet/*.h"]),
)

load("@build_bazel_rules_swift//swift:swift.bzl", "swift_library")

swift_library(
    name = "Foo",
    srcs = glob(["UrlGet/*.swift"]),
    module_name = "Foo",
    visibility = ["//:__subpackages__"],
    deps = [
#        "@swift_pkgs//swift-nio:NIO",
    ],
)

#load("@cgrindel_rules_spm//spm:spm.bzl", "spm_pkg", "spm_repositories")
#load("@rules_cc//cc:defs.bzl", "cc_library")

#spm_repositories(
#    name = "swift_pkgs",
#    dependencies = [
#        spm_pkg(
#            "https://github.com/johnno1962/HotReloading.git",
#            from_version = "4.6.3",
#            products = ["HotReloading"],
#        ),
#    ],
#)

ios_application(
    name = "ios-app",
    bundle_id = "Google.UrlGet",
    families = [
        "iphone",
        "ipad",
    ],
    infoplists = [":UrlGet/UrlGet-Info.plist"],
    launch_storyboard = "UrlGet/UrlGetViewController.xib",
    minimum_os_version = "15.0",
    # provisioning_profile = "<your_profile_name>.mobileprovision", # Uncomment and set your own profile.
    visibility = ["//visibility:public"],
    deps = [":UrlGetClasses", ":Foo"],
)

xcodeproj(
    name = "xcodeproj",
    build_mode = "bazel",
    project_name = "ios-app",
    tags = ["manual"],
    top_level_targets = [
        top_level_target(":ios-app", target_environments = ["device", "simulator"]),
    ],
)

@johnno1962 johnno1962 reopened this Oct 20, 2022
@keith
Copy link

keith commented Oct 20, 2022

In an isolated BUILD file like this, using the linkopts approach I posted above is probably easiest for testing. You can add that directly on the ios_application rule. The only change you need is to define a custom config_setting to match when you're doing a debug build. In this same BUILD file you can probably just add:

config_setting(
    name = "debug_build",
    values = {
        "compilation_mode": "dbg",
    },
)

Then in the select you can use :debug_build. And on your bazel command line build with --compilation_mode=dbg and that should match. To verify you can also pass --linkopt=-v on the command line to see the final ld64 invocation.

@johnno1962
Copy link
Owner

Thanks, I seem to have found a way adding --linkopt=-Wl,-interposable to the bazel build inside the .xcodeproj I'm using. For some reason, interposing isn't working though the linker flag is being used. Will have to dig a bit deeper tomorrow.

@johnno1962
Copy link
Owner

OK, so it was working after all. It was reporting it was failing because there was in fact nothing to interpose. More testing to come from here to see if there are any other rough edges and we'll see if I can post a new release candidate tomorrow some time.

@johnno1962
Copy link
Owner

johnno1962 commented Oct 21, 2022

I've made available a preliminary release that should go a long way towards supporting injection in a project that is using the Bazel build system: https://github.com/johnno1962/InjectionIII/releases/tag/4.5.0RC1

It assumes the source you are injecting is under a directory containing a WORKSPACE file and makes a small patch to https://github.com/bazelbuild/rules_swift to create a link from the parameters files passed by bazel to swiftc to compile a module to a file named after that module in /tmp i.s. /tmp/bazel_<ModuleName>.resp. When you inject a file under the directory contains a WORKSPACE file it scans these files looking for how to recompile the modified source and calls that command, links the object file into a dylib and injects it in the way InjectionIII has worked up to now.

To use download the pre-prelease I mention and add the following to.run when your application starts:

 Bundle(path: "/Applications/InjectionIII.app/Contents/Resources/iOSInjection.bundle")!.load()

It is no longer necessary to run the app itself and this fallback to "standalone" mode will watch for source file changes anywhere in your home directory. In addition, for injection to work fully you need to arrange for the options --compilation_mode=dbg --linkopt="-Wl,-interpossable" to be passed to your bazel build, either on the command line or in the tulsi generated .xcodeproj you are using for development.

If anybody would like to try it out, let me know how you get on 👍

@adityadaniel
Copy link
Author

adityadaniel commented Oct 21, 2022

Hi @johnno1962, thank you for taking time and looking into this. I try to take it for spin in our project but unfortunately couldn't make it work. Here are the steps that I do:

We already compile in "dbg" mode in our mini app so I don't need to add it.

Here's what printed in console after changing the code:

💉 ⚠️ Locating response file failed (see: /tmp/command.sh)
ls: /tmp/bazel_*.resp: No such file or directory

I assume I need to patch our rules_swift to write into /tmp. Can you elaborate more on patching rules_swift?

@johnno1962
Copy link
Owner

johnno1962 commented Oct 21, 2022

HI @adityadaniel, thanks for taking it for a spin. You didn't see a message ⚠️ bazel patched, restart app? If you look at the file /tmp/command.sh that it mentions you can see what the new version is doing and if you try $ bash -x /tmp/command.sh, perhaps it will give you more info you can report back. The question is why didn't the patch succeeded? I'm using a slightly old bazel 5.3.0 from homebrew, so something might be different. You should have seen this the first time you save a file after loading the injection bundle:

💉 ⚠️ Locating response file failed (see: /tmp/command.sh)
Checking patch tools/worker/swift_runner.cc...
Checking patch tools/worker/swift_runner.h...
Applied patch tools/worker/swift_runner.cc cleanly.
Applied patch tools/worker/swift_runner.h cleanly.
⚠️ bazel patched, restart app

@adityadaniel
Copy link
Author

Yes, I did see this message

💉 ⚠️ Locating response file failed (see: /tmp/command.sh)
Checking patch tools/worker/swift_runner.cc...
Checking patch tools/worker/swift_runner.h...
Applied patch tools/worker/swift_runner.cc cleanly.
Applied patch tools/worker/swift_runner.h cleanly.
⚠️ bazel patched, restart app

and after restarting the app, Injection seems connected to the app because I see this in console:

💉 InjectionIII connected /Users/daniel.istyana/Developer/gw-xcodeproj/tulsiprojects/tokopedia-tulsi.xcodeproj
💉 Watching files under the directory /Users/daniel.istyana/Developer/gw-xcodeproj

However, when I try to change a file and save it, nothing happens. Is this expected?

Here's the output of bash -x /tmp/command.sh:

+ cd /Users/daniel.istyana/Developer/gw-injection/bazel-out/../external/build_bazel_rules_swift
+ grep module_name_ tools/worker/swift_runner.h
+ cd /Users/daniel.istyana/Developer/gw-injection
++ ls -t '/tmp/bazel_*.resp'
+ exit 1

If I understand correctly, you patch bazel so it output /tmp/bazel_*.resp in order to Injection could know which files to compile and updated in the runtime, however I don't see any file with bazel_*.resp in my tmp folder. Could that be the problem?

@johnno1962
Copy link
Owner

johnno1962 commented Oct 21, 2022

Seems like the patching is working. Did you modify a Swift source? So far I've only been using a swift_library entry in the BUILD file. If swiftc has been called, it should have created the /tmp/*.resp link. Did you edit the source file i.e actually change its contents and save after the patching and before the restart? Perhaps this is needed to force the recompile which should create the link.

@johnno1962
Copy link
Owner

For the curious I've pushed the changes required to the HotReloading repo https://github.com/johnno1962/HotReloading/pull/63/files.

@johnno1962
Copy link
Owner

johnno1962 commented Oct 23, 2022

It seems in RC1, you could get into a state where the links in /tmp are not created and no amount of resaving and rebuilding would create them. I've uploaded a new release with a minor change that should make this less likely if someone wants to try it out. https://github.com/johnno1962/InjectionIII/releases/tag/4.5.0RC2 The new version will need to re-patch the bazel worker code to take effect. To force this type: rm -rf bazel-out/../external in your workspace directory.

@saragiotto
Copy link

saragiotto commented Oct 24, 2022

Thank you @johnno1962 so much in getting deep in this matter. We are looking forward this support.

@keith
Copy link

keith commented Oct 24, 2022

I definitely think a solution using aquery or something else would be preferred to hacking the code in rules_swift, which is pretty fragile and also invalidates the bazel cache, since it changes the inputs to all swift compilation actions. Note that params files are written to disk in bazel-out/, not the absolutely final ones, but you could replicate the argument manipulation if needed

@johnno1962
Copy link
Owner

johnno1962 commented Nov 14, 2022

Re: the -Xlinker -interposable I'm no expert but I think you'd need to configure the bazel project you're using, either where bazel is invoked with --linkopt="-Wl,interposable or in the BUILD file (see the sample project)

ios_application(
    name = "SampleApp",
    minimum_os_version = "14.0",
    deps = [":AppSource"],
    infoplists = ["Info.plist"],
    families = ["iphone"],
    bundle_id = "com.example.SampleApp",
    visibility = ["//visibility:public"],
    linkopts = ["-interposable"]
)

@Kiesco08
Copy link

That's progress in a way... You changed Xcode versions? Is your xcode-select -p path used to find swiftc in line with the Xcode you're using? Short of that you could try deleting DervicedData but it seems a bit premature for that.

I did recently change Xcode versions but xcode-select -p returns:

/Applications/Xcode.app/Contents/Developer

Which is what I'm using (ie opening Xcode from Applications takes me back to the Xcode application I previously opened the sample project with)

@Kiesco08
Copy link

Re: the -Xlinker -interposable I'm no expert but I think you'd need to configure the bazel project you're using, either where bazel is invoked with --linkopt="-Wl,interposable or in the BUILD file (see the sample project)

ios_application(
    name = "SampleApp",
    minimum_os_version = "14.0",
    deps = [":AppSource"],
    infoplists = ["Info.plist"],
    families = ["iphone"],
    bundle_id = "com.example.SampleApp",
    visibility = ["//visibility:public"],
    linkopts = ["-interposable"]
)

This is what I have in my BUILD file as well.

@johnno1962
Copy link
Owner

The module cache path problem I'll have to see if I can replicate this end. Will reclone and try again from scratch.

@johnno1962
Copy link
Owner

johnno1962 commented Nov 14, 2022

No luck replicating this end but just before I try another build expanding out a link is the bazel-out directory in the project root a symbolic link to /private/var/tmp/_bazel_franck/f0bc3c31da61caadc00a029ab73fa84c/execroot/__main__/bazel-out for you?

@Kiesco08
Copy link

Yes it is

~/Development/SimpleBazel-main ❯ ls -l                                                                                                                                                                
total 16
drwxr-xr-x  4 franck  staff   128 Nov 14 09:39 0x00006000016182c5
-rw-rw-r--@ 1 franck  staff   279 Oct 27 00:45 README.md
drwxrwxr-x@ 8 franck  staff   256 Oct 27 00:45 SimpleBazel
drwxrwxr-x@ 9 franck  staff   288 Nov 14 10:32 Sources
-rw-rw-r--@ 1 franck  staff  1229 Oct 27 00:45 WORKSPACE
lrwxr-xr-x  1 franck  staff    81 Nov 14 10:01 bazel-SimpleBazel-main -> /private/var/tmp/_bazel_franck/f0bc3c31da61caadc00a029ab73fa84c/execroot/__main__
lrwxr-xr-x  1 franck  staff   113 Nov 14 10:01 bazel-bin -> /private/var/tmp/_bazel_franck/f0bc3c31da61caadc00a029ab73fa84c/execroot/__main__/bazel-out/ios_sim_arm64-dbg/bin
lrwxr-xr-x  1 franck  staff    91 Nov 14 10:01 bazel-out -> /private/var/tmp/_bazel_franck/f0bc3c31da61caadc00a029ab73fa84c/execroot/__main__/bazel-out
lrwxr-xr-x  1 franck  staff   118 Nov 14 10:01 bazel-testlogs -> /private/var/tmp/_bazel_franck/f0bc3c31da61caadc00a029ab73fa84c/execroot/__main__/bazel-out/ios_sim_arm64-dbg/testlogs

@johnno1962
Copy link
Owner

johnno1962 commented Nov 14, 2022

OK, I've replicated your problem by trying to fix it which should mean I can find what the problems is. Where you building the app from inside Xcode using the project generated with bazel run //Sources:xcodeproj or from the command line? Can you rm -rf bazel-out/* and try again?

@Kiesco08
Copy link

The former. I was building the app from inside Xcode using the project generated with bazel run //Sources:xcodeproj

@Kiesco08
Copy link

I get the same error after rm -rf bazel-out/* then building from inside Xcode

@johnno1962
Copy link
Owner

It's a strange problem, that worked for me once when I got the error. Anyway, I can replicate now so I'll be able to get to the bottom of it eventually. Stay tuned.

@Kiesco08
Copy link

Thank you so much, I will try doing it from scratch too.

@johnno1962
Copy link
Owner

I've re-uploaded the binary for 4.5.1RC1 with a build number of 7577 if you'd like to give it a try. I couldn't find anything systematic about when it chose one module cache path or the other for compiling the PCH so, for now it tries both!

Let me know if this moves us a step long. For the SimpleBazel app to show the colour updating on injection you'll need to add the following method in ViewController.swift:

    @objc func injected() {
        viewDidLoad()
    }

@Kiesco08
Copy link

It works! 🎉

@Kiesco08
Copy link

Tried on a more involved project and got the following, looks like a permission issue:

💉 ⚠️ Recompiling failed (see: /Users/franck/Library/Developer/CoreSimulator/Devices/218C2D97-BAD2-4FD6-B613-54CF5FCEC3ED/data/Containers/Data/Application/5753A02F-7B4F-4346-9241-574971084395/tmp/command.sh)
�[1m<unknown>:0: �[0m�[0;1;31merror: �[0m�[1mPCH was compiled with module cache path '/private/var/tmp/_bazel_franck/b6176c8b071fca5167f608abe13eaaf7/execroot/register/bazel-out/ios-sim_arm64-min14.0-applebin_ios-ios_sim_arm64-dbg-ST-3cfa6def5211/bin/_swift_module_cache/3DSAMZKGYP86Z', but the path is currently '/Users/franck/Development/ios-register/bazel-out/ios-sim_arm64-min14.0-applebin_ios-ios_sim_arm64-dbg-ST-3cfa6def5211/bin/_swift_module_cache/3DSAMZKGYP86Z'
�[0m�[1m<unknown>:0: �[0m�[0;1;31merror: �[0m�[1mmissing required module 'SwiftShims'
�[0m�[1m<unknown>:0: �[0m�[0;1;31merror: �[0m�[1merror opening 'bazel-out/ios-sim_arm64-min14.0-applebin_ios-ios_sim_arm64-dbg-ST-3cfa6def5211/bin/Verticals/Archetype/Frameworks/ArchetypeWelcome/Impl/ArchetypeWelcomeImpl-Swift.h' for output: Operation not permitted
�[0m

@johnno1962
Copy link
Owner

johnno1962 commented Nov 14, 2022

Hurrah! The new error is probably to do with sandboxing bazel seems to use. Are you able to send me (GitHub at johnholdsworth.com if need be) the /tmp/bazel_...params file it was using? I probably just need to filter out an -emit-something-or-other option to swiftc.

@Kiesco08
Copy link

"-target"
"arm64-apple-ios14.0-simulator"
"-sdk"
"/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.4.sdk"
"-F/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/Library/Frameworks"
"-F/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.4.sdk/Developer/Library/Frameworks"
"-I/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/lib"
"-emit-object"
"-Xfrontend"
"-no-clang-module-breadcrumbs"
"-emit-objc-header-path"
"bazel-out/ios-sim_arm64-min14.0-applebin_ios-ios_sim_arm64-dbg-ST-3cfa6def5211/bin/Verticals/Archetype/Frameworks/ArchetypeWelcome/Impl/ArchetypeWelcomeImpl-Swift.h"
"-DDEBUG"
"-Onone"
"-Xfrontend"
"-no-serialize-debugging-options"
"-enable-testing"
"-g"
"-debug-prefix-map"
"/private/var/tmp/_bazel_franck/b6176c8b071fca5167f608abe13eaaf7/execroot/register=."
"-module-cache-path"
"bazel-out/ios-sim_arm64-min14.0-applebin_ios-ios_sim_arm64-dbg-ST-3cfa6def5211/bin/_swift_module_cache"
"-pch-output-dir"
"bazel-out/ios-sim_arm64-min14.0-applebin_ios-ios_sim_arm64-dbg-ST-3cfa6def5211/bin/_pch_output_dir"
"-Xfrontend"
"-vfsoverlaybazel-out/ios-sim_arm64-min14.0-applebin_ios-ios_sim_arm64-dbg-ST-3cfa6def5211/bin/Verticals/Archetype/Frameworks/ArchetypeWelcome/Impl/ArchetypeWelcomeImpl_swift.vfsoverlay.yaml"
"-I/__build_bazel_rules_swift/swiftmodules"
"-Xcc"
"-iquote."
"-Xcc"
"-iquotebazel-out/ios-sim_arm64-min14.0-applebin_ios-ios_sim_arm64-dbg-ST-3cfa6def5211/bin"
"-Xcc"
"-DDEBUG_MENU"
"-Xcc"
"-DCOCOAPODS"
"-Xcc"
"-DDEBUG_MENU=1"
"-Xcc"
"-DCOCOAPODS=1"
"-Xcc"
"-fmodule-map-file=bazel-out/ios-sim_arm64-min14.0-applebin_ios-ios_sim_arm64-dbg-ST-3cfa6def5211/bin/Verticals/Archetype/Frameworks/ArchetypeWelcome/Impl/ArchetypeWelcomeImpl_same_package_framework_private_headers.swift.modulemap"
"-Xcc"
"-fmodule-map-file=bazel-out/ios-sim_arm64-min14.0-applebin_ios-ios_sim_arm64-dbg-ST-3cfa6def5211/bin/Verticals/Archetype/Frameworks/ArchetypeWelcome/Impl/ArchetypeWelcomeImpl_public_hmap.swift.modulemap"
"-Xcc"
"-fmodule-map-file=bazel-out/ios-sim_arm64-min14.0-applebin_ios-ios_sim_arm64-dbg-ST-3cfa6def5211/bin/Verticals/Archetype/Frameworks/ArchetypeWelcome/Impl/ArchetypeWelcomeImpl_private_hmap.swift.modulemap"
"-Xcc"
"-fmodule-map-file=bazel-out/ios-sim_arm64-min14.0-applebin_ios-ios_sim_arm64-dbg-ST-3cfa6def5211/bin/Verticals/Archetype/Frameworks/ArchetypeWelcome/Impl/ArchetypeWelcomeImpl_private_angled_hmap.swift.modulemap"
"-Xcc"
"-fmodule-map-file=bazel-out/ios-sim_arm64-min14.0-applebin_ios-ios_sim_arm64-dbg-ST-3cfa6def5211/bin/Verticals/Archetype/Frameworks/ArchetypeWelcome/Impl/ArchetypeWelcomeImpl_swift_vfs.swift.modulemap"
"-Xfrontend"
"-color-diagnostics"
"-num-threads"
"12"
"-module-name"
"ArchetypeWelcomeImpl"
"-index-store-path"
"bazel-out/_global_index_store"
"-DDEBUG_MENU"
"-DCOCOAPODS"
"-DDEBUG_MENU"
"-DCOCOAPODS"
"-parse-as-library"
"-DDEBUG_MENU"
"-DCOCOAPODS"
"-whole-module-optimization"
"-debug-prefix-map"
"/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.4.sdk/usr/include/objc/./=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.4.sdk/usr/include/objc/"
"-Xcc"
"-Ibazel-out/ios-sim_arm64-min14.0-applebin_ios-ios_sim_arm64-dbg-ST-3cfa6def5211/bin/Verticals/Archetype/Frameworks/ArchetypeWelcome/Impl/ArchetypeWelcomeImpl_same_package_framework_private_headers.hmap"
"-Xfrontend"
"-vfsoverlaybazel-out/ios-sim_arm64-min14.0-applebin_ios-ios_sim_arm64-dbg-ST-3cfa6def5211/bin/Verticals/Archetype/Frameworks/ArchetypeWelcome/Impl/ArchetypeWelcomeImpl_swift_vfs.yaml"
"-Xfrontend"
"-F/build_bazel_rules_ios/frameworks"
"-I/build_bazel_rules_ios/frameworks"
"-Xcc"
"-ivfsoverlaybazel-out/ios-sim_arm64-min14.0-applebin_ios-ios_sim_arm64-dbg-ST-3cfa6def5211/bin/Verticals/Archetype/Frameworks/ArchetypeWelcome/Impl/ArchetypeWelcomeImpl_swift_vfs.yaml"
"-Xcc"
"-F/build_bazel_rules_ios/frameworks"
"-Xcc"
"-Ibazel-out/ios-sim_arm64-min14.0-applebin_ios-ios_sim_arm64-dbg-ST-3cfa6def5211/bin/Verticals/Archetype/Frameworks/ArchetypeWelcome/Impl/ArchetypeWelcomeImpl_private_hmap.hmap"
"-Xcc"
"-Ibazel-out/ios-sim_arm64-min14.0-applebin_ios-ios_sim_arm64-dbg-ST-3cfa6def5211/bin/Verticals/Archetype/Frameworks/ArchetypeWelcome/Impl/ArchetypeWelcomeImpl_public_hmap.hmap"
"-Xcc"
"-Ibazel-out/ios-sim_arm64-min14.0-applebin_ios-ios_sim_arm64-dbg-ST-3cfa6def5211/bin/Verticals/Archetype/Frameworks/ArchetypeWelcome/Impl/ArchetypeWelcomeImpl_private_angled_hmap.hmap"
"-Xcc"
"-iquotebazel-out/ios-sim_arm64-min14.0-applebin_ios-ios_sim_arm64-dbg-ST-3cfa6def5211/bin/Verticals/Archetype/Frameworks/ArchetypeWelcome/Impl/ArchetypeWelcomeImpl_private_hmap.hmap"
"-Xcc"
"-D__SWIFTC__"
"-Xfrontend"
"-no-clang-module-breadcrumbs"
"-swift-version"
"5"
"-Xcc"
"-I."
"-import-underlying-module"
"-static"
"-Xcc"
"-O0"
"-Xcc"
"-DDEBUG=1"
"-Xcc"
"-fstack-protector"
"-Xcc"
"-fstack-protector-all"
"Verticals/Archetype/Frameworks/ArchetypeWelcome/Impl/Sources/ArchetypeWelcomeViewController.swift"
"-output-file-map"
"bazel-out/ios-sim_arm64-min14.0-applebin_ios-ios_sim_arm64-dbg-ST-3cfa6def5211/bin/Verticals/Archetype/Frameworks/ArchetypeWelcome/Impl/ArchetypeWelcomeImpl_swift.output_file_map.json"

@johnno1962
Copy link
Owner

Thanks, looks like the -emit-objc-header-path needs to be filtered out, I've uploaded the 4.5.1RC1 release again, build 7578. Can you try it please?

@Kiesco08
Copy link

I get this now:

💉 Unable to connect to InjectionIII app, falling back to standalone HotReloading.
💉 HotReloading available for sources under ["/Users/franck"]
💉 Using logs: /Users/franck/Library/Developer/Xcode/DerivedData/bazel-project-ammbumdnhilcntforcnzbpbcztyb/Logs/Build.
💉 Compiling using parameters from /tmp/bazel_ArchetypeWelcomeImpl.params.copy
💉 Selecting Xcode /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.4.sdk"
"-F/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/Library/Frameworks"
"-F/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.4.sdk/Developer/Library/Frameworks"
"-I/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/lib"
"-emit-object"
"-Xfrontend"
"-no-clang-module-breadcrumbs"
"-DDEBUG"
"-Onone"
"-Xfrontend"
"-no-serialize-debugging-options"
"-enable-testing"
"-g"
"-debug-prefix-map"
"/private/var/tmp/_bazel_franck/b6176c8b071fca5167f608abe13eaaf7/execroot/register=."
"-module-cache-path"
"bazel-out/ios-sim_arm64-min14.0-applebin_ios-ios_sim_arm64-dbg-ST-3cfa6def5211/bin/_swift_module_cache"
"-pch-output-dir"
"bazel-out/ios-sim_arm64-min14.0-applebin_ios-ios_sim_arm64-dbg-ST-3cfa6def5211/bin/_pch_output_dir"
"-Xfrontend"
"-vfsoverlaybazel-out/ios-sim_arm64-min14.0-applebin_ios-ios_sim_arm64-dbg-ST-3cfa6def5211/bin/Verticals/Archetype/Frameworks/ArchetypeWelcome/Impl/ArchetypeWelcomeImpl_swift.vfsoverlay.yaml"
"-I/__build_bazel_rules_swift/swiftmodules"
"-Xcc"
"-iquote."
"-Xcc"
"-iquotebazel-out/ios-sim_arm64-min14.0-applebin_ios-ios_sim_arm64-dbg-ST-3cfa6def5211/bin"
"-Xcc"
"-DDEBUG_MENU"
"-Xcc"
"-DCOCOAPODS"
"-Xcc"
"-DDEBUG_MENU=1"
"-Xcc"
"-DCOCOAPODS=1"
"-Xcc"
"-fmodule-map-file=bazel-out/ios-sim_arm64-min14.0-applebin_ios-ios_sim_arm64-dbg-ST-3cfa6def5211/bin/Verticals/Archetype/Frameworks/ArchetypeWelcome/Impl/ArchetypeWelcomeImpl_same_package_framework_private_headers.swift.modulemap"
"-Xcc"
"-fmodule-map-file=bazel-out/ios-sim_arm64-min14.0-applebin_ios-ios_sim_arm64-dbg-ST-3cfa6def5211/bin/Verticals/Archetype/Frameworks/ArchetypeWelcome/Impl/ArchetypeWelcomeImpl_public_hmap.swift.modulemap"
"-Xcc"
"-fmodule-map-file=bazel-out/ios-sim_arm64-min14.0-applebin_ios-ios_sim_arm64-dbg-ST-3cfa6def5211/bin/Verticals/Archetype/Frameworks/ArchetypeWelcome/Impl/ArchetypeWelcomeImpl_private_hmap.swift.modulemap"
"-Xcc"
"-fmodule-map-file=bazel-out/ios-sim_arm64-min14.0-applebin_ios-ios_sim_arm64-dbg-ST-3cfa6def5211/bin/Verticals/Archetype/Frameworks/ArchetypeWelcome/Impl/ArchetypeWelcomeImpl_private_angled_hmap.swift.modulemap"
"-Xcc"
"-fmodule-map-file=bazel-out/ios-sim_arm64-min14.0-applebin_ios-ios_sim_arm64-dbg-ST-3cfa6def5211/bin/Verticals/Archetype/Frameworks/ArchetypeWelcome/Impl/ArchetypeWelcomeImpl_swift_vfs.swift.modulemap"
"-Xfrontend"
"-color-diagnostics"
"-num-threads"
"12"
"-module-name"
"ArchetypeWelcomeImpl"
"-index-store-path"
"bazel-out/_global_index_store"
"-DDEBUG_MENU"
"-DCOCOAPODS"
"-DDEBUG_MENU"
"-DCOCOAPODS"
"-parse-as-library"
"-DDEBUG_MENU"
"-DCOCOAPODS"
"-whole-module-optimization"
"-debug-prefix-map"
"/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.4.sdk/usr/include/objc/./=/Applications/Xcode.app/Contents/Developer
/Users/franck/Library/Developer/CoreSimulator/Devices/BE88ED62-C1DB-4EF2-9024-70FBBF4F560A/data/Containers/Data/Application/7C16B822-541C-4BE4-B06B-66B8BE2855C7/tmp/command.sh: line 1: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.4.sdk: is a directory
/Users/franck/Library/Developer/CoreSimulator/Devices/BE88ED62-C1DB-4EF2-9024-70FBBF4F560A/data/Containers/Data/Application/7C16B822-541C-4BE4-B06B-66B8BE2855C7/tmp/command.sh: line 2: -F/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/Library/Frameworks: No such file or directory
/Users/franck/Library/Developer/CoreSimulator/Devices/BE88ED62-C1DB-4EF2-9024-70FBBF4F560A/data/Containers/Data/Application/7C16B822-541C-4BE4-B06B-66B8BE2855C7/tmp/command.sh: line 3: -F/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.4.sdk/Developer/Library/Frameworks: No such file or directory
/Users/franck/Library/Developer/CoreSimulator/Devices/BE88ED62-C1DB-4EF2-9024-70FBBF4F560A/data/Containers/Data/Application/7C16B822-541C-4BE4-B06B-66B8BE2855C7/tmp/command.sh: line 4: -I/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/lib: No such file or directory
/Users/franck/Library/Developer/CoreSimulator/Devices/BE88ED62-C1DB-4EF2-9024-70FBBF4F560A/data/Containers/Data/Application/7C16B822-541C-4BE4-B06B-66B8BE2855C7/tmp/command.sh: line 5: -emit-object: command not found
/Users/franck/Library/Developer/CoreSimulator/Devices/BE88ED62-C1DB-4EF2-9024-70FBBF4F560A/data/Containers/Data/Application/7C16B822-541C-4BE4-B06B-66B8BE2855C7/tmp/command.sh: line 6: -Xfrontend: command not found
/Users/franck/Library/Developer/CoreSimulator/Devices/BE88ED62-C1DB-4EF2-9024-70FBBF4F560A/data/Containers/Data/Application/7C16B822-541C-4BE4-B06B-66B8BE2855C7/tmp/command.sh: line 7: -no-clang-module-breadcrumbs: command not found
/Users/franck/Library/Developer/CoreSimulator/Devices/BE88ED62-C1DB-4EF2-9024-70FBBF4F560A/data/Containers/Data/Application/7C16B822-541C-4BE4-B06B-66B8BE2855C7/tmp/command.sh: line 8: -DDEBUG: command not found
/Users/franck/Library/Developer/CoreSimulator/Devices/BE88ED62-C1DB-4EF2-9024-70FBBF4F560A/data/Containers/Data/Application/7C16B822-541C-4BE4-B06B-66B8BE2855C7/tmp/command.sh: line 9: -Onone: command not found
/Users/franck/Library/Developer/CoreSimulator/Devices/BE88ED62-C1DB-4EF2-9024-70FBBF4F560A/data/Containers/Data/Application/7C16B822-541C-4BE4-B06B-66B8BE2855C7/tmp/command.sh: line 10: -Xfrontend: command not found
/Users/franck/Library/Developer/CoreSimulator/Devices/BE88ED62-C1DB-4EF2-9024-70FBBF4F560A/data/Containers/Data/Application/7C16B822-541C-4BE4-B06B-66B8BE2855C7/tmp/command.sh: line 11: -no-serialize-debugging-options: command not found
/Users/franck/Library/Developer/CoreSimulator/Devices/BE88ED62-C1DB-4EF2-9024-70FBBF4F560A/data/Containers/Data/Application/7C16B822-541C-4BE4-B06B-66B8BE2855C7/tmp/command.sh: line 12: -enable-testing: command not found
/Users/franck/Library/Developer/CoreSimulator/Devices/BE88ED62-C1DB-4EF2-9024-70FBBF4F560A/data/Containers/Data/Application/7C16B822-541C-4BE4-B06B-66B8BE2855C7/tmp/command.sh: line 13: -g: command not found
/Users/franck/Library/Developer/CoreSimulator/Devices/BE88ED62-C1DB-4EF2-9024-70FBBF4F560A/data/Containers/Data/Application/7C16B822-541C-4BE4-B06B-66B8BE2855C7/tmp/command.sh: line 14: -debug-prefix-map: command not found
/Users/franck/Library/Developer/CoreSimulator/Devices/BE88ED62-C1DB-4EF2-9024-70FBBF4F560A/data/Containers/Data/Application/7C16B822-541C-4BE4-B06B-66B8BE2855C7/tmp/command.sh: line 15: /private/var/tmp/_bazel_franck/b6176c8b071fca5167f608abe13eaaf7/execroot/register=.: No such file or directory
/Users/franck/Library/Developer/CoreSimulator/Devices/BE88ED62-C1DB-4EF2-9024-70FBBF4F560A/data/Containers/Data/Application/7C16B822-541C-4BE4-B06B-66B8BE2855C7/tmp/command.sh: line 16: -module-cache-path: command not found
/Users/franck/Library/Developer/CoreSimulator/Devices/BE88ED62-C1DB-4EF2-9024-70FBBF4F560A/data/Containers/Data/Application/7C16B822-541C-4BE4-B06B-66B8BE2855C7/tmp/command.sh: line 17: bazel-out/ios-sim_arm64-min14.0-applebin_ios-ios_sim_arm64-dbg-ST-3cfa6def5211/bin/_swift_module_cache: is a directory
/Users/franck/Library/Developer/CoreSimulator/Devices/BE88ED62-C1DB-4EF2-9024-70FBBF4F560A/data/Containers/Data/Application/7C16B822-541C-4BE4-B06B-66B8BE2855C7/tmp/command.sh: line 18: -pch-output-dir: command not found
/Users/franck/Library/Developer/CoreSimulator/Devices/BE88ED62-C1DB-4EF2-9024-70FBBF4F560A/data/Containers/Data/Application/7C16B822-541C-4BE4-B06B-66B8BE2855C7/tmp/command.sh: line 19: bazel-out/ios-sim_arm64-min14.0-applebin_ios-ios_sim_arm64-dbg-ST-3cfa6def5211/bin/_pch_output_dir: No such file or directory
/Users/franck/Library/Developer/CoreSimulator/Devices/BE88ED62-C1DB-4EF2-9024-70FBBF4F560A/data/Containers/Data/Application/7C16B822-541C-4BE4-B06B-66B8BE2855C7/tmp/command.sh: line 20: -Xfrontend: command not found
/Users/franck/Library/Developer/CoreSimulator/Devices/BE88ED62-C1DB-4EF2-9024-70FBBF4F560A/data/Containers/Data/Application/7C16B822-541C-4BE4-B06B-66B8BE2855C7/tmp/command.sh: line 21: -vfsoverlaybazel-out/ios-sim_arm64-min14.0-applebin_ios-ios_sim_arm64-dbg-ST-3cfa6def5211/bin/Verticals/Archetype/Frameworks/ArchetypeWelcome/Impl/ArchetypeWelcomeImpl_swift.vfsoverlay.yaml: No such file or directory
/Users/franck/Library/Developer/CoreSimulator/Devices/BE88ED62-C1DB-4EF2-9024-70FBBF4F560A/data/Containers/Data/Application/7C16B822-541C-4BE4-B06B-66B8BE2855C7/tmp/command.sh: line 22: -I/__build_bazel_rules_swift/swiftmodules: No such file or directory
/Users/franck/Library/Developer/CoreSimulator/Devices/BE88ED62-C1DB-4EF2-9024-70FBBF4F560A/data/Containers/Data/Application/7C16B822-541C-4BE4-B06B-66B8BE2855C7/tmp/command.sh: line 23: -Xcc: command not found
/Users/franck/Library/Developer/CoreSimulator/Devices/BE88ED62-C1DB-4EF2-9024-70FBBF4F560A/data/Containers/Data/Application/7C16B822-541C-4BE4-B06B-66B8BE2855C7/tmp/command.sh: line 24: -iquote.: command not found
/Users/franck/Library/Developer/CoreSimulator/Devices/BE88ED62-C1DB-4EF2-9024-70FBBF4F560A/data/Containers/Data/Application/7C16B822-541C-4BE4-B06B-66B8BE2855C7/tmp/command.sh: line 25: -Xcc: command not found
/Users/franck/Library/Developer/CoreSimulator/Devices/BE88ED62-C1DB-4EF2-9024-70FBBF4F560A/data/Containers/Data/Application/7C16B822-541C-4BE4-B06B-66B8BE2855C7/tmp/command.sh: line 26: -iquotebazel-out/ios-sim_arm64-min14.0-applebin_ios-ios_sim_arm64-dbg-ST-3cfa6def5211/bin: No such file or directory
/Users/franck/Library/Developer/CoreSimulator/Devices/BE88ED62-C1DB-4EF2-9024-70FBBF4F560A/data/Containers/Data/Application/7C16B822-541C-4BE4-B06B-66B8BE2855C7/tmp/command.sh: line 27: -Xcc: command not found
/Users/franck/Library/Developer/CoreSimulator/Devices/BE88ED62-C1DB-4EF2-9024-70FBBF4F560A/data/Containers/Data/Application/7C16B822-541C-4BE4-B06B-66B8BE2855C7/tmp/command.sh: line 28: -DDEBUG_MENU: command not found
/Users/franck/Library/Developer/CoreSimulator/Devices/BE88ED62-C1DB-4EF2-9024-70FBBF4F560A/data/Containers/Data/Application/7C16B822-541C-4BE4-B06B-66B8BE2855C7/tmp/command.sh: line 29: -Xcc: command not found
/Users/franck/Library/Developer/CoreSimulator/Devices/BE88ED62-C1DB-4EF2-9024-70FBBF4F560A/data/Containers/Data/Application/7C16B822-541C-4BE4-B06B-66B8BE2855C7/tmp/command.sh: line 30: -DCOCOAPODS: command not found
/Users/franck/Library/Developer/CoreSimulator/Devices/BE88ED62-C1DB-4EF2-9024-70FBBF4F560A/data/Containers/Data/Application/7C16B822-541C-4BE4-B06B-66B8BE2855C7/tmp/command.sh: line 31: -Xcc: command not found
/Users/franck/Library/Developer/CoreSimulator/Devices/BE88ED62-C1DB-4EF2-9024-70FBBF4F560A/data/Containers/Data/Application/7C16B822-541C-4BE4-B06B-66B8BE2855C7/tmp/command.sh: line 32: -DDEBUG_MENU=1: command not found
/Users/franck/Library/Developer/CoreSimulator/Devices/BE88ED62-C1DB-4EF2-9024-70FBBF4F560A/data/Containers/Data/Application/7C16B822-541C-4BE4-B06B-66B8BE2855C7/tmp/command.sh: line 33: -Xcc: command not found
/Users/franck/Library/Developer/CoreSimulator/Devices/BE88ED62-C1DB-4EF2-9024-70FBBF4F560A/data/Containers/Data/Application/7C16B822-541C-4BE4-B06B-66B8BE2855C7/tmp/command.sh: line 34: -DCOCOAPODS=1: command not found
/Users/franck/Library/Developer/CoreSimulator/Devices/BE88ED62-C1DB-4EF2-9024-70FBBF4F560A/data/Containers/Data/Application/7C16B822-541C-4BE4-B06B-66B8BE2855C7/tmp/command.sh: line 35: -Xcc: command not found
/Users/franck/Library/Developer/CoreSimulator/Devices/BE88ED62-C1DB-4EF2-9024-70FBBF4F560A/data/Containers/Data/Application/7C16B822-541C-4BE4-B06B-66B8BE2855C7/tmp/command.sh: line 36: -fmodule-map-file=bazel-out/ios-sim_arm64-min14.0-applebin_ios-ios_sim_arm64-dbg-ST-3cfa6def5211/bin/Verticals/Archetype/Frameworks/ArchetypeWelcome/Impl/ArchetypeWelcomeImpl_same_package_framework_private_headers.swift.modulemap: No such file or directory
/Users/franck/Library/Developer/CoreSimulator/Devices/BE88ED62-C1DB-4EF2-9024-70FBBF4F560A/data/Containers/Data/Application/7C16B822-541C-4BE4-B06B-66B8BE2855C7/tmp/command.sh: line 37: -Xcc: command not found
/Users/franck/Library/Developer/CoreSimulator/Devices/BE88ED62-C1DB-4EF2-9024-70FBBF4F560A/data/Containers/Data/Application/7C16B822-541C-4BE4-B06B-66B8BE2855C7/tmp/command.sh: line 38: -fmodule-map-file=bazel-out/ios-sim_arm64-min14.0-applebin_ios-ios_sim_arm64-dbg-ST-3cfa6def5211/bin/Verticals/Archetype/Frameworks/ArchetypeWelcome/Impl/ArchetypeWelcomeImpl_public_hmap.swift.modulemap: No such file or directory
/Users/franck/Library/Developer/CoreSimulator/Devices/BE88ED62-C1DB-4EF2-9024-70FBBF4F560A/data/Containers/Data/Application/7C16B822-541C-4BE4-B06B-66B8BE2855C7/tmp/command.sh: line 39: -Xcc: command not found
/Users/franck/Library/Developer/CoreSimulator/Devices/BE88ED62-C1DB-4EF2-9024-70FBBF4F560A/data/Containers/Data/Application/7C16B822-541C-4BE4-B06B-66B8BE2855C7/tmp/command.sh: line 40: -fmodule-map-file=bazel-out/ios-sim_arm64-min14.0-applebin_ios-ios_sim_arm64-dbg-ST-3cfa6def5211/bin/Verticals/Archetype/Frameworks/ArchetypeWelcome/Impl/ArchetypeWelcomeImpl_private_hmap.swift.modulemap: No such file or directory
/Users/franck/Library/Developer/CoreSimulator/Devices/BE88ED62-C1DB-4EF2-9024-70FBBF4F560A/data/Containers/Data/Application/7C16B822-541C-4BE4-B06B-66B8BE2855C7/tmp/command.sh: line 41: -Xcc: command not found
/Users/franck/Library/Developer/CoreSimulator/Devices/BE88ED62-C1DB-4EF2-9024-70FBBF4F560A/data/Containers/Data/Application/7C16B822-541C-4BE4-B06B-66B8BE2855C7/tmp/command.sh: line 42: -fmodule-map-file=bazel-out/ios-sim_arm64-min14.0-applebin_ios-ios_sim_arm64-dbg-ST-3cfa6def5211/bin/Verticals/Archetype/Frameworks/ArchetypeWelcome/Impl/ArchetypeWelcomeImpl_private_angled_hmap.swift.modulemap: No such file or directory
/Users/franck/Library/Developer/CoreSimulator/Devices/BE88ED62-C1DB-4EF2-9024-70FBBF4F560A/data/Containers/Data/Application/7C16B822-541C-4BE4-B06B-66B8BE2855C7/tmp/command.sh: line 43: -Xcc: command not found
/Users/franck/Library/Developer/CoreSimulator/Devices/BE88ED62-C1DB-4EF2-9024-70FBBF4F560A/data/Containers/Data/Application/7C16B822-541C-4BE4-B06B-66B8BE2855C7/tmp/command.sh: line 44: -fmodule-map-file=bazel-out/ios-sim_arm64-min14.0-applebin_ios-ios_sim_arm64-dbg-ST-3cfa6def5211/bin/Verticals/Archetype/Frameworks/ArchetypeWelcome/Impl/ArchetypeWelcomeImpl_swift_vfs.swift.modulemap: No such file or directory
/Users/franck/Library/Developer/CoreSimulator/Devices/BE88ED62-C1DB-4EF2-9024-70FBBF4F560A/data/Containers/Data/Application/7C16B822-541C-4BE4-B06B-66B8BE2855C7/tmp/command.sh: line 45: -Xfrontend: command not found
/Users/franck/Library/Developer/CoreSimulator/Devices/BE88ED62-C1DB-4EF2-9024-70FBBF4F560A/data/Containers/Data/Application/7C16B822-541C-4BE4-B06B-66B8BE2855C7/tmp/command.sh: line 46: -color-diagnostics: command not found
/Users/franck/Library/Developer/CoreSimulator/Devices/BE88ED62-C1DB-4EF2-9024-70FBBF4F560A/data/Containers/Data/Application/7C16B822-541C-4BE4-B06B-66B8BE2855C7/tmp/command.sh: line 47: -num-threads: command not found
/Users/franck/Library/Developer/CoreSimulator/Devices/BE88ED62-C1DB-4EF2-9024-70FBBF4F560A/data/Containers/Data/Application/7C16B822-541C-4BE4-B06B-66B8BE2855C7/tmp/command.sh: line 48: 12: command not found
/Users/franck/Library/Developer/CoreSimulator/Devices/BE88ED62-C1DB-4EF2-9024-70FBBF4F560A/data/Containers/Data/Application/7C16B822-541C-4BE4-B06B-66B8BE2855C7/tmp/command.sh: line 49: -module-name: command not found
/Users/franck/Library/Developer/CoreSimulator/Devices/BE88ED62-C1DB-4EF2-9024-70FBBF4F560A/data/Containers/Data/Application/7C16B822-541C-4BE4-B06B-66B8BE2855C7/tmp/command.sh: line 50: ArchetypeWelcomeImpl: command not found
/Users/franck/Library/Developer/CoreSimulator/Devices/BE88ED62-C1DB-4EF2-9024-70FBBF4F560A/data/Containers/Data/Application/7C16B822-541C-4BE4-B06B-66B8BE2855C7/tmp/command.sh: line 51: -index-store-path: command not found
/Users/franck/Library/Developer/CoreSimulator/Devices/BE88ED62-C1DB-4EF2-9024-70FBBF4F560A/data/Containers/Data/Application/7C16B822-541C-4BE4-B06B-66B8BE2855C7/tmp/command.sh: line 52: bazel-out/_global_index_store: is a directory
/Users/franck/Library/Developer/CoreSimulator/Devices/BE88ED62-C1DB-4EF2-9024-70FBBF4F560A/data/Containers/Data/Application/7C16B822-541C-4BE4-B06B-66B8BE2855C7/tmp/command.sh: line 53: -DDEBUG_MENU: command not found
/Users/franck/Library/Developer/CoreSimulator/Devices/BE88ED62-C1DB-4EF2-9024-70FBBF4F560A/data/Containers/Data/Application/7C16B822-541C-4BE4-B06B-66B8BE2855C7/tmp/command.sh: line 54: -DCOCOAPODS: command not found
/Users/franck/Library/Developer/CoreSimulator/Devices/BE88ED62-C1DB-4EF2-9024-70FBBF4F560A/data/Containers/Data/Application/7C16B822-541C-4BE4-B06B-66B8BE2855C7/tmp/command.sh: line 55: -DDEBUG_MENU: command not found
/Users/franck/Library/Developer/CoreSimulator/Devices/BE88ED62-C1DB-4EF2-9024-70FBBF4F560A/data/Containers/Data/Application/7C16B822-541C-4BE4-B06B-66B8BE2855C7/tmp/command.sh: line 56: -DCOCOAPODS: command not found
/Users/franck/Library/Developer/CoreSimulator/Devices/BE88ED62-C1DB-4EF2-9024-70FBBF4F560A/data/Containers/Data/Application/7C16B822-541C-4BE4-B06B-66B8BE2855C7/tmp/command.sh: line 57: -parse-as-library: command not found
/Users/franck/Library/Developer/CoreSimulator/Devices/BE88ED62-C1DB-4EF2-9024-70FBBF4F560A/data/Containers/Data/Application/7C16B822-541C-4BE4-B06B-66B8BE2855C7/tmp/command.sh: line 58: -DDEBUG_MENU: command not found
/Users/franck/Library/Developer/CoreSimulator/Devices/BE88ED62-C1DB-4EF2-9024-70FBBF4F560A/data/Containers/Data/Application/7C16B822-541C-4BE4-B06B-66B8BE2855C7/tmp/command.sh: line 59: -DCOCOAPODS: command not found
/Users/franck/Library/Developer/CoreSimulator/Devices/BE88ED62-C1DB-4EF2-9024-70FBBF4F560A/data/Containers/Data/Application/7C16B822-541C-4BE4-B06B-66B8BE2855C7/tmp/command.sh: line 60: -whole-module-optimization: command not found
/Users/franck/Library/Developer/CoreSimulator/Devices/BE88ED62-C1DB-4EF2-9024-70FBBF4F560A/data/Containers/Data/Application/7C16B822-541C-4BE4-B06B-66B8BE2855C7/tmp/command.sh: line 61: -debug-prefix-map: command not found
/Users/franck/Library/Developer/CoreSimulator/Devices/BE88ED62-C1DB-4EF2-9024-70FBBF4F560A/data/Containers/Data/Application/7C16B822-541C-4BE4-B06B-66B8BE2855C7/tmp/command.sh: line 62: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.4.sdk/usr/include/objc/./=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang: No such file or directory
/Users/franck/Library/Developer/CoreSimulator/Devices/BE88ED62-C1DB-4EF2-9024-70FBBF4F560A/data/Containers/Data/Application/7C16B822-541C-4BE4-B06B-66B8BE2855C7/tmp/command.sh: line 63: -F/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/Library/Frameworks: No such file or directory
/Users/franck/Library/Developer/CoreSimulator/Devices/BE88ED62-C1DB-4EF2-9024-70FBBF4F560A/data/Containers/Data/Application/7C16B822-541C-4BE4-B06B-66B8BE2855C7/tmp/command.sh: line 64: -F/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.4.sdk/Developer/Library/Frameworks: No such file or directory
/Users/franck/Library/Developer/CoreSimulator/Devices/BE88ED62-C1DB-4EF2-9024-70FBBF4F560A/data/Containers/Data/Application/7C16B822-541C-4BE4-B06B-66B8BE2855C7/tmp/command.sh: line 65: -I/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/lib: No such file or directory
/Users/franck/Library/Developer/CoreSimulator/Devices/BE88ED62-C1DB-4EF2-9024-70FBBF4F560A/data/Containers/Data/Application/7C16B822-541C-4BE4-B06B-66B8BE2855C7/tmp/command.sh: line 66: -emit-object: command not found
/Users/franck/Library/Developer/CoreSimulator/Devices/BE88ED62-C1DB-4EF2-9024-70FBBF4F560A/data/Containers/Data/Application/7C16B822-541C-4BE4-B06B-66B8BE2855C7/tmp/command.sh: line 67: -Xfrontend: command not found
/Users/franck/Library/Developer/CoreSimulator/Devices/BE88ED62-C1DB-4EF2-9024-70FBBF4F560A/data/Containers/Data/Application/7C16B822-541C-4BE4-B06B-66B8BE2855C7/tmp/command.sh: line 68: -no-clang-module-breadcrumbs: command not found
/Users/franck/Library/Developer/CoreSimulator/Devices/BE88ED62-C1DB-4EF2-9024-70FBBF4F560A/data/Containers/Data/Application/7C16B822-541C-4BE4-B06B-66B8BE2855C7/tmp/command.sh: line 69: -DDEBUG: command not found
/Users/franck/Library/Developer/CoreSimulator/Devices/BE88ED62-C1DB-4EF2-9024-70FBBF4F560A/data/Containers/Data/Application/7C16B822-541C-4BE4-B06B-66B8BE2855C7/tmp/command.sh: line 70: -Onone: command not found
/Users/franck/Library/Developer/CoreSimulator/Devices/BE88ED62-C1DB-4EF2-9024-70FBBF4F560A/data/Containers/Data/Application/7C16B822-541C-4BE4-B06B-66B8BE2855C7/tmp/command.sh: line 71: -Xfrontend: command not found
/Users/franck/Library/Developer/CoreSimulator/Devices/BE88ED62-C1DB-4EF2-9024-70FBBF4F560A/data/Containers/Data/Application/7C16B822-541C-4BE4-B06B-66B8BE2855C7/tmp/command.sh: line 72: -no-serialize-debugging-options: command not found
/Users/franck/Library/Developer/CoreSimulator/Devices/BE88ED62-C1DB-4EF2-9024-70FBBF4F560A/data/Containers/Data/Application/7C16B822-541C-4BE4-B06B-66B8BE2855C7/tmp/command.sh: line 73: -enable-testing: command not found
/Users/franck/Library/Developer/CoreSimulator/Devices/BE88ED62-C1DB-4EF2-9024-70FBBF4F560A/data/Containers/Data/Application/7C16B822-541C-4BE4-B06B-66B8BE2855C7/tmp/command.sh: line 74: -g: command not found
/Users/franck/Library/Developer/CoreSimulator/Devices/BE88ED62-C1DB-4EF2-9024-70FBBF4F560A/data/Containers/Data/Application/7C16B822-541C-4BE4-B06B-66B8BE2855C7/tmp/command.sh: line 75: -debug-prefix-map: command not found
/Users/franck/Library/Developer/CoreSimulator/Devices/BE88ED62-C1DB-4EF2-9024-70FBBF4F560A/data/Containers/Data/Application/7C16B822-541C-4BE4-B06B-66B8BE2855C7/tmp/command.sh: line 76: /private/var/tmp/_bazel_franck/b6176c8b071fca5167f608abe13eaaf7/execroot/register=.: No such file or directory
/Users/franck/Library/Developer/CoreSimulator/Devices/BE88ED62-C1DB-4EF2-9024-70FBBF4F560A/data/Containers/Data/Application/7C16B822-541C-4BE4-B06B-66B8BE2855C7/tmp/command.sh: line 77: -module-cache-path: command not found
/Users/franck/Library/Developer/CoreSimulator/Devices/BE88ED62-C1DB-4EF2-9024-70FBBF4F560A/data/Containers/Data/Application/7C16B822-541C-4BE4-B06B-66B8BE2855C7/tmp/command.sh: line 78: bazel-out/ios-sim_arm64-min14.0-applebin_ios-ios_sim_arm64-dbg-ST-3cfa6def5211/bin/_swift_module_cache: is a directory
/Users/franck/Library/Developer/CoreSimulator/Devices/BE88ED62-C1DB-4EF2-9024-70FBBF4F560A/data/Containers/Data/Application/7C16B822-541C-4BE4-B06B-66B8BE2855C7/tmp/command.sh: line 79: -pch-output-dir: command not found
/Users/franck/Library/Developer/CoreSimulator/Devices/BE88ED62-C1DB-4EF2-9024-70FBBF4F560A/data/Containers/Data/Application/7C16B822-541C-4BE4-B06B-66B8BE2855C7/tmp/command.sh: line 80: bazel-out/ios-sim_arm64-min14.0-applebin_ios-ios_sim_arm64-dbg-ST-3cfa6def5211/bin/_pch_output_dir: No such file or directory
/Users/franck/Library/Developer/CoreSimulator/Devices/BE88ED62-C1DB-4EF2-9024-70FBBF4F560A/data/Containers/Data/Application/7C16B822-541C-4BE4-B06B-66B8BE2855C7/tmp/command.sh: line 81: -Xfrontend: command not found
/Users/franck/Library/Developer/CoreSimulator/Devices/BE88ED62-C1DB-4EF2-9024-70FBBF4F560A/data/Containers/Data/Application/7C16B822-541C-4BE4-B06B-66B8BE2855C7/tmp/command.sh: line 82: -vfsoverlaybazel-out/ios-sim_arm64-min14.0-applebin_ios-ios_sim_arm64-dbg-ST-3cfa6def5211/bin/Verticals/Archetype/Frameworks/ArchetypeWelcome/Impl/ArchetypeWelcomeImpl_swift.vfsoverlay.yaml: No such file or directory
/Users/franck/Library/Developer/CoreSimulator/Devices/BE88ED62-C1DB-4EF2-9024-70FBBF4F560A/data/Containers/Data/Application/7C16B822-541C-4BE4-B06B-66B8BE2855C7/tmp/command.sh: line 83: -I/__build_bazel_rules_swift/swiftmodules: No such file or directory
/Users/franck/Library/Developer/CoreSimulator/Devices/BE88ED62-C1DB-4EF2-9024-70FBBF4F560A/data/Containers/Data/Application/7C16B822-541C-4BE4-B06B-66B8BE2855C7/tmp/command.sh: line 84: -Xcc: command not found
/Users/franck/Library/Developer/CoreSimulator/Devices/BE88ED62-C1DB-4EF2-9024-70FBBF4F560A/data/Containers/Data/Application/7C16B822-541C-4BE4-B06B-66B8BE2855C7/tmp/command.sh: line 85: -iquote.: command not found
/Users/franck/Library/Developer/CoreSimulator/Devices/BE88ED62-C1DB-4EF2-9024-70FBBF4F560A/data/Containers/Data/Application/7C16B822-541C-4BE4-B06B-66B8BE2855C7/tmp/command.sh: line 86: -Xcc: command not found
/Users/franck/Library/Developer/CoreSimulator/Devices/BE88ED62-C1DB-4EF2-9024-70FBBF4F560A/data/Containers/Data/Application/7C16B822-541C-4BE4-B06B-66B8BE2855C7/tmp/command.sh: line 87: -iquotebazel-out/ios-sim_arm64-min14.0-applebin_ios-ios_sim_arm64-dbg-ST-3cfa6def5211/bin: No such file or directory
/Users/franck/Library/Developer/CoreSimulator/Devices/BE88ED62-C1DB-4EF2-9024-70FBBF4F560A/data/Containers/Data/Application/7C16B822-541C-4BE4-B06B-66B8BE2855C7/tmp/command.sh: line 88: -Xcc: command not found
/Users/franck/Library/Developer/CoreSimulator/Devices/BE88ED62-C1DB-4EF2-9024-70FBBF4F560A/data/Containers/Data/Application/7C16B822-541C-4BE4-B06B-66B8BE2855C7/tmp/command.sh: line 89: -DDEBUG_MENU: command not found
/Users/franck/Library/Developer/CoreSimulator/Devices/BE88ED62-C1DB-4EF2-9024-70FBBF4F560A/data/Containers/Data/Application/7C16B822-541C-4BE4-B06B-66B8BE2855C7/tmp/command.sh: line 90: -Xcc: command not found
/Users/franck/Library/Developer/CoreSimulator/Devices/BE88ED62-C1DB-4EF2-9024-70FBBF4F560A/data/Containers/Data/Application/7C16B822-541C-4BE4-B06B-66B8BE2855C7/tmp/command.sh: line 91: -DCOCOAPODS: command not found
/Users/franck/Library/Developer/CoreSimulator/Devices/BE88ED62-C1DB-4EF2-9024-70FBBF4F560A/data/Containers/Data/Application/7C16B822-541C-4BE4-B06B-66B8BE2855C7/tmp/command.sh: line 92: -Xcc: command not found
/Users/franck/Library/Developer/CoreSimulator/Devices/BE88ED62-C1DB-4EF2-9024-70FBBF4F560A/data/Containers/Data/Application/7C16B822-541C-4BE4-B06B-66B8BE2855C7/tmp/command.sh: line 93: -DDEBUG_MENU=1: command not found
/Users/franck/Library/Developer/CoreSimulator/Devices/BE88ED62-C1DB-4EF2-9024-70FBBF4F560A/data/Containers/Data/Application/7C16B822-541C-4BE4-B06B-66B8BE2855C7/tmp/command.sh: line 94: -Xcc: command not found
/Users/franck/Library/Developer/CoreSimulator/Devices/BE88ED62-C1DB-4EF2-9024-70FBBF4F560A/data/Containers/Data/Application/7C16B822-541C-4BE4-B06B-66B8BE2855C7/tmp/command.sh: line 95: -DCOCOAPODS=1: command not found
/Users/franck/Library/Developer/CoreSimulator/Devices/BE88ED62-C1DB-4EF2-9024-70FBBF4F560A/data/Containers/Data/Application/7C16B822-541C-4BE4-B06B-66B8BE2855C7/tmp/command.sh: line 96: -Xcc: command not found
/Users/franck/Library/Developer/CoreSimulator/Devices/BE88ED62-C1DB-4EF2-9024-70FBBF4F560A/data/Containers/Data/Application/7C16B822-541C-4BE4-B06B-66B8BE2855C7/tmp/command.sh: line 97: -fmodule-map-file=bazel-out/ios-sim_arm64-min14.0-applebin_ios-ios_sim_arm64-dbg-ST-3cfa6def5211/bin/Verticals/Archetype/Frameworks/ArchetypeWelcome/Impl/ArchetypeWelcomeImpl_same_package_framework_private_headers.swift.modulemap: No such file or directory
/Users/franck/Library/Developer/CoreSimulator/Devices/BE88ED62-C1DB-4EF2-9024-70FBBF4F560A/data/Containers/Data/Application/7C16B822-541C-4BE4-B06B-66B8BE2855C7/tmp/command.sh: line 98: -Xcc: command not found
/Users/franck/Library/Developer/CoreSimulator/Devices/BE88ED62-C1DB-4EF2-9024-70FBBF4F560A/data/Containers/Data/Application/7C16B822-541C-4BE4-B06B-66B8BE2855C7/tmp/command.sh: line 99: -fmodule-map-file=bazel-out/ios-sim_arm64-min14.0-applebin_ios-ios_sim_arm64-dbg-ST-3cfa6def5211/bin/Verticals/Archetype/Frameworks/ArchetypeWelcome/Impl/ArchetypeWelcomeImpl_public_hmap.swift.modulemap: No such file or directory
/Users/franck/Library/Developer/CoreSimulator/Devices/BE88ED62-C1DB-4EF2-9024-70FBBF4F560A/data/Containers/Data/Application/7C16B822-541C-4BE4-B06B-66B8BE2855C7/tmp/command.sh: line 100: -Xcc: command not found
/Users/franck/Library/Developer/CoreSimulator/Devices/BE88ED62-C1DB-4EF2-9024-70FBBF4F560A/data/Containers/Data/Application/7C16B822-541C-4BE4-B06B-66B8BE2855C7/tmp/command.sh: line 101: -fmodule-map-file=bazel-out/ios-sim_arm64-min14.0-applebin_ios-ios_sim_arm64-dbg-ST-3cfa6def5211/bin/Verticals/Archetype/Frameworks/ArchetypeWelcome/Impl/ArchetypeWelcomeImpl_private_hmap.swift.modulemap: No such file or directory
/Users/franck/Library/Developer/CoreSimulator/Devices/BE88ED62-C1DB-4EF2-9024-70FBBF4F560A/data/Containers/Data/Application/7C16B822-541C-4BE4-B06B-66B8BE2855C7/tmp/command.sh: line 102: -Xcc: command not found
/Users/franck/Library/Developer/CoreSimulator/Devices/BE88ED62-C1DB-4EF2-9024-70FBBF4F560A/data/Containers/Data/Application/7C16B822-541C-4BE4-B06B-66B8BE2855C7/tmp/command.sh: line 103: -fmodule-map-file=bazel-out/ios-sim_arm64-min14.0-applebin_ios-ios_sim_arm64-dbg-ST-3cfa6def5211/bin/Verticals/Archetype/Frameworks/ArchetypeWelcome/Impl/ArchetypeWelcomeImpl_private_angled_hmap.swift.modulemap: No such file or directory
/Users/franck/Library/Developer/CoreSimulator/Devices/BE88ED62-C1DB-4EF2-9024-70FBBF4F560A/data/Containers/Data/Application/7C16B822-541C-4BE4-B06B-66B8BE2855C7/tmp/command.sh: line 104: -Xcc: command not found
/Users/franck/Library/Developer/CoreSimulator/Devices/BE88ED62-C1DB-4EF2-9024-70FBBF4F560A/data/Containers/Data/Application/7C16B822-541C-4BE4-B06B-66B8BE2855C7/tmp/command.sh: line 105: -fmodule-map-file=bazel-out/ios-sim_arm64-min14.0-applebin_ios-ios_sim_arm64-dbg-ST-3cfa6def5211/bin/Verticals/Archetype/Frameworks/ArchetypeWelcome/Impl/ArchetypeWelcomeImpl_swift_vfs.swift.modulemap: No such file or directory
/Users/franck/Library/Developer/CoreSimulator/Devices/BE88ED62-C1DB-4EF2-9024-70FBBF4F560A/data/Containers/Data/Application/7C16B822-541C-4BE4-B06B-66B8BE2855C7/tmp/command.sh: line 106: -Xfrontend: command not found
/Users/franck/Library/Developer/CoreSimulator/Devices/BE88ED62-C1DB-4EF2-9024-70FBBF4F560A/data/Containers/Data/Application/7C16B822-541C-4BE4-B06B-66B8BE2855C7/tmp/command.sh: line 107: -color-diagnostics: command not found
/Users/franck/Library/Developer/CoreSimulator/Devices/BE88ED62-C1DB-4EF2-9024-70FBBF4F560A/data/Containers/Data/Application/7C16B822-541C-4BE4-B06B-66B8BE2855C7/tmp/command.sh: line 108: -num-threads: command not found
/Users/franck/Library/Developer/CoreSimulator/Devices/BE88ED62-C1DB-4EF2-9024-70FBBF4F560A/data/Containers/Data/Application/7C16B822-541C-4BE4-B06B-66B8BE2855C7/tmp/command.sh: line 109: 12: command not found
/Users/franck/Library/Developer/CoreSimulator/Devices/BE88ED62-C1DB-4EF2-9024-70FBBF4F560A/data/Containers/Data/Application/7C16B822-541C-4BE4-B06B-66B8BE2855C7/tmp/command.sh: line 110: -module-name: command not found
/Users/franck/Library/Developer/CoreSimulator/Devices/BE88ED62-C1DB-4EF2-9024-70FBBF4F560A/data/Containers/Data/Application/7C16B822-541C-4BE4-B06B-66B8BE2855C7/tmp/command.sh: line 111: ArchetypeWelcomeImpl: command not found
/Users/franck/Library/Developer/CoreSimulator/Devices/BE88ED62-C1DB-4EF2-9024-70FBBF4F560A/data/Containers/Data/Application/7C16B822-541C-4BE4-B06B-66B8BE2855C7/tmp/command.sh: line 112: -index-store-path: command not found
/Users/franck/Library/Developer/CoreSimulator/Devices/BE88ED62-C1DB-4EF2-9024-70FBBF4F560A/data/Containers/Data/Application/7C16B822-541C-4BE4-B06B-66B8BE2855C7/tmp/command.sh: line 113: bazel-out/_global_index_store: is a directory
/Users/franck/Library/Developer/CoreSimulator/Devices/BE88ED62-C1DB-4EF2-9024-70FBBF4F560A/data/Containers/Data/Application/7C16B822-541C-4BE4-B06B-66B8BE2855C7/tmp/command.sh: line 114: -DDEBUG_MENU: command not found
/Users/franck/Library/Developer/CoreSimulator/Devices/BE88ED62-C1DB-4EF2-9024-70FBBF4F560A/data/Containers/Data/Application/7C16B822-541C-4BE4-B06B-66B8BE2855C7/tmp/command.sh: line 115: -DCOCOAPODS: command not found
/Users/franck/Library/Developer/CoreSimulator/Devices/BE88ED62-C1DB-4EF2-9024-70FBBF4F560A/data/Containers/Data/Application/7C16B822-541C-4BE4-B06B-66B8BE2855C7/tmp/command.sh: line 116: -DDEBUG_MENU: command not found
/Users/franck/Library/Developer/CoreSimulator/Devices/BE88ED62-C1DB-4EF2-9024-70FBBF4F560A/data/Containers/Data/Application/7C16B822-541C-4BE4-B06B-66B8BE2855C7/tmp/command.sh: line 117: -DCOCOAPODS: command not found
/Users/franck/Library/Developer/CoreSimulator/Devices/BE88ED62-C1DB-4EF2-9024-70FBBF4F560A/data/Containers/Data/Application/7C16B822-541C-4BE4-B06B-66B8BE2855C7/tmp/command.sh: line 118: -parse-as-library: command not found
/Users/franck/Library/Developer/CoreSimulator/Devices/BE88ED62-C1DB-4EF2-9024-70FBBF4F560A/data/Containers/Data/Application/7C16B822-541C-4BE4-B06B-66B8BE2855C7/tmp/command.sh: line 119: -DDEBUG_MENU: command not found
/Users/franck/Library/Developer/CoreSimulator/Devices/BE88ED62-C1DB-4EF2-9024-70FBBF4F560A/data/Containers/Data/Application/7C16B822-541C-4BE4-B06B-66B8BE2855C7/tmp/command.sh: line 120: -DCOCOAPODS: command not found
/Users/franck/Library/Developer/CoreSimulator/Devices/BE88ED62-C1DB-4EF2-9024-70FBBF4F560A/data/Containers/Data/Application/7C16B822-541C-4BE4-B06B-66B8BE2855C7/tmp/command.sh: line 121: -whole-module-optimization: command not found
/Users/franck/Library/Developer/CoreSimulator/Devices/BE88ED62-C1DB-4EF2-9024-70FBBF4F560A/data/Containers/Data/Application/7C16B822-541C-4BE4-B06B-66B8BE2855C7/tmp/command.sh: line 122: -debug-prefix-map: command not found
/Users/franck/Library/Developer/CoreSimulator/Devices/BE88ED62-C1DB-4EF2-9024-70FBBF4F560A/data/Containers/Data/Application/7C16B822-541C-4BE4-B06B-66B8BE2855C7/tmp/command.sh: line 123: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.4.sdk/usr/include/objc/./=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.4.sdk: No such file or directory
/Users/franck/Library/Developer/CoreSimulator/Devices/BE88ED62-C1DB-4EF2-9024-70FBBF4F560A/data/Containers/Data/Application/7C16B822-541C-4BE4-B06B-66B8BE2855C7/tmp/command.sh: line 124: -F/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/Library/Frameworks: No such file or directory
/Users/franck/Library/Developer/CoreSimulator/Devices/BE88ED62-C1DB-4EF2-9024-70FBBF4F560A/data/Containers/Data/Application/7C16B822-541C-4BE4-B06B-66B8BE2855C7/tmp/command.sh: line 125: -F/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.4.sdk/Developer/Library/Frameworks: No such file or directory
/Users/franck/Library/Developer/CoreSimulator/Devices/BE88ED62-C1DB-4EF2-9024-70FBBF4F560A/data/Containers/Data/Application/7C16B822-541C-4BE4-B06B-66B8BE2855C7/tmp/command.sh: line 126: -I/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/lib: No such file or directory
/Users/franck/Library/Developer/CoreSimulator/Devices/BE88ED62-C1DB-4EF2-9024-70FBBF4F560A/data/Containers/Data/Application/7C16B822-541C-4BE4-B06B-66B8BE2855C7/tmp/command.sh: line 127: -emit-object: command not found
/Users/franck/Library/Developer/CoreSimulator/Devices/BE88ED62-C1DB-4EF2-9024-70FBBF4F560A/data/Containers/Data/Application/7C16B822-541C-4BE4-B06B-66B8BE2855C7/tmp/command.sh: line 128: -Xfrontend: command not found
/Users/franck/Library/Developer/CoreSimulator/Devices/BE88ED62-C1DB-4EF2-9024-70FBBF4F560A/data/Containers/Data/Application/7C16B822-541C-4BE4-B06B-66B8BE2855C7/tmp/command.sh: line 129: -no-clang-module-breadcrumbs: command not found
/Users/franck/Library/Developer/CoreSimulator/Devices/BE88ED62-C1DB-4EF2-9024-70FBBF4F560A/data/Containers/Data/Application/7C16B822-541C-4BE4-B06B-66B8BE2855C7/tmp/command.sh: line 130: -DDEBUG: command not found
/Users/franck/Library/Developer/CoreSimulator/Devices/BE88ED62-C1DB-4EF2-9024-70FBBF4F560A/data/Containers/Data/Application/7C16B822-541C-4BE4-B06B-66B8BE2855C7/tmp/command.sh: line 131: -Onone: command not found
/Users/franck/Library/Developer/CoreSimulator/Devices/BE88ED62-C1DB-4EF2-9024-70FBBF4F560A/data/Containers/Data/Application/7C16B822-541C-4BE4-B06B-66B8BE2855C7/tmp/command.sh: line 132: -Xfrontend: command not found
/Users/franck/Library/Developer/CoreSimulator/Devices/BE88ED62-C1DB-4EF2-9024-70FBBF4F560A/data/Containers/Data/Application/7C16B822-541C-4BE4-B06B-66B8BE2855C7/tmp/command.sh: line 133: -no-serialize-debugging-options: command not found
/Users/franck/Library/Developer/CoreSimulator/Devices/BE88ED62-C1DB-4EF2-9024-70FBBF4F560A/data/Containers/Data/Application/7C16B822-541C-4BE4-B06B-66B8BE2855C7/tmp/command.sh: line 134: -enable-testing: command not found
/Users/franck/Library/Developer/CoreSimulator/Devices/BE88ED62-C1DB-4EF2-9024-70FBBF4F560A/data/Containers/Data/Application/7C16B822-541C-4BE4-B06B-66B8BE2855C7/tmp/command.sh: line 135: -g: command not found
/Users/franck/Library/Developer/CoreSimulator/Devices/BE88ED62-C1DB-4EF2-9024-70FBBF4F560A/data/Containers/Data/Application/7C16B822-541C-4BE4-B06B-66B8BE2855C7/tmp/command.sh: line 136: -debug-prefix-map: command not found
/Users/franck/Library/Developer/CoreSimulator/Devices/BE88ED62-C1DB-4EF2-9024-70FBBF4F560A/data/Containers/Data/Application/7C16B822-541C-4BE4-B06B-66B8BE2855C7/tmp/command.sh: line 137: /private/var/tmp/_bazel_franck/b6176c8b071fca5167f608abe13eaaf7/execroot/register=.: No such file or directory
/Users/franck/Library/Developer/CoreSimulator/Devices/BE88ED62-C1DB-4EF2-9024-70FBBF4F560A/data/Containers/Data/Application/7C16B822-541C-4BE4-B06B-66B8BE2855C7/tmp/command.sh: line 138: -module-cache-path: command not found
/Users/franck/Library/Developer/CoreSimulator/Devices/BE88ED62-C1DB-4EF2-9024-70FBBF4F560A/data/Containers/Data/Application/7C16B822-541C-4BE4-B06B-66B8BE2855C7/tmp/command.sh: line 139: bazel-out/ios-sim_arm64-min14.0-applebin_ios-ios_sim_arm64-dbg-ST-3cfa6def5211/bin/_swift_module_cache: is a directory
/Users/franck/Library/Developer/CoreSimulator/Devices/BE88ED62-C1DB-4EF2-9024-70FBBF4F560A/data/Containers/Data/Application/7C16B822-541C-4BE4-B06B-66B8BE2855C7/tmp/command.sh: line 140: -pch-output-dir: command not found
/Users/franck/Library/Developer/CoreSimulator/Devices/BE88ED62-C1DB-4EF2-9024-70FBBF4F560A/data/Containers/Data/Application/7C16B822-541C-4BE4-B06B-66B8BE2855C7/tmp/command.sh: line 141: bazel-out/ios-sim_arm64-min14.0-applebin_ios-ios_sim_arm64-dbg-ST-3cfa6def5211/bin/_pch_output_dir: No such file or directory
/Users/franck/Library/Developer/CoreSimulator/Devices/BE88ED62-C1DB-4EF2-9024-70FBBF4F560A/data/Containers/Data/Application/7C16B822-541C-4BE4-B06B-66B8BE2855C7/tmp/command.sh: line 142: -Xfrontend: command not found
/Users/franck/Library/Developer/CoreSimulator/Devices/BE88ED62-C1DB-4EF2-9024-70FBBF4F560A/data/Containers/Data/Application/7C16B822-541C-4BE4-B06B-66B8BE2855C7/tmp/command.sh: line 143: -vfsoverlaybazel-out/ios-sim_arm64-min14.0-applebin_ios-ios_sim_arm64-dbg-ST-3cfa6def5211/bin/Verticals/Archetype/Frameworks/ArchetypeWelcome/Impl/ArchetypeWelcomeImpl_swift.vfsoverlay.yaml: No such file or directory
/Users/franck/Library/Developer/CoreSimulator/Devices/BE88ED62-C1DB-4EF2-9024-70FBBF4F560A/data/Containers/Data/Application/7C16B822-541C-4BE4-B06B-66B8BE2855C7/tmp/command.sh: line 144: -I/__build_bazel_rules_swift/swiftmodules: No such file or directory
/Users/franck/Library/Developer/CoreSimulator/Devices/BE88ED62-C1DB-4EF2-9024-70FBBF4F560A/data/Containers/Data/Application/7C16B822-541C-4BE4-B06B-66B8BE2855C7/tmp/command.sh: line 145: -Xcc: command not found
/Users/franck/Library/Developer/CoreSimulator/Devices/BE88ED62-C1DB-4EF2-9024-70FBBF4F560A/data/Containers/Data/Application/7C16B822-541C-4BE4-B06B-66B8BE2855C7/tmp/command.sh: line 146: -iquote.: command not found
/Users/franck/Library/Developer/CoreSimulator/Devices/BE88ED62-C1DB-4EF2-9024-70FBBF4F560A/data/Containers/Data/Application/7C16B822-541C-4BE4-B06B-66B8BE2855C7/tmp/command.sh: line 147: -Xcc: command not found
/Users/franck/Library/Developer/CoreSimulator/Devices/BE88ED62-C1DB-4EF2-9024-70FBBF4F560A/data/Containers/Data/Application/7C16B822-541C-4BE4-B06B-66B8BE2855C7/tmp/command.sh: line 148: -iquotebazel-out/ios-sim_arm64-min14.0-applebin_ios-ios_sim_arm64-dbg-ST-3cfa6def5211/bin: No such file or directory
/Users/franck/Library/Developer/CoreSimulator/Devices/BE88ED62-C1DB-4EF2-9024-70FBBF4F560A/data/Containers/Data/Application/7C16B822-541C-4BE4-B06B-66B8BE2855C7/tmp/command.sh: line 149: -Xcc: command not found
/Users/franck/Library/Developer/CoreSimulator/Devices/BE88ED62-C1DB-4EF2-9024-70FBBF4F560A/data/Containers/Data/Application/7C16B822-541C-4BE4-B06B-66B8BE2855C7/tmp/command.sh: line 150: -DDEBUG_MENU: command not found
/Users/franck/Library/Developer/CoreSimulator/Devices/BE88ED62-C1DB-4EF2-9024-70FBBF4F560A/data/Containers/Data/Application/7C16B822-541C-4BE4-B06B-66B8BE2855C7/tmp/command.sh: line 151: -Xcc: command not found
/Users/franck/Library/Developer/CoreSimulator/Devices/BE88ED62-C1DB-4EF2-9024-70FBBF4F560A/data/Containers/Data/Application/7C16B822-541C-4BE4-B06B-66B8BE2855C7/tmp/command.sh: line 152: -DCOCOAPODS: command not found
/Users/franck/Library/Developer/CoreSimulator/Devices/BE88ED62-C1DB-4EF2-9024-70FBBF4F560A/data/Containers/Data/Application/7C16B822-541C-4BE4-B06B-66B8BE2855C7/tmp/command.sh: line 153: -Xcc: command not found
/Users/franck/Library/Developer/CoreSimulator/Devices/BE88ED62-C1DB-4EF2-9024-70FBBF4F560A/data/Containers/Data/Application/7C16B822-541C-4BE4-B06B-66B8BE2855C7/tmp/command.sh: line 154: -DDEBUG_MENU=1: command not found
/Users/franck/Library/Developer/CoreSimulator/Devices/BE88ED62-C1DB-4EF2-9024-70FBBF4F560A/data/Containers/Data/Application/7C16B822-541C-4BE4-B06B-66B8BE2855C7/tmp/command.sh: line 155: -Xcc: command not found
/Users/franck/Library/Developer/CoreSimulator/Devices/BE88ED62-C1DB-4EF2-9024-70FBBF4F560A/data/Containers/Data/Application/7C16B822-541C-4BE4-B06B-66B8BE2855C7/tmp/command.sh: line 156: -DCOCOAPODS=1: command not found
/Users/franck/Library/Developer/CoreSimulator/Devices/BE88ED62-C1DB-4EF2-9024-70FBBF4F560A/data/Containers/Data/Application/7C16B822-541C-4BE4-B06B-66B8BE2855C7/tmp/command.sh: line 157: -Xcc: command not found
/Users/franck/Library/Developer/CoreSimulator/Devices/BE88ED62-C1DB-4EF2-9024-70FBBF4F560A/data/Containers/Data/Application/7C16B822-541C-4BE4-B06B-66B8BE2855C7/tmp/command.sh: line 158: -fmodule-map-file=bazel-out/ios-sim_arm64-min14.0-applebin_ios-ios_sim_arm64-dbg-ST-3cfa6def5211/bin/Verticals/Archetype/Frameworks/ArchetypeWelcome/Impl/ArchetypeWelcomeImpl_same_package_framework_private_headers.swift.modulemap: No such file or directory
/Users/franck/Library/Developer/CoreSimulator/Devices/BE88ED62-C1DB-4EF2-9024-70FBBF4F560A/data/Containers/Data/Application/7C16B822-541C-4BE4-B06B-66B8BE2855C7/tmp/command.sh: line 159: -Xcc: command not found
/Users/franck/Library/Developer/CoreSimulator/Devices/BE88ED62-C1DB-4EF2-9024-70FBBF4F560A/data/Containers/Data/Application/7C16B822-541C-4BE4-B06B-66B8BE2855C7/tmp/command.sh: line 160: -fmodule-map-file=bazel-out/ios-sim_arm64-min14.0-applebin_ios-ios_sim_arm64-dbg-ST-3cfa6def5211/bin/Verticals/Archetype/Frameworks/ArchetypeWelcome/Impl/ArchetypeWelcomeImpl_public_hmap.swift.modulemap: No such file or directory
/Users/franck/Library/Developer/CoreSimulator/Devices/BE88ED62-C1DB-4EF2-9024-70FBBF4F560A/data/Containers/Data/Application/7C16B822-541C-4BE4-B06B-66B8BE2855C7/tmp/command.sh: line 161: -Xcc: command not found
/Users/franck/Library/Developer/CoreSimulator/Devices/BE88ED62-C1DB-4EF2-9024-70FBBF4F560A/data/Containers/Data/Application/7C16B822-541C-4BE4-B06B-66B8BE2855C7/tmp/command.sh: line 162: -fmodule-map-file=bazel-out/ios-sim_arm64-min14.0-applebin_ios-ios_sim_arm64-dbg-ST-3cfa6def5211/bin/Verticals/Archetype/Frameworks/ArchetypeWelcome/Impl/ArchetypeWelcomeImpl_private_hmap.swift.modulemap: No such file or directory
/Users/franck/Library/Developer/CoreSimulator/Devices/BE88ED62-C1DB-4EF2-9024-70FBBF4F560A/data/Containers/Data/Application/7C16B822-541C-4BE4-B06B-66B8BE2855C7/tmp/command.sh: line 163: -Xcc: command not found
/Users/franck/Library/Developer/CoreSimulator/Devices/BE88ED62-C1DB-4EF2-9024-70FBBF4F560A/data/Containers/Data/Application/7C16B822-541C-4BE4-B06B-66B8BE2855C7/tmp/command.sh: line 164: -fmodule-map-file=bazel-out/ios-sim_arm64-min14.0-applebin_ios-ios_sim_arm64-dbg-ST-3cfa6def5211/bin/Verticals/Archetype/Frameworks/ArchetypeWelcome/Impl/ArchetypeWelcomeImpl_private_angled_hmap.swift.modulemap: No such file or directory
/Users/franck/Library/Developer/CoreSimulator/Devices/BE88ED62-C1DB-4EF2-9024-70FBBF4F560A/data/Containers/Data/Application/7C16B822-541C-4BE4-B06B-66B8BE2855C7/tmp/command.sh: line 165: -Xcc: command not found
/Users/franck/Library/Developer/CoreSimulator/Devices/BE88ED62-C1DB-4EF2-9024-70FBBF4F560A/data/Containers/Data/Application/7C16B822-541C-4BE4-B06B-66B8BE2855C7/tmp/command.sh: line 166: -fmodule-map-file=bazel-out/ios-sim_arm64-min14.0-applebin_ios-ios_sim_arm64-dbg-ST-3cfa6def5211/bin/Verticals/Archetype/Frameworks/ArchetypeWelcome/Impl/ArchetypeWelcomeImpl_swift_vfs.swift.modulemap: No such file or directory
/Users/franck/Library/Developer/CoreSimulator/Devices/BE88ED62-C1DB-4EF2-9024-70FBBF4F560A/data/Containers/Data/Application/7C16B822-541C-4BE4-B06B-66B8BE2855C7/tmp/command.sh: line 167: -Xfrontend: command not found
/Users/franck/Library/Developer/CoreSimulator/Devices/BE88ED62-C1DB-4EF2-9024-70FBBF4F560A/data/Containers/Data/Application/7C16B822-541C-4BE4-B06B-66B8BE2855C7/tmp/command.sh: line 168: -color-diagnostics: command not found
/Users/franck/Library/Developer/CoreSimulator/Devices/BE88ED62-C1DB-4EF2-9024-70FBBF4F560A/data/Containers/Data/Application/7C16B822-541C-4BE4-B06B-66B8BE2855C7/tmp/command.sh: line 169: -num-threads: command not found
/Users/franck/Library/Developer/CoreSimulator/Devices/BE88ED62-C1DB-4EF2-9024-70FBBF4F560A/data/Containers/Data/Application/7C16B822-541C-4BE4-B06B-66B8BE2855C7/tmp/command.sh: line 170: 12: command not found
/Users/franck/Library/Developer/CoreSimulator/Devices/BE88ED62-C1DB-4EF2-9024-70FBBF4F560A/data/Containers/Data/Application/7C16B822-541C-4BE4-B06B-66B8BE2855C7/tmp/command.sh: line 171: -module-name: command not found
/Users/franck/Library/Developer/CoreSimulator/Devices/BE88ED62-C1DB-4EF2-9024-70FBBF4F560A/data/Containers/Data/Application/7C16B822-541C-4BE4-B06B-66B8BE2855C7/tmp/command.sh: line 172: ArchetypeWelcomeImpl: command not found
/Users/franck/Library/Developer/CoreSimulator/Devices/BE88ED62-C1DB-4EF2-9024-70FBBF4F560A/data/Containers/Data/Application/7C16B822-541C-4BE4-B06B-66B8BE2855C7/tmp/command.sh: line 173: -index-store-path: command not found
/Users/franck/Library/Developer/CoreSimulator/Devices/BE88ED62-C1DB-4EF2-9024-70FBBF4F560A/data/Containers/Data/Application/7C16B822-541C-4BE4-B06B-66B8BE2855C7/tmp/command.sh: line 174: bazel-out/_global_index_store: is a directory
/Users/franck/Library/Developer/CoreSimulator/Devices/BE88ED62-C1DB-4EF2-9024-70FBBF4F560A/data/Containers/Data/Application/7C16B822-541C-4BE4-B06B-66B8BE2855C7/tmp/command.sh: line 175: -DDEBUG_MENU: command not found
/Users/franck/Library/Developer/CoreSimulator/Devices/BE88ED62-C1DB-4EF2-9024-70FBBF4F560A/data/Containers/Data/Application/7C16B822-541C-4BE4-B06B-66B8BE2855C7/tmp/command.sh: line 176: -DCOCOAPODS: command not found
/Users/franck/Library/Developer/CoreSimulator/Devices/BE88ED62-C1DB-4EF2-9024-70FBBF4F560A/data/Containers/Data/Application/7C16B822-541C-4BE4-B06B-66B8BE2855C7/tmp/command.sh: line 177: -DDEBUG_MENU: command not found
/Users/franck/Library/Developer/CoreSimulator/Devices/BE88ED62-C1DB-4EF2-9024-70FBBF4F560A/data/Containers/Data/Application/7C16B822-541C-4BE4-B06B-66B8BE2855C7/tmp/command.sh: line 178: -DCOCOAPODS: command not found
/Users/franck/Library/Developer/CoreSimulator/Devices/BE88ED62-C1DB-4EF2-9024-70FBBF4F560A/data/Containers/Data/Application/7C16B822-541C-4BE4-B06B-66B8BE2855C7/tmp/command.sh: line 179: -parse-as-library: command not found
/Users/franck/Library/Developer/CoreSimulator/Devices/BE88ED62-C1DB-4EF2-9024-70FBBF4F560A/data/Containers/Data/Application/7C16B822-541C-4BE4-B06B-66B8BE2855C7/tmp/command.sh: line 180: -DDEBUG_MENU: command not found
/Users/franck/Library/Developer/CoreSimulator/Devices/BE88ED62-C1DB-4EF2-9024-70FBBF4F560A/data/Containers/Data/Application/7C16B822-541C-4BE4-B06B-66B8BE2855C7/tmp/command.sh: line 181: -DCOCOAPODS: command not found
/Users/franck/Library/Developer/CoreSimulator/Devices/BE88ED62-C1DB-4EF2-9024-70FBBF4F560A/data/Containers/Data/Application/7C16B822-541C-4BE4-B06B-66B8BE2855C7/tmp/command.sh: line 182: -whole-module-optimization: command not found
/Users/franck/Library/Developer/CoreSimulator/Devices/BE88ED62-C1DB-4EF2-9024-70FBBF4F560A/data/Containers/Data/Application/7C16B822-541C-4BE4-B06B-66B8BE2855C7/tmp/command.sh: line 183: -debug-prefix-map: command not found
💉 ⚠️ Linking failed (see: /Users/franck/Library/Developer/CoreSimulator/Devices/BE88ED62-C1DB-4EF2-9024-70FBBF4F560A/data/Containers/Data/Application/7C16B822-541C-4BE4-B06B-66B8BE2855C7/tmp/command.sh)
objc[84617]: Class AppleTypeCRetimerRestoreInfoHelper is implemented in both /usr/lib/libauthinstall.dylib (0x214c8f650) and /Library/Apple/System/Library/PrivateFrameworks/MobileDevice.framework/Versions/A/MobileDevice (0x107da4598). One of the two will be used. Which one is undefined.
objc[84617]: Class AppleTypeCRetimerFirmwareAggregateRequestCreator is implemented in both /usr/lib/libauthinstall.dylib (0x214c8f6a0) and /Library/Apple/System/Library/PrivateFrameworks/MobileDevice.framework/Versions/A/MobileDevice (0x107da45e8). One of the two will be used. Which one is undefined.
objc[84617]: Class AppleTypeCRetimerFirmwareRequestCreator is implemented in both /usr/lib/libauthinstall.dylib (0x214c8f6f0) and /Library/Apple/System/Library/PrivateFrameworks/MobileDevice.framework/Versions/A/MobileDevice (0x107da4638). One of the two will be used. Which one is undefined.
objc[84617]: Class ATCRTRestoreInfoFTABFile is implemented in both /usr/lib/libauthinstall.dylib (0x214c8f740) and /Library/Apple/System/Library/PrivateFrameworks/MobileDevice.framework/Versions/A/MobileDevice (0x107da4688). One of the two will be used. Which one is undefined.
objc[84617]: Class AppleTypeCRetimerFirmwareCopier is implemented in both /usr/lib/libauthinstall.dylib (0x214c8f790) and /Library/Apple/System/Library/PrivateFrameworks/MobileDevice.framework/Versions/A/MobileDevice (0x107da46d8). One of the two will be used. Which one is undefined.
objc[84617]: Class ATCRTRestoreInfoFTABSubfile is implemented in both /usr/lib/libauthinstall.dylib (0x214c8f7e0) and /Library/Apple/System/Library/PrivateFrameworks/MobileDevice.framework/Versions/A/MobileDevice (0x107da4728). One of the two will be used. Which one is undefined.
�[1m<unknown>:0: �[0m�[0;1;31merror: �[0m�[1mPCH was compiled with module cache path '/private/var/tmp/_bazel_franck/b6176c8b071fca5167f608abe13eaaf7/execroot/register/bazel-out/ios-sim_arm64-min14.0-applebin_ios-ios_sim_arm64-dbg-ST-3cfa6def5211/bin/_swift_module_cache/3DSAMZKGYP86Z', but the path is currently '/Users/franck/Development/ios-register/bazel-out/ios-sim_arm64-min14.0-applebin_ios-ios_sim_arm64-dbg-ST-3cfa6def5211/bin/_swift_module_cache/3DSAMZKGYP86Z'
�[0m�[1m<unknown>:0: �[0m�[0;1;31merror: �[0m�[1mmissing required module 'SwiftShims'
�[0m/Users/franck/Library/Developer/CoreSimulator/Devices/BE88ED62-C1DB-4EF2-9024-70FBBF4F560A/data/Containers/Data/Application/7C16B822-541C-4BE4-B06B-66B8BE2855C7/tmp/command.sh: line 184: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.4.sdk/usr/include/objc/./=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator: No such file or directory

@johnno1962
Copy link
Owner

johnno1962 commented Nov 14, 2022

Seems to be a regex run berzerk. Could you send me the /tmp/bazel_ArchetypeWelcomeImpl.params and /tmp/bazel_ArchetypeWelcomeImpl.params.copy files or rather the command.sh file please.

@Kiesco08
Copy link

/tmp/bazel_ArchetypeWelcomeImpl.params:

"-target"
"arm64-apple-ios14.0-simulator"
"-sdk"
"/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.4.sdk"
"-F/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/Library/Frameworks"
"-F/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.4.sdk/Developer/Library/Frameworks"
"-I/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/lib"
"-emit-object"
"-Xfrontend"
"-no-clang-module-breadcrumbs"
"-emit-module-path"
"bazel-out/ios-sim_arm64-min14.0-applebin_ios-ios_sim_arm64-dbg-ST-3cfa6def5211/bin/Verticals/Archetype/Frameworks/ArchetypeWelcome/Impl/ArchetypeWelcomeImpl.swiftmodule"
"-emit-objc-header-path"
"bazel-out/ios-sim_arm64-min14.0-applebin_ios-ios_sim_arm64-dbg-ST-3cfa6def5211/bin/Verticals/Archetype/Frameworks/ArchetypeWelcome/Impl/ArchetypeWelcomeImpl-Swift.h"
"-DDEBUG"
"-Onone"
"-Xfrontend"
"-no-serialize-debugging-options"
"-enable-testing"
"-g"
"-debug-prefix-map"
"/private/var/tmp/_bazel_franck/b6176c8b071fca5167f608abe13eaaf7/execroot/register=."
"-module-cache-path"
"bazel-out/ios-sim_arm64-min14.0-applebin_ios-ios_sim_arm64-dbg-ST-3cfa6def5211/bin/_swift_module_cache"
"-pch-output-dir"
"bazel-out/ios-sim_arm64-min14.0-applebin_ios-ios_sim_arm64-dbg-ST-3cfa6def5211/bin/_pch_output_dir"
"-Xfrontend"
"-vfsoverlaybazel-out/ios-sim_arm64-min14.0-applebin_ios-ios_sim_arm64-dbg-ST-3cfa6def5211/bin/Verticals/Archetype/Frameworks/ArchetypeWelcome/Impl/ArchetypeWelcomeImpl_swift.vfsoverlay.yaml"
"-I/__build_bazel_rules_swift/swiftmodules"
"-Xcc"
"-iquote."
"-Xcc"
"-iquotebazel-out/ios-sim_arm64-min14.0-applebin_ios-ios_sim_arm64-dbg-ST-3cfa6def5211/bin"
"-Xcc"
"-DDEBUG_MENU"
"-Xcc"
"-DCOCOAPODS"
"-Xcc"
"-DDEBUG_MENU=1"
"-Xcc"
"-DCOCOAPODS=1"
"-Xcc"
"-fmodule-map-file=bazel-out/ios-sim_arm64-min14.0-applebin_ios-ios_sim_arm64-dbg-ST-3cfa6def5211/bin/Verticals/Archetype/Frameworks/ArchetypeWelcome/Impl/ArchetypeWelcomeImpl_same_package_framework_private_headers.swift.modulemap"
"-Xcc"
"-fmodule-map-file=bazel-out/ios-sim_arm64-min14.0-applebin_ios-ios_sim_arm64-dbg-ST-3cfa6def5211/bin/Verticals/Archetype/Frameworks/ArchetypeWelcome/Impl/ArchetypeWelcomeImpl_public_hmap.swift.modulemap"
"-Xcc"
"-fmodule-map-file=bazel-out/ios-sim_arm64-min14.0-applebin_ios-ios_sim_arm64-dbg-ST-3cfa6def5211/bin/Verticals/Archetype/Frameworks/ArchetypeWelcome/Impl/ArchetypeWelcomeImpl_private_hmap.swift.modulemap"
"-Xcc"
"-fmodule-map-file=bazel-out/ios-sim_arm64-min14.0-applebin_ios-ios_sim_arm64-dbg-ST-3cfa6def5211/bin/Verticals/Archetype/Frameworks/ArchetypeWelcome/Impl/ArchetypeWelcomeImpl_private_angled_hmap.swift.modulemap"
"-Xcc"
"-fmodule-map-file=bazel-out/ios-sim_arm64-min14.0-applebin_ios-ios_sim_arm64-dbg-ST-3cfa6def5211/bin/Verticals/Archetype/Frameworks/ArchetypeWelcome/Impl/ArchetypeWelcomeImpl_swift_vfs.swift.modulemap"
"-Xfrontend"
"-color-diagnostics"
"-num-threads"
"12"
"-module-name"
"ArchetypeWelcomeImpl"
"-index-store-path"
"bazel-out/_global_index_store"
"-DDEBUG_MENU"
"-DCOCOAPODS"
"-DDEBUG_MENU"
"-DCOCOAPODS"
"-parse-as-library"
"-DDEBUG_MENU"
"-DCOCOAPODS"
"-whole-module-optimization"
"-debug-prefix-map"
"/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.4.sdk/usr/include/objc/./=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.4.sdk/usr/include/objc/"
"-Xcc"
"-Ibazel-out/ios-sim_arm64-min14.0-applebin_ios-ios_sim_arm64-dbg-ST-3cfa6def5211/bin/Verticals/Archetype/Frameworks/ArchetypeWelcome/Impl/ArchetypeWelcomeImpl_same_package_framework_private_headers.hmap"
"-Xfrontend"
"-vfsoverlaybazel-out/ios-sim_arm64-min14.0-applebin_ios-ios_sim_arm64-dbg-ST-3cfa6def5211/bin/Verticals/Archetype/Frameworks/ArchetypeWelcome/Impl/ArchetypeWelcomeImpl_swift_vfs.yaml"
"-Xfrontend"
"-F/build_bazel_rules_ios/frameworks"
"-I/build_bazel_rules_ios/frameworks"
"-Xcc"
"-ivfsoverlaybazel-out/ios-sim_arm64-min14.0-applebin_ios-ios_sim_arm64-dbg-ST-3cfa6def5211/bin/Verticals/Archetype/Frameworks/ArchetypeWelcome/Impl/ArchetypeWelcomeImpl_swift_vfs.yaml"
"-Xcc"
"-F/build_bazel_rules_ios/frameworks"
"-Xcc"
"-Ibazel-out/ios-sim_arm64-min14.0-applebin_ios-ios_sim_arm64-dbg-ST-3cfa6def5211/bin/Verticals/Archetype/Frameworks/ArchetypeWelcome/Impl/ArchetypeWelcomeImpl_private_hmap.hmap"
"-Xcc"
"-Ibazel-out/ios-sim_arm64-min14.0-applebin_ios-ios_sim_arm64-dbg-ST-3cfa6def5211/bin/Verticals/Archetype/Frameworks/ArchetypeWelcome/Impl/ArchetypeWelcomeImpl_public_hmap.hmap"
"-Xcc"
"-Ibazel-out/ios-sim_arm64-min14.0-applebin_ios-ios_sim_arm64-dbg-ST-3cfa6def5211/bin/Verticals/Archetype/Frameworks/ArchetypeWelcome/Impl/ArchetypeWelcomeImpl_private_angled_hmap.hmap"
"-Xcc"
"-iquotebazel-out/ios-sim_arm64-min14.0-applebin_ios-ios_sim_arm64-dbg-ST-3cfa6def5211/bin/Verticals/Archetype/Frameworks/ArchetypeWelcome/Impl/ArchetypeWelcomeImpl_private_hmap.hmap"
"-Xcc"
"-D__SWIFTC__"
"-Xfrontend"
"-no-clang-module-breadcrumbs"
"-swift-version"
"5"
"-Xcc"
"-I."
"-import-underlying-module"
"-static"
"-Xcc"
"-O0"
"-Xcc"
"-DDEBUG=1"
"-Xcc"
"-fstack-protector"
"-Xcc"
"-fstack-protector-all"
"Verticals/Archetype/Frameworks/ArchetypeWelcome/Impl/Sources/ArchetypeWelcomeViewController.swift"
"-output-file-map"
"bazel-out/ios-sim_arm64-min14.0-applebin_ios-ios_sim_arm64-dbg-ST-3cfa6def5211/bin/Verticals/Archetype/Frameworks/ArchetypeWelcome/Impl/ArchetypeWelcomeImpl_swift.output_file_map.json"

@Kiesco08
Copy link

/tmp/bazel_ArchetypeWelcomeImpl.params.copy:

"-target"
"arm64-apple-ios14.0-simulator"
"-sdk"
"/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.4.sdk"
"-F/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/Library/Frameworks"
"-F/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.4.sdk/Developer/Library/Frameworks"
"-I/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/lib"
"-emit-object"
"-Xfrontend"
"-no-clang-module-breadcrumbs"
"-DDEBUG"
"-Onone"
"-Xfrontend"
"-no-serialize-debugging-options"
"-enable-testing"
"-g"
"-debug-prefix-map"
"/private/var/tmp/_bazel_franck/b6176c8b071fca5167f608abe13eaaf7/execroot/register=."
"-module-cache-path"
"bazel-out/ios-sim_arm64-min14.0-applebin_ios-ios_sim_arm64-dbg-ST-3cfa6def5211/bin/_swift_module_cache"
"-pch-output-dir"
"bazel-out/ios-sim_arm64-min14.0-applebin_ios-ios_sim_arm64-dbg-ST-3cfa6def5211/bin/_pch_output_dir"
"-Xfrontend"
"-vfsoverlaybazel-out/ios-sim_arm64-min14.0-applebin_ios-ios_sim_arm64-dbg-ST-3cfa6def5211/bin/Verticals/Archetype/Frameworks/ArchetypeWelcome/Impl/ArchetypeWelcomeImpl_swift.vfsoverlay.yaml"
"-I/__build_bazel_rules_swift/swiftmodules"
"-Xcc"
"-iquote."
"-Xcc"
"-iquotebazel-out/ios-sim_arm64-min14.0-applebin_ios-ios_sim_arm64-dbg-ST-3cfa6def5211/bin"
"-Xcc"
"-DDEBUG_MENU"
"-Xcc"
"-DCOCOAPODS"
"-Xcc"
"-DDEBUG_MENU=1"
"-Xcc"
"-DCOCOAPODS=1"
"-Xcc"
"-fmodule-map-file=bazel-out/ios-sim_arm64-min14.0-applebin_ios-ios_sim_arm64-dbg-ST-3cfa6def5211/bin/Verticals/Archetype/Frameworks/ArchetypeWelcome/Impl/ArchetypeWelcomeImpl_same_package_framework_private_headers.swift.modulemap"
"-Xcc"
"-fmodule-map-file=bazel-out/ios-sim_arm64-min14.0-applebin_ios-ios_sim_arm64-dbg-ST-3cfa6def5211/bin/Verticals/Archetype/Frameworks/ArchetypeWelcome/Impl/ArchetypeWelcomeImpl_public_hmap.swift.modulemap"
"-Xcc"
"-fmodule-map-file=bazel-out/ios-sim_arm64-min14.0-applebin_ios-ios_sim_arm64-dbg-ST-3cfa6def5211/bin/Verticals/Archetype/Frameworks/ArchetypeWelcome/Impl/ArchetypeWelcomeImpl_private_hmap.swift.modulemap"
"-Xcc"
"-fmodule-map-file=bazel-out/ios-sim_arm64-min14.0-applebin_ios-ios_sim_arm64-dbg-ST-3cfa6def5211/bin/Verticals/Archetype/Frameworks/ArchetypeWelcome/Impl/ArchetypeWelcomeImpl_private_angled_hmap.swift.modulemap"
"-Xcc"
"-fmodule-map-file=bazel-out/ios-sim_arm64-min14.0-applebin_ios-ios_sim_arm64-dbg-ST-3cfa6def5211/bin/Verticals/Archetype/Frameworks/ArchetypeWelcome/Impl/ArchetypeWelcomeImpl_swift_vfs.swift.modulemap"
"-Xfrontend"
"-color-diagnostics"
"-num-threads"
"12"
"-module-name"
"ArchetypeWelcomeImpl"
"-index-store-path"
"bazel-out/_global_index_store"
"-DDEBUG_MENU"
"-DCOCOAPODS"
"-DDEBUG_MENU"
"-DCOCOAPODS"
"-parse-as-library"
"-DDEBUG_MENU"
"-DCOCOAPODS"
"-whole-module-optimization"
"-debug-prefix-map"
"/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.4.sdk/usr/include/objc/./=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.4.sdk/usr/include/objc/"
"-Xcc"
"-Ibazel-out/ios-sim_arm64-min14.0-applebin_ios-ios_sim_arm64-dbg-ST-3cfa6def5211/bin/Verticals/Archetype/Frameworks/ArchetypeWelcome/Impl/ArchetypeWelcomeImpl_same_package_framework_private_headers.hmap"
"-Xfrontend"
"-vfsoverlaybazel-out/ios-sim_arm64-min14.0-applebin_ios-ios_sim_arm64-dbg-ST-3cfa6def5211/bin/Verticals/Archetype/Frameworks/ArchetypeWelcome/Impl/ArchetypeWelcomeImpl_swift_vfs.yaml"
"-Xfrontend"
"-F/build_bazel_rules_ios/frameworks"
"-I/build_bazel_rules_ios/frameworks"
"-Xcc"
"-ivfsoverlaybazel-out/ios-sim_arm64-min14.0-applebin_ios-ios_sim_arm64-dbg-ST-3cfa6def5211/bin/Verticals/Archetype/Frameworks/ArchetypeWelcome/Impl/ArchetypeWelcomeImpl_swift_vfs.yaml"
"-Xcc"
"-F/build_bazel_rules_ios/frameworks"
"-Xcc"
"-Ibazel-out/ios-sim_arm64-min14.0-applebin_ios-ios_sim_arm64-dbg-ST-3cfa6def5211/bin/Verticals/Archetype/Frameworks/ArchetypeWelcome/Impl/ArchetypeWelcomeImpl_private_hmap.hmap"
"-Xcc"
"-Ibazel-out/ios-sim_arm64-min14.0-applebin_ios-ios_sim_arm64-dbg-ST-3cfa6def5211/bin/Verticals/Archetype/Frameworks/ArchetypeWelcome/Impl/ArchetypeWelcomeImpl_public_hmap.hmap"
"-Xcc"
"-Ibazel-out/ios-sim_arm64-min14.0-applebin_ios-ios_sim_arm64-dbg-ST-3cfa6def5211/bin/Verticals/Archetype/Frameworks/ArchetypeWelcome/Impl/ArchetypeWelcomeImpl_private_angled_hmap.hmap"
"-Xcc"
"-iquotebazel-out/ios-sim_arm64-min14.0-applebin_ios-ios_sim_arm64-dbg-ST-3cfa6def5211/bin/Verticals/Archetype/Frameworks/ArchetypeWelcome/Impl/ArchetypeWelcomeImpl_private_hmap.hmap"
"-Xcc"
"-D__SWIFTC__"
"-Xfrontend"
"-no-clang-module-breadcrumbs"
"-swift-version"
"5"
"-Xcc"
"-I."
"-import-underlying-module"
"-static"
"-Xcc"
"-O0"
"-Xcc"
"-DDEBUG=1"
"-Xcc"
"-fstack-protector"
"-Xcc"
"-fstack-protector-all"
"Verticals/Archetype/Frameworks/ArchetypeWelcome/Impl/Sources/ArchetypeWelcomeViewController.swift"
"-output-file-map"
"bazel-out/ios-sim_arm64-min14.0-applebin_ios-ios_sim_arm64-dbg-ST-3cfa6def5211/bin/Verticals/Archetype/Frameworks/ArchetypeWelcome/Impl/ArchetypeWelcomeImpl_swift.output_file_map.json"

@johnno1962
Copy link
Owner

Thanks for getting back so quickly. I've pushed another 4.5.1RC1 release, build 7579. I needed to tighten up a regex to exclude newlines in the code that detects the sdk path to use during linking.

@johnno1962
Copy link
Owner

johnno1962 commented Nov 14, 2022

Had to revise the load bearing regex again, build number now 7580.

@Kiesco08
Copy link

It worked 🙌 thank you for iterating so quickly, this is amazing!

@johnno1962
Copy link
Owner

Great! Let me know if you come up against something else but we're really moving things forward now. Thanks!

@johnno1962
Copy link
Owner

I'll close this again as I'm not getting any more feedback at the moment.

@elinfame
Copy link

elinfame commented Sep 8, 2023

Has anyone gotten this working with bazel from the command line (i.e. w/o Tulsi nor rules_xcodeproj)? I was able to try the first method outlined in https://github.com/johnno1962/InjectionIII/blob/main/BAZEL.md using the Inject SPM package like so:

macos_application(
    name = "macos",
    linkopts = ["-interposable"],
)

and run the InjectionIII app, but then get:

bazel run ///subfolder:macos  -c dbg
💉 InjectionIII connected /path/to/my/workspace/WORKSPACE
💉 Watching files under the directory /path/to/my/workspace
💉 ⚠️ Could not locate compile command for /path/to/my/workspace/subfolder/file.swift.

with the 3rd line appearing once I try modifying file.swift. When I try the second method, I get

InjectionClient/Could not connect: Connection refused
💉 Unable to connect to InjectionIII app, falling back to standalone HotReloading.
💉 HotReloading available for sources under ["/Users/myusername"]
💉 ⚠️ Project unknown, please build it.

It seems to not find /path/to/my/workspace.

@johnno1962
Copy link
Owner

Hi support for BAZEl is pretty limited and it need you to build inside Xcode so it can find the logs and parse out the commands to build files. I don't think I'll be able to support this configuration, sorry.

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

No branches or pull requests

7 participants