NativeScript / NativeScript/nativescript-cli
Cannot Use Pods Inside App Extensions
Chưa có ai nhận issue này.
- Ngôn ngữ chính
- JavaScript
- Star
- 1.1k
- Fork
- 204
- Merge trung bình
- 1 ngày 9 giờ
- Pull request đã merge (30 ngày)
- 8
Mô tả
- 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.
Hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Hướng nghiên cứu
Bắt đầu bằng cách tái hiện bản build iOS với App_Resources/iOS/Podfile và AppExtension target, sau đó kiểm tra luồng CLI liên quan đến việc cài đặt pod và thiết lập dự án App Extension. Xác nhận lỗi bằng pod install; hoàn tất khi AppExtension target tồn tại trước khi cài đặt các dependency và pod Firebase/Messaging được resolve thành công.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- firebase, ios, javascript
- Lĩnh vực
- build-system, cli, mobile-dev
- Loại issue
- Lỗi
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức độ hoạt động
- Đình trệ
- Độ rõ ràng
- Khá rõ ràng
- Mức phù hợp với người mới
- 35/100