BRadHoc commented on issue #699: URL: https://github.com/apache/cordova-ios/issues/699#issuecomment-860232542
> > > > So just tested Catalyst for on a new 'hello' cordova project, using [email protected] > > > > 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 > ``` Do you know how it's possible to stop this from happening: > /Project/platforms/ios/Pods/FirebaseAnalytics/Frameworks/FIRAnalyticsConnector.framework/FIRAnalyticsConnector(FIRAnalyticsConnector_c162bpf6emcd173ef13757bsd7ebe6f7.o), building for Mac Catalyst, but linking in object file built for iOS Simulator, file '/Project/platforms/ios/Pods/FirebaseAnalytics/Frameworks/FIRAnalyticsConnector.framework/FIRAnalyticsConnector' for architecture x86_64 -- 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: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
