expcapitaldev opened a new issue, #1422:
URL: https://github.com/apache/cordova-ios/issues/1422

   **Issue**
   Currently, the deployment-target variable is not being copied from the root 
config.xml file to the platforms/ios/[App Name]/config.xml before it is 
accessed in the code. As a result, the script uses the default deployment 
target from the template 
(https://github.com/apache/cordova-ios/blob/rel/7.0.1/templates/project/__PROJECT_NAME__/config.xml)
 instead of the user-specified value in the root config.xml.
   
   **Expected Behavior**
   The deployment-target set in the root config.xml should be reflected in the 
platforms/ios/[App Name]/config.xml before any script or process accesses it.
   
   **Proposed Solution**
   Modify the lib/prepare.js file to ensure that deployment-target and possibly 
other preferences are copied from the root config.xml to the platforms/ios/[App 
Name]/config.xml early in the preparation process. This could potentially be 
implemented at line 250, before the preferences are required by subsequent 
processes in the script.
   
   **Additional Information**
   This change will ensure that the deployment target and other settings are 
correctly set according to the project's configuration before they are needed, 
preventing any default settings from causing conflicts or errors during build 
or runtime.
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org

Reply via email to