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