lukas2 edited a comment on issue #855:
URL: https://github.com/apache/cordova-ios/issues/855#issuecomment-656705630


   I see the same problem. In my case the "Builds for" setting in the File 
Inspector for `CDVLaunchScreen.storyboard` shows a wrong value.
   
   <img width="280" alt="builds_for" 
src="https://user-images.githubusercontent.com/213249/87165325-4846c000-c2ca-11ea-8e86-1960cebb9a98.png";>
   
   In the xml (= `CDVLaunchScreen.storyboard` opened with a text editor) it 
contains
   
   ```
   <dependencies>
       <deployment identifier="iOS"/>
       <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" 
version="15706"/>
        <capability name="Named colors" minToolsVersion="9.0"/>
       <capability name="documents saved in the Xcode 8 format" 
minToolsVersion="8.0"/>
   </dependencies>
   ```
   
   and if I change "Builds for" to iOS 11 the error disappears.
   
   The xml now contains
   
   ```
   <dependencies>
       <deployment version="4352" identifier="iOS"/>
       <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" 
version="15706"/>
       <capability name="Named colors" minToolsVersion="9.0"/>
       <capability name="documents saved in the Xcode 8 format" 
minToolsVersion="8.0"/>
   </dependencies>
   ```
   
   and, by the way, I use `prepare` and `compile` instead of `build`.
   
   (I speculate this is a bug of omission where the `version` attribute is not 
set.)
   
   **UPDATE:** Now it's fine. The reason it did not work is that we still had 
`cordova-plugin-splashscreen` included. This somehow broke things and removing 
it solved the problem (the xml is correct now) and the app builds. 
   
   (I'm leaving the whole comment here anyway, because perhaps it helps in some 
cases.)


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

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