NativeScript / NativeScript/nativescript-cli
TNSNativeSource gets duplicated in Xcode projects
オープン
まだ誰も着手していません。
bug
- 主要言語
- JavaScript
- スター
- 1.1k
- フォーク
- 204
- 平均マージ
- 1日 9時間
- マージ済み PR(30日)
- 8
説明
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
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
記載されている ns prepare ios の手順で問題を再現し、特に生成される platforms/ios/testApp.xcodeproj と App_Resources/iOS/src/extra.m を確認してください。関連する nativescript-dev-xcode の pull request を読み、Xcode プロジェクトを更新する iOS の準備処理の経路を調査してください。準備を繰り返しても TNSNativeSource セクションが重複しなくなれば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- ios, javascript
- 領域
- cli, mobile-dev
- issue の種類
- バグ
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 38/100