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

   # Bug Report
   
   ## Problem
   Apple has updated minimum build version.
   As well as various schema changes
   
   ### What is expected to happen?
   - IPHONEOS_DEPLOYMENT_TARGET should be 12.0 by default for iOS `Cordova add 
platform iOS`
   
   
   ### What does actually happen?
   Build succeeds with warnings, warnings which will prevent the app from being 
shippable.
   
   
   ## Information
   I suggest:
   - create a new GitHub repo
   - check it out
   - create a new Cordova app `Cordova create`, add the iOS platform
   - copy that into your GitHub repo folder
   - commit that as your initial commit to enable yourself to get a diff
   - then open that project in Xcode and see the warning icon, click it to 
implement suggested changes, change the minimum target in both the project root 
folder and the app folder, 
   - now view the git diff to see how apple's expectations have changed for 
basic compatibility
   
   
   ### Command or Code
   ```
   git clone g...@github.com:your-account/cordova-test.git
   cordova create cordovatest uk.co.domain.test cordova-test
   mv -R cordovatest/ Cordova-test
   cd cordova-test
   git add *
   git commit -m "initial commit"
   git push
   cordova platform add ios
   cordova Build ios
   ```
   That should allow you to see the errors. Then open the project in Xcode, 
click the warning icon and accept changes, change the build targets to the new 
minimum of 12, Then:
   
   ```
   git diff
   ```
   
   Which should show you what's changed in terms of apple's minimum build 
requirements.
   
   
   ### Environment, Platform, Device
   <!-- In what environment, on what platform or on which device are you 
experiencing the issue? -->
   iOS on a GitHub macOS-latest runner
   and also iOS on my local Mac osx environment
   
   
   ### Version information
   <!-- 
   What are relevant versions you are using?
   For example:
   Cordova: Cordova CLI, Cordova Platforms, Cordova Plugins 
   Other Frameworks: Ionic Framework and CLI version
   Operating System, Android Studio, Xcode etc.
   -->
   Mac OS X 14.5 (23F79)
   Xcode Version 15.4 (15F31d)
   cordova 12.0.0 (cordova-lib@12.0.1)
   ios-deploy@1.12.2
   
   ## Checklist
   <!-- Please check the boxes by putting an x in the [ ] like so: [x] -->
   
   - [x] I searched for existing GitHub issues
   - [x] I updated all Cordova tooling to most recent version
   - [x] I included all the necessary information above
   


-- 
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