You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by GitBox <gi...@apache.org> on 2021/04/17 23:20:57 UTC

[GitHub] [cordova-ios] Leandropintogit commented on issue #699: Catalyst for ios platform ?

Leandropintogit commented on issue #699:
URL: https://github.com/apache/cordova-ios/issues/699#issuecomment-821901072


   > > > So just tested Catalyst for on a new 'hello' cordova project, using ios@6.1.0
   > > > Project builds (and runs on iOS), but after enabling Catalyst I get this codesign error:
   > > > unsealed contents present in the bundle root
   > > > Command CodeSign failed with a nonzero exit code
   > > > Has someone gotten a Catalyst ios build to work ?
   > > > Update: just saw the post from dpogue above, unfortunately I can't get around the codesign issue, can you share some more detail where you copied the config.xml and www directory ? (not familiar with codesign)
   > > 
   > > 
   > > CodeSign error means your app isn't signed properly, you need to select a development team in the target root node.
   > > The build fails for another reason
   > 
   > I unfortunately have this same error. Cannot find a way around it. The app is set to automatically sign and a team is selected from both dropdowns.
   
   Hy guys
   
   With just a few changes, it is possible to generate a simple cordova app supporting catalyst without changing ios behavior
   In the script copy-www-build-step.sh, change the variable DST_DIR based on build platform
   
   ```
   DST_DIR="$BUILT_PRODUCTS_DIR/$FULL_PRODUCT_NAME"
   if [[ "$PLATFORM" == "macosx" ]]; then
     //In case build ios directories exists
     rm -rf "$DST_DIR_WWW"
     rm -f  "$DST_DIR/config.xml"
   
     DST_DIR="$BUILT_PRODUCTS_DIR/$FULL_PRODUCT_NAME/Contents/Resources"
   fi
   ```
   
   


-- 
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:
users@infra.apache.org



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