标签: umbrella

包含多个包含前端逻辑的应用程序的伞项目.

我有2个具有共享功能/路由的应用程序.例如,在两个应用程序中都有日记,目标跟踪,睡眠跟踪等,它们以相同的方式工作.还有特定于每个应用程序的路由.在AppA中,用户可以跟踪他们的心情,在AppB中,用户可以查看他们的医生的笔记.

有没有办法让一个伞形项目包含在/apps通用应用程序,AppA和AppB中?每个应用程序都有自己的路由器/控制器/模板等.AppA和AppB都需要GenericApp作为依赖项.到目前为止,我只看到了一个包含前端逻辑(web)的应用程序的伞状项目,其他应用程序是包含在其中的库.如何在多个应用程序之间进行路由?我可以采取另一种方法吗?

我在搜索中找到了这个问题和答案,但这并不是我想要的.它似乎遵循一个前端应用程序的模式,包括在其他库中.

elixir phoenix-framework umbrella

6
推荐指数
1
解决办法
452
查看次数

When should I generate a mix umbrella vs a phoenix umbrella?

I'm not sure when to use mix and when to use phoenix for creating umbrella applications.

I have read a lot of articles online but they are not clear of the reasoning for using mix over phoenix and vis versa.

mix gives:

- apps/
- config/
Run Code Online (Sandbox Code Playgroud)

phoenix gives:

- build/dev/(consolidated/lib)
- apps/(app_name/app_name_web)
- config/(configs for different envs)
- deps/(stuffffff)
Run Code Online (Sandbox Code Playgroud)

mix new [UMBRELLA NAME] --umbrella VS mix phx.new [UMBRELLA NAME] --umbrella

If I want to generate an umbrella that has an …

elixir-mix elixir phoenix-framework umbrella

5
推荐指数
1
解决办法
139
查看次数

iOS Umbrella 框架 - 协同设计问题

我有一个通过 Cocoapods 分发的 Umbrella 框架作为供应商框架并以发布模式编译。

它与模拟器完美配合,但我对嵌套在伞层中的子框架上的代码符号有问题。

这是错误:

dyld: Library not loaded: @rpath/Subframework.framework/Subframework
Referenced from: /private/var/containers/Bundle/Application/02AD328F-9E78-4D53-9C39-0C8639B00D81/sdkInteTest.app/Frameworks/Umbrella.framework/Umbrella
Reason: no suitable image found. Did find:
/private/var/containers/Bundle/Application/02AD328F-9E78-4D53-9C39-0C8639B00D81/sdkInteTest.app/Frameworks/Umbrella.framework/Frameworks/Subframework.framework/Subframework: code signature in (/private/var/containers/Bundle/Application/02AD328F-9E78-4D53-9C39-0C8639B00D81/sdkInteTest.app/Frameworks/Umnrella.framework/Frameworks/Subframework.framework/Subframework) not valid for use in process using Library Validation: mapped file has no cdhash, completely unsigned? Code has to be at least ad-hoc signed.
Run Code Online (Sandbox Code Playgroud)

然后,如果我启动应用程序以使用以下脚本签署子框架:

pushd ${TARGET_BUILD_DIR}/${PRODUCT_NAME}.app/Frameworks/Umbrella.framework/Frameworks
for EACH in *.framework; do
echo "-- signing ${EACH}"
/usr/bin/codesign --force --deep --sign "${EXPANDED_CODE_SIGN_IDENTITY}" --entitlements "${TARGET_TEMP_DIR}/${PRODUCT_NAME}.app.xcent" --timestamp=none $EACH
done
popd
Run Code Online (Sandbox Code Playgroud)

我收到此错误:

/Users/xxx/Library/Developer/Xcode/DerivedData/sdkInteTest-bbfpzsxuhjomfmaumywyncnbwbla/Build/Intermediates.noindex/sdkInteTest.build/Debug-iphoneos/sdkInteTest.build/Script-F9547ACC224017BF0030EA0B.sh: line 3: pushd: /Users/xxx/Library/Developer/Xcode/DerivedData/sdkInteTest-bbfpzsxuhjomfmaumywyncnbwbla/Build/Products/Debug-iphoneos/sdkInteTest.app/Frameworks/Umbrella.framework/Frameworks: …
Run Code Online (Sandbox Code Playgroud)

codesign ios cocoapods swift umbrella

3
推荐指数
1
解决办法
2742
查看次数

带有飞镖/颤音的雨伞进口

我正在为Dart(Flutter)开发插件。我已将源代码分为许多不同的实现文件,以保持环境整洁并避免拥有一个庞大的文件。

问题是,我不希望用户每次使用我的软件包时都必须导入大量的源文件。

在flutter或Dart本身中,有什么方法可以声明某种伞形接口?

interface package dart flutter umbrella

2
推荐指数
1
解决办法
899
查看次数