NativeScript / NativeScript/nativescript-cli
Cannot Use Pods Inside App Extensions
还没有人认领这个 Issue。
- 主要语言
- JavaScript
- 星标
- 1.1k
- 派生
- 204
- 平均合并
- 1 天 9 小时
- 30 天内合并 PR
- 8
描述
- CLI: 6.3.2
- Cross-platform modules: 6.3.2
- Android Runtime: 6.3.1
- iOS Runtime: 6.3.0
- Plugin(s):
"@nstudio/nativescript-pulltorefresh": "^1.1.1",
"colorsys": "^1.0.22",
"credit-card-type": "^8.2.0",
"dotenv": "^7.0.0",
"google-geocoder": "^0.2.1",
"moment": "^2.24.0",
"nativescript-apple-sign-in": "^1.0.0",
"nativescript-background-http": "^4.2.0",
"nativescript-cardview": "^3.2.0",
"nativescript-checkbox": "^3.0.3",
"nativescript-color-picker": "^1.6.0",
"nativescript-directions": "^1.3.1",
"nativescript-email": "^1.5.5",
"nativescript-fingerprint-auth": "^7.0.2",
"nativescript-geolocation": "^5.1.0",
"nativescript-gif": "^4.0.2",
"nativescript-imagepicker": "^7.1.0",
"nativescript-iqkeyboardmanager": "^1.5.1",
"nativescript-loading-indicator": "^2.5.2",
"nativescript-mapbox": "^4.4.1",
"nativescript-masked-text-field": "^4.0.3",
"nativescript-phone": "^1.4.0",
"nativescript-plugin-firebase": "^10.3.3",
"nativescript-stripe": "^6.0.0",
"nativescript-theme-core": "^2.0.23",
"nativescript-vue": "^2.4.0",
"tns-core-modules": "~6.3.0",
"vuex": "^3.1.0"
Currently, I cannot use pods inside App Extensions with nativescript.
It tries to install pods before adding the App Extension to the project.
For example:
App_Resources/iOS/Podfile
end
target 'AppExtension' do
pod 'Firebase/Messaging'
end
Build Error:
[!] Unable to find a target named `AppExtension`, did find ``ProjectNameHere`.
'pod install' command failed.`
This means it's impossible to have images appear on iOS notifications with Firebase.
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
首先使用 App_Resources/iOS/Podfile 和 AppExtension target 重现 iOS 构建,然后检查 pod 安装和 App Extension 项目设置相关的 CLI 流程。使用 pod install 确认失败;当 AppExtension target 在依赖项安装之前已存在,并且 Firebase/Messaging pod 成功解析时,即表示完成。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- firebase, ios, javascript
- 领域
- build-system, cli, mobile-dev
- Issue 类型
- 缺陷
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 活跃度
- 停滞
- 描述清晰度
- 基本清楚
- 新手友好度
- 35/100