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 2020/04/22 22:49:00 UTC

[GitHub] [cordova-ios] pepenemo commented on issue #536: Provisioning Profile not setup correctly with new build system

pepenemo commented on issue #536:
URL: https://github.com/apache/cordova-ios/issues/536#issuecomment-618079465


   > @dpogue I've tested with a UUID instead of a name and it works for me. My fix might have been what's been necessary all along to fix this issue, but it would be good if others could test it.
   > 
   > I've done a first Apache Cordova PR here - let me know if you need an ICLA done etc.
   > #823
   
   I change my cordova-ios version to 5.1.1 from 4.5.5 for WKWebView API iOS update but I got an issue in code snippet 1. @chriscant I tried your changes in \platforms\ios\cordova\lib in the code snippet 2 below but not works on me got the same issue also in code snippet 1 and suddenly my remotebuild stop in figure 1 for details..
   
   `Severity	Code	Description													
   Error			Remote build error from the build server http://<ip address>:3000/cordova - 							
   			Build failed with error Error code 70 for command: xcodebuild with args: 
   			-exportArchive,-archivePath,<app name>.xcarchive,-exportOptionsPlist,
   			/Users/<Mac PC user>/.taco_home/remote-builds/taco- 
                            remote/builds/1094/cordovaApp
   			/platforms/ios/exportOptions.plist,-exportPath,/Users/<Mac PC user>/.taco_home
   			/remote-builds/taco-remote/builds/1094/cordovaApp/platforms/ios/build/device	Project	
   <Project Title>`
   Code snippet 1. Build error for 5.1.1 version in VS 2017
   
   
   `            if (buildOpts.codeSignResourceRules) {
                   extraConfig += 'CODE_SIGN_RESOURCE_RULES_PATH = ' + buildOpts.codeSignResourceRules + '\n';
               }
               
   if (buildOpts.provisioningProfile) {
                   extraConfig += 'PROVISIONING_PROFILE_SPECIFIER = ' + buildOpts.provisioningProfile + '\n';
               }
              
   if (buildOpts.developmentTeam) {
                   extraConfig += 'DEVELOPMENT_TEAM = ' + buildOpts.developmentTeam + '\n';
               }`
   Code snippet 2. Code changes in build.js
   
   
   <img width="582" alt="iOSRemoteBuildError" src="https://user-images.githubusercontent.com/40771612/80040375-8551b080-852c-11ea-97c5-9cbe0aa0f05a.png"> 
   Figure 1. Remotebuild suddenly stop in Mac 
   
   
   
   Platform I used
   Xcode 10.1
   VS 2017
   Cordova 9.0.0
   
   Cordova plugins on my project:
   $ cordova plugin ls
   cordova-plugin-device 2.0.3 "Device"
   cordova-plugin-dialogs 2.0.2 "Notification"
   cordova-plugin-file 6.0.2 "File"
   cordova-plugin-file-opener2 3.0.0 "File Opener2"
   cordova-plugin-ionic-keyboard 2.2.0 "cordova-plugin-ionic-keyboard"
   cordova-plugin-network-information 2.0.2 "Network Information"
   cordova-plugin-splashscreen 5.0.3 "Splashscreen"
   cordova-plugin-whitelist 1.3.4 "Whitelist"
   cordova-plugin-wkwebview-engine 1.2.1 "Cordova WKWebView Engine"
   
   I hope you reply to me soon @dpogue and @chriscant, let me know if you need additional information on my issue. Thanks in advance!


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