You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by GitBox <gi...@apache.org> on 2019/06/13 17:00:44 UTC

[GitHub] [cordova-ios] MathiasTim opened a new issue #628: Release Build not working with Pods

MathiasTim opened a new issue #628: Release Build not working with Pods
URL: https://github.com/apache/cordova-ios/issues/628
 
 
   # Bug Report
   
   ## Problem
   
   ### What is expected to happen?
   An archive is built when using the following Command:
   ```
   npx ionic cordova build ios --device --prod --release --verbose -- --codeSignIdentity="Company Name" --developmentTeam="TeamID" --packageType="enterprise" --provisioningProfile="Profile-ID"
   ```
   
   
   ### What does actually happen?
   I get the following error:
   ```
   ld: warning: directory not found for option '-L/Users/mathiasmaier/Library/Developer/Xcode/DerivedData/ProjectName-byrqwtsixkwszxbdmgdleenawibs/Build/Intermediates.noindex/ArchiveIntermediates/Milk Monitoring/BuildProductsPath/Release-iphoneos/GoogleToolboxForMac'
   ld: warning: directory not found for option '-L/Users/mathiasmaier/Library/Developer/Xcode/DerivedData/ProjectName-byrqwtsixkwszxbdmgdleenawibs/Build/Intermediates.noindex/ArchiveIntermediates/Milk Monitoring/BuildProductsPath/Release-iphoneos/Protobuf'
   ld: warning: directory not found for option '-L/Users/mathiasmaier/Library/Developer/Xcode/DerivedData/ProjectName-byrqwtsixkwszxbdmgdleenawibs/Build/Intermediates.noindex/ArchiveIntermediates/Milk Monitoring/BuildProductsPath/Release-iphoneos/nanopb'
   ld: library not found for -lGoogleToolboxForMac
   clang: error: linker command failed with exit code 1 (use -v to see invocation)
   
   ** ARCHIVE FAILED **
   ```
   
   
   ## Information
   Building a debug version for device or simulator just works fine. Therefore I assume there is something wrong with the release build.
   
   The release build just worked when using the old version of cordova-ios (4.5.5)
   
   The plugin which has the Pods dependency is the phonegap-push-plugin
   
   I get the same warning when trying to build an "archive" via Xcode (not the cli)
   
   
   ### Command or Code
   ```
   npx ionic cordova build ios --device --prod --release --verbose -- --codeSignIdentity="Company Name" --developmentTeam="TeamID" --packageType="enterprise" --provisioningProfile="Profile-ID"
   ```
   
   
   
   ### Environment, Platform, Device
   Release Builds, iOS
   
   
   ### Version information
   Cordova Platform: cordova-ios 5.0.1
   Cordova CLI: 9.0.0
   Xcode: 10.1, MacOS 10.14
   
   
   
   ## Checklist
   
   - [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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

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