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 2018/08/28 10:45:59 UTC

[GitHub] BobCaSUaL removed a comment on issue #394: cocoapods cordova build ios fails with linker issues (works pefectly in Xcode UI)

BobCaSUaL removed a comment on issue #394: cocoapods cordova build ios fails with linker issues (works pefectly in Xcode UI)
URL: https://github.com/apache/cordova-ios/issues/394#issuecomment-416538327
 
 
   Step to workaround:
   
   1. your need to add a exportOptions.plist used in step 3 and filled with
   ```
   <?xml version="1.0" encoding="UTF-8"?>
   <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
   <plist version="1.0">
   <dict>
       <key>method</key>
       <string>YOUR_EXPORT_METHOD</string>
       <key>teamID</key>
       <string>YOUR_TEAM_ID_TAKEN_FROM_PROVISIONING</string>
       <key>provisioningProfiles</key>
       <dict>
           <key>YOUR_APP_ID</key>
           <string>YOUR_APP_UUID_TAKEN_FROM_PROVISIONING</string>
       </dict>
   </dict>
   </plist>
   ```
   refer here https://devcenter.bitrise.io/tips-and-tricks/xcodebuild-export-options/ for more information.
   
   2. Archive the project
   xcodebuild clean build -workspace ./platforms/ios/YOUR_PROJECT_NAME.xcworkspace -scheme YOUR_PROJECT_NAME -configuration YOUR_CONFIGURATION -destination generic/platform=iOS archive -archivePath ./platforms/ios/build/YOUR_PROJECT_NAME.xcarchive
   
   3. Generate the ipa:
   xcodebuild -exportArchive -archivePath ./platforms/ios/build/YOUR_PROJECT_NAME.xcarchive -exportOptionsPlist YOUR_EXPORT_OPTIONS_PLIST_PATH -exportPath ./platforms/ios/build/device
   
   YOUR_CONFIGURATION is the xcode configuration name, usually "Debug" and "Release".
   
   
   
   But the real solution requires bugfix.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on 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