NativeScript / NativeScript/nativescript-cli
TNSNativeSource gets duplicated in Xcode projects
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
Starting with NativeScript v8.6.0, ns prepare ios may duplicate native code section TNSNativeSource in Xcode projects.
In particular, this seems to be related to this PR: https://github.com/NativeScript/nativescript-dev-xcode/pull/15
Reproduction
Download the file to ~/Downloads folder: extra.zip
- ns create testApp --js
- cd testApp
- ns platform add ios
- cd App_Resources/iOS
- mkdir src
- cd src
- cp ~/Downloads/extra.zip .
- unzip extra.zip
- rm extra.zip
- cd ../../..
- ns prepare ios
- touch App_Resources/iOS/src/extra.m
- ns prepare ios
- open platforms/ios/testApp.xcodeproj
Relevant log output (if applicable)
Environment
No response
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
Tái hiện vấn đề bằng các bước ns prepare ios được liệt kê, đặc biệt là platforms/ios/testApp.xcodeproj và App_Resources/iOS/src/extra.m được tạo ra. Đọc pull request nativescript-dev-xcode liên quan và kiểm tra đường dẫn chuẩn bị iOS cập nhật dự án Xcode. Hoàn tất khi việc chuẩn bị lặp lại không còn nhân bản phần TNSNativeSource.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- ios, javascript
- Lĩnh vực
- 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
- 38/100