NativeScript / NativeScript/nativescript-cli
NS + Angular | IOS Simulator stuck on NativeScript Splash or black app screen
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ả
Issue Description
When i try to launch the created app on my ios simulator on my MacBook Pro, it gets stuck on a black screen when opening the app (iPhone) or on the blue NativeScript launch screen (iPad).
The app in question is simply a single screen with an input field, button and a text field that copies the input field text to the text field when clicking the button. The only CSS used is to make the button coloured and the displayed text centered and bold.
Have tried:
- Restarting MacBook Pro
- Restarting Simulator
- Changing Simulator device
- Deleting node_modules folder and running npm install
- Invalidating IntelliJ caches
- Shaking device
- Erasing all content and settings from device
Reproduction
'tns run ios --bundle'
Relevant log output (if applicable)
No response
Environment
OS: macOS 12.6
CPU: (8) x64 Intel(R) Core(TM) i5-1038NG7 CPU @ 2.00GHz
Shell: /bin/zsh
node: 18.11.0
npm: 8.19.2
nativescript: 8.3.3
# android
java: 11.0.17
ndk: Not Found
apis: Not Found
build_tools: Not Found
system_images: Not Found
# ios
xcode: 14.0.1/14A400
cocoapods: 1.11.3
python: 3.10.8
python3: 3.10.8
ruby: 2.7.6
platforms:
- DriverKit 21.4
- iOS 16.0
- macOS 12.3
- tvOS 16.0
- watchOS 9.0
### Dependencies
json
"dependencies": {},
"devDependencies": {
"tslint": "^6.1.3",
"typescript": "^4.8.4"
}
Please accept these terms
- I have searched the existing issues as well as StackOverflow and this has not been posted before
- This is a bug report
- I agree to follow this project's Code of Conduct
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 vấn đề với tns run ios --bundle bằng các phiên bản macOS, Xcode, NativeScript và Node đã được báo cáo, sau đó kiểm tra đầu ra của trình mô phỏng iOS để xác định lý do ứng dụng vẫn ở màn hình splash hoặc màn hình đen. Được xem là hoàn tất khi ứng dụng mẫu khởi chạy bình thường trong trình mô phỏng và hiển thị màn hình duy nhất của ứng dụ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ệ
- angular, ios, javascript, typescript
- Lĩnh vực
- cli, mobile
- 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
- Cần làm rõ
- Mức phù hợp với người mới
- 25/100