flexn-io / create

Build apps for web, TVs, desktops, consoles, wearables and more. Developer friendly UI library targeting all form factors platforms. Another notable feature is providing focus management for TVs which very easy to implement using Create.
https://create.flexn.org
MIT License
26 stars 6 forks source link

[macos] [Regression] Can't run @flexn/template #72

Closed pauliusguzas closed 1 year ago

pauliusguzas commented 1 year ago

rnv version: 0.37.0-canary.4 flexn template version: 0.18.0-alpha.10

How to repro:

  1. Create new project using rnv new and select @flexn/template
  2. Do rnv run -p macos (make sure you have provided teamID)
┌──────────────────────────────────────────────────────────────────────────────┐
│  🚀  SUMMARY | 2/28/2023, 3:48:59 PM                                         │
│  $ rnv run -p macos                                                          │
├──────────────────────────────────────────────────────────────────────────────┤
│  ReNative Version: 0.37.0-canary.4                                           │
│  Project Name ($package.name): gabriele                                      │
│  Project Version ($package.version): 0.1.0                                   │
│  Workspace ($.workspaceID): rnv                                              │
│  Platform (-p): macos                                                        │
│  Engine ($.platforms.macos.engine): engine-rn                                │
│  Template: @flexn/template@0.18.0-alpha.10                                   │
│  App Config (-c): app                                                        │
│  Build Scheme (-s): debug                                                    │
│  Supported Platforms: macos                                                  │
│  Env Info: darwin | x64 | node v16.14.2                                      │
│  Executed Time: 0h:0m:42s:585ms                                              │
│                                                                              │
│ [ warn ] [project configure] This project uses encrypted files but you don't have them installed
│ [ error ] [run] COMMAND:

open platformBuilds/app_macos/build/RNVApp/Build/Products/Debug-maccatalyst/RNVApp.app

FAILED with ERROR:

The application cannot be opened for an unexpected reason, error=Error Domain=NSOSStatusErrorDomain Code=-10827 "kLSNoExecutableErr: The executable is missing" UserInfo={_LSLine=4101, _LSFunction=_LSOpenStuffCallLocal}

Command failed with exit code 1: open platformBuilds/app_macos/build/RNVApp/Build/Products/Debug-maccatalyst/RNVApp.app
The application cannot be opened for an unexpected reason, error=Error Domain=NSOSStatusErrorDomain Code=-10827 "kLSNoExecutableErr: The executable is missing" UserInfo={_LSLine=4101, _LSFunction=_LSOpenStuffCallLocal}

The application cannot be opened for an unexpected reason, error=Error Domain=NSOSStatusErrorDomain Code=-10827 "kLSNoExecutableErr: The executable is missing" UserInfo={_LSLine=4101, _LSFunction=_LSOpenStuffCallLocal}

Error: Command failed with exit code 1: open platformBuilds/app_macos/build/RNVApp/Build/Products/Debug-maccatalyst/RNVApp.app
The application cannot be opened for an unexpected reason, error=Error Domain=NSOSStatusErrorDomain Code=-10827 "kLSNoExecutableErr: The executable is missing" UserInfo={_LSLine=4101, _LSFunction=_LSOpenStuffCallLocal}
    at makeError (/Users/pauliusguzas/Desktop/gabriele/node_modules/rnv/node_modules/execa/lib/error.js:60:11)
    at handlePromise (/Users/pauliusguzas/Desktop/gabriele/node_modules/rnv/node_modules/execa/index.js:118:26)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)

│                                                                              │
│  Project location:                                                           │
│  ./platformBuilds/app_macos/RNVApp.xcworkspace