[GitHub] jonathanrevell edited a comment on issue #394: cocoapods cordova build ios fails with linker issues (works pefectly in Xcode UI)
jonathanrevell edited 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-414759541 Lucky me I'm in the process of writing my build scripts for the first time and was tearing my hair out wondering what I did wrong with them only to find out there's some sort of cordova-xcodebuild bug right now. So I'm just going to be using xcodebuild straight up for the time being until the root cause is diagnosed and fixed. I'm happy to at least have found a workaround so I can automate things in the meantime because I do not want to manually build these things all the time. 路♂️ 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: us...@infra.apache.org With regards, Apache Git Services - To unsubscribe, e-mail: commits-unsubscr...@cordova.apache.org For additional commands, e-mail: commits-h...@cordova.apache.org
[GitHub] jonathanrevell edited a comment on issue #394: cocoapods cordova build ios fails with linker issues (works pefectly in Xcode UI)
jonathanrevell edited 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-414759541 Lucky me I'm in the process of writing my build scripts for the first time and was tearing my hair out wondering what I did wrong with them only to find out there's some sort of cordova-xcodebuild bug right now. So I'm just going to be using xcodebuild straight up for the time being until the root cause is diagnosed and fixed. I'm at least happy to have found a workaround so I can automate things in the meantime. 路♂️ 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: us...@infra.apache.org With regards, Apache Git Services - To unsubscribe, e-mail: commits-unsubscr...@cordova.apache.org For additional commands, e-mail: commits-h...@cordova.apache.org
[GitHub] jonathanrevell edited a comment on issue #394: cocoapods cordova build ios fails with linker issues (works pefectly in Xcode UI)
jonathanrevell edited 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-414734117 I did quite a bit more exploring and was able to successfully get an IPA exported with the following process: Step 1: Build the app and archive using the following command `xcodebuild clean build -workspace YourApp.xcworkspace -scheme YourApp -configuration Debug -destination generic/platform=iOS -archivePath .../YourApp.xcarchive archive CONFIGURATION_BUILD_DIR=.../cordova/platforms/ios/build/device SHARED_PRECOMPS_DIR=.../cordova/platforms/ios/build/sharedpch EMBEDDED_CONTENT_CONTAINS_SWIFT=YES ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES=NO LD_RUNPATH_SEARCH_PATHS="@executable_path/Frameworks"` Step 2: Create a **ExportOptions.plist** file with the following information: ?xml version=1.0 encoding=UTF-8? !-- https://www.matrixprojects.net/p/xcodebuild-export-options-plist/ -- !DOCTYPE plist PUBLIC -//Apple//DTD PLIST 1.0//EN http://www.apple.com/DTDs/PropertyList-1.0.dtd; plist version=1.0 dict keyteamID/key stringYOUR_TEAM_ID/string keyprovisioningProfiles/key dict keyYOUR.BUNDLE.ID/key stringPROVISIONING_PROFILE_UUID OR XCODE NAME/string /dict keymethod/key stringad-hoc OR app-store OR enterprise OR development/string keyuploadSymbols/key true/ /dict /plist Step 3: Export the archive to build the IPA `xcodebuild -exportArchive -archivePath .../SmartPiggy.xcarchive -exportPath $(EXPORT_PATH) -exportOptionsPlist .../ExportOptions.plist` 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: us...@infra.apache.org With regards, Apache Git Services - To unsubscribe, e-mail: commits-unsubscr...@cordova.apache.org For additional commands, e-mail: commits-h...@cordova.apache.org
[GitHub] jonathanrevell edited a comment on issue #394: cocoapods cordova build ios fails with linker issues (works pefectly in Xcode UI)
jonathanrevell edited 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-414541641 I was able to find a workaround which involves bypassing cordova for now: Reconstruct the command being passed to xcodebuild from cordova, you can see the list of arguments passed in at the bottom of the stack trace, but remove the -xcconfig argument altogether. (Based on this [comment](https://issues.apache.org/jira/browse/CB-14057?focusedCommentId=16487056=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-16487056)) Your command should look something like this: **EDIT: See next comment for full details** Replace YourProjectName with your project name, and note that the ... paths should be your actual paths 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: us...@infra.apache.org With regards, Apache Git Services - To unsubscribe, e-mail: commits-unsubscr...@cordova.apache.org For additional commands, e-mail: commits-h...@cordova.apache.org
[GitHub] jonathanrevell edited a comment on issue #394: cocoapods cordova build ios fails with linker issues (works pefectly in Xcode UI)
jonathanrevell edited 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-414734117 I did quite a bit more exploring and was able to successfully get an IPA exported with the following process: Step 1: Build the app and archive using the following command `xcodebuild clean build -workspace YourApp.xcworkspace -scheme YourApp -configuration Debug -destination generic/platform=iOS -archivePath .../YourApp.xcarchive archive CONFIGURATION_BUILD_DIR=.../cordova/platforms/ios/build/device SHARED_PRECOMPS_DIR=.../cordova/platforms/ios/build/sharedpch EMBEDDED_CONTENT_CONTAINS_SWIFT=YES ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES=NO LD_RUNPATH_SEARCH_PATHS="@executable_path/Frameworks"` Step 2: Create a **ExportOptions.plist** file with the following information: `?xml version=1.0 encoding=UTF-8? !-- https://www.matrixprojects.net/p/xcodebuild-export-options-plist/ -- !DOCTYPE plist PUBLIC -//Apple//DTD PLIST 1.0//EN http://www.apple.com/DTDs/PropertyList-1.0.dtd; plist version=1.0 dict keyteamID/key stringYOUR_TEAM_ID/string keyprovisioningProfiles/key dict keyYOUR.BUNDLE.ID/key stringPROVISIONING_PROFILE_UUID OR XCODE NAME/string /dict keymethod/key stringad-hoc OR app-store OR enterprise OR development/string keyuploadSymbols/key true/ /dict /plist` Step 3: Export the archive to build the IPA `xcodebuild -exportArchive -archivePath .../SmartPiggy.xcarchive -exportPath $(EXPOR_PATH) -exportOptionsPlist .../ExportOptions.plist` 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: us...@infra.apache.org With regards, Apache Git Services - To unsubscribe, e-mail: commits-unsubscr...@cordova.apache.org For additional commands, e-mail: commits-h...@cordova.apache.org
[GitHub] jonathanrevell edited a comment on issue #394: cocoapods cordova build ios fails with linker issues (works pefectly in Xcode UI)
jonathanrevell edited 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-414734117 I did quite a bit more exploring and was able to successfully get an IPA exported with the following process: Step 1: Build the app and archive using the following command `xcodebuild clean build -workspace YourApp.xcworkspace -scheme YourApp -configuration Debug -destination generic/platform=iOS -archivePath .../YourApp.xcarchive archive CONFIGURATION_BUILD_DIR=.../cordova/platforms/ios/build/device SHARED_PRECOMPS_DIR=.../cordova/platforms/ios/build/sharedpch EMBEDDED_CONTENT_CONTAINS_SWIFT=YES ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES=NO LD_RUNPATH_SEARCH_PATHS="@executable_path/Frameworks"` Step 2: Create a **ExportOptions.plist** file with the following information: \``` http://www.apple.com/DTDs/PropertyList-1.0.dtd;> teamID YOUR_TEAM_ID provisioningProfiles YOUR.BUNDLE.ID PROVISIONING_PROFILE_UUID OR XCODE NAME method ad-hoc OR app-store OR enterprise OR development uploadSymbols ```\ Step 3: Export the archive to build the IPA `xcodebuild -exportArchive -archivePath .../SmartPiggy.xcarchive -exportPath $(EXPOR_PATH) -exportOptionsPlist .../ExportOptions.plist` 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: us...@infra.apache.org With regards, Apache Git Services - To unsubscribe, e-mail: commits-unsubscr...@cordova.apache.org For additional commands, e-mail: commits-h...@cordova.apache.org
[GitHub] jonathanrevell edited a comment on issue #394: cocoapods cordova build ios fails with linker issues (works pefectly in Xcode UI)
jonathanrevell edited 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-414734117 I did quite a bit more exploring and was able to successfully get an IPA exported with the following process: Step 1: Build the app and archive using the following command `xcodebuild clean build -workspace YourApp.xcworkspace -scheme YourApp -configuration Debug -destination generic/platform=iOS -archivePath .../YourApp.xcarchive archive CONFIGURATION_BUILD_DIR=.../cordova/platforms/ios/build/device SHARED_PRECOMPS_DIR=.../cordova/platforms/ios/build/sharedpch EMBEDDED_CONTENT_CONTAINS_SWIFT=YES ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES=NO LD_RUNPATH_SEARCH_PATHS="@executable_path/Frameworks"` Step 2: Create a **ExportOptions.plist** file with the following information: ?xml version=1.0 encoding=UTF-8? !-- https://www.matrixprojects.net/p/xcodebuild-export-options-plist/ -- !DOCTYPE plist PUBLIC -//Apple//DTD PLIST 1.0//EN http://www.apple.com/DTDs/PropertyList-1.0.dtd; plist version=1.0 dict keyteamID/key stringYOUR_TEAM_ID/string keyprovisioningProfiles/key dict keyYOUR.BUNDLE.ID/key stringPROVISIONING_PROFILE_UUID OR XCODE NAME/string /dict keymethod/key stringad-hoc OR app-store OR enterprise OR development/string keyuploadSymbols/key true/ /dict /plist Step 3: Export the archive to build the IPA `xcodebuild -exportArchive -archivePath .../SmartPiggy.xcarchive -exportPath $(EXPOR_PATH) -exportOptionsPlist .../ExportOptions.plist` 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: us...@infra.apache.org With regards, Apache Git Services - To unsubscribe, e-mail: commits-unsubscr...@cordova.apache.org For additional commands, e-mail: commits-h...@cordova.apache.org
[GitHub] jonathanrevell edited a comment on issue #394: cocoapods cordova build ios fails with linker issues (works pefectly in Xcode UI)
jonathanrevell edited 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-414734117 I did quite a bit more exploring and was able to successfully get an IPA exported with the following process: Step 1: Build the app and archive using the following command `xcodebuild clean build -workspace YourApp.xcworkspace -scheme YourApp -configuration Debug -destination generic/platform=iOS -archivePath .../YourApp.xcarchive archive CONFIGURATION_BUILD_DIR=.../cordova/platforms/ios/build/device SHARED_PRECOMPS_DIR=.../cordova/platforms/ios/build/sharedpch EMBEDDED_CONTENT_CONTAINS_SWIFT=YES ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES=NO LD_RUNPATH_SEARCH_PATHS="@executable_path/Frameworks"` Step 2: Create a **ExportOptions.plist** file with the following information: \``` http://www.apple.com/DTDs/PropertyList-1.0.dtd;> teamID YOUR_TEAM_ID provisioningProfiles YOUR.BUNDLE.ID PROVISIONING_PROFILE_UUID OR XCODE NAME method ad-hoc OR app-store OR enterprise OR development uploadSymbols Step 3: Export the archive to build the IPA `xcodebuild -exportArchive -archivePath .../SmartPiggy.xcarchive -exportPath $(EXPOR_PATH) -exportOptionsPlist .../ExportOptions.plist` 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: us...@infra.apache.org With regards, Apache Git Services - To unsubscribe, e-mail: commits-unsubscr...@cordova.apache.org For additional commands, e-mail: commits-h...@cordova.apache.org
[GitHub] jonathanrevell edited a comment on issue #394: cocoapods cordova build ios fails with linker issues (works pefectly in Xcode UI)
jonathanrevell edited 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-414734117 I did quite a bit more exploring and was able to successfully get an IPA exported with the following process: Step 1: Build the app and archive using the following command `xcodebuild clean build -workspace YourApp.xcworkspace -scheme YourApp -configuration Debug -destination generic/platform=iOS -archivePath .../YourApp.xcarchive archive CONFIGURATION_BUILD_DIR=.../cordova/platforms/ios/build/device SHARED_PRECOMPS_DIR=.../cordova/platforms/ios/build/sharedpch EMBEDDED_CONTENT_CONTAINS_SWIFT=YES ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES=NO LD_RUNPATH_SEARCH_PATHS="@executable_path/Frameworks"` Step 2: Create a **ExportOptions.plist** file with the following information: ` http://www.apple.com/DTDs/PropertyList-1.0.dtd;> teamID YOUR_TEAM_ID provisioningProfiles YOUR.BUNDLE.ID PROVISIONING_PROFILE_UUID OR XCODE NAME method ad-hoc OR app-store OR enterprise OR development uploadSymbols ` Step 3: Export the archive to build the IPA `xcodebuild -exportArchive -archivePath .../SmartPiggy.xcarchive -exportPath $(EXPOR_PATH) -exportOptionsPlist .../ExportOptions.plist` 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: us...@infra.apache.org With regards, Apache Git Services - To unsubscribe, e-mail: commits-unsubscr...@cordova.apache.org For additional commands, e-mail: commits-h...@cordova.apache.org
[GitHub] jonathanrevell edited a comment on issue #394: cocoapods cordova build ios fails with linker issues (works pefectly in Xcode UI)
jonathanrevell edited 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-414734117 I did quite a bit more exploring and was able to successfully get an IPA exported with the following process: Step 1: Build the app and archive using the following command `xcodebuild clean build -workspace YourApp.xcworkspace -scheme YourApp -configuration Debug -destination generic/platform=iOS -archivePath .../YourApp.xcarchive archive CONFIGURATION_BUILD_DIR=.../cordova/platforms/ios/build/device SHARED_PRECOMPS_DIR=.../cordova/platforms/ios/build/sharedpch EMBEDDED_CONTENT_CONTAINS_SWIFT=YES ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES=NO LD_RUNPATH_SEARCH_PATHS="@executable_path/Frameworks"` Step 2: Create a **ExportOptions.plist** file with the following information: ?xml version=1.0 encoding=UTF-8? !-- https://www.matrixprojects.net/p/xcodebuild-export-options-plist/ -- !DOCTYPE plist PUBLIC -//Apple//DTD PLIST 1.0//EN http://www.apple.com/DTDs/PropertyList-1.0.dtd; plist version=1.0 dict keyteamID/key stringYOUR_TEAM_ID/string keyprovisioningProfiles/key dict keyYOUR.BUNDLE.ID/key stringPROVISIONING_PROFILE_UUID OR XCODE NAME/string /dict keymethod/key stringad-hoc OR app-store OR enterprise OR development/string keyuploadSymbols/key true/ /dict /plist Step 3: Export the archive to build the IPA `xcodebuild -exportArchive -archivePath .../SmartPiggy.xcarchive -exportPath $(EXPOR_PATH) -exportOptionsPlist .../ExportOptions.plist` 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: us...@infra.apache.org With regards, Apache Git Services - To unsubscribe, e-mail: commits-unsubscr...@cordova.apache.org For additional commands, e-mail: commits-h...@cordova.apache.org
[GitHub] jonathanrevell edited a comment on issue #394: cocoapods cordova build ios fails with linker issues (works pefectly in Xcode UI)
jonathanrevell edited 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-414734117 I did quite a bit more exploring and was able to successfully get an IPA exported with the following process: Step 1: Build the app and archive using the following command `xcodebuild clean build -workspace YourApp.xcworkspace -scheme YourApp -configuration Debug -destination generic/platform=iOS -archivePath .../YourApp.xcarchive archive CONFIGURATION_BUILD_DIR=.../cordova/platforms/ios/build/device SHARED_PRECOMPS_DIR=.../cordova/platforms/ios/build/sharedpch EMBEDDED_CONTENT_CONTAINS_SWIFT=YES ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES=NO LD_RUNPATH_SEARCH_PATHS="@executable_path/Frameworks"` Step 2: Create a **ExportOptions.plist** file with the following information: http://www.apple.com/DTDs/PropertyList-1.0.dtd;> teamID YOUR_TEAM_ID provisioningProfiles YOUR.BUNDLE.ID PROVISIONING_PROFILE_UUID OR XCODE NAME method ad-hoc OR app-store OR enterprise OR development uploadSymbols Step 3: Export the archive to build the IPA `xcodebuild -exportArchive -archivePath .../SmartPiggy.xcarchive -exportPath $(EXPOR_PATH) -exportOptionsPlist .../ExportOptions.plist` 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: us...@infra.apache.org With regards, Apache Git Services - To unsubscribe, e-mail: commits-unsubscr...@cordova.apache.org For additional commands, e-mail: commits-h...@cordova.apache.org
[GitHub] jonathanrevell edited a comment on issue #394: cocoapods cordova build ios fails with linker issues (works pefectly in Xcode UI)
jonathanrevell edited 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-414734117 I did quite a bit more exploring and was able to successfully get an IPA exported with the following process: Step 1: Build the app and archive using the following command `xcodebuild clean build -workspace YourApp.xcworkspace -scheme YourApp -configuration Debug -destination generic/platform=iOS -archivePath .../YourApp.xcarchive archive CONFIGURATION_BUILD_DIR=.../cordova/platforms/ios/build/device SHARED_PRECOMPS_DIR=.../cordova/platforms/ios/build/sharedpch EMBEDDED_CONTENT_CONTAINS_SWIFT=YES ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES=NO LD_RUNPATH_SEARCH_PATHS="@executable_path/Frameworks"` Step 2: Create a **ExportOptions.plist** file with the following information: ` http://www.apple.com/DTDs/PropertyList-1.0.dtd;> teamID YOUR_TEAM_ID provisioningProfiles YOUR.BUNDLE.ID PROVISIONING_PROFILE_UUID OR XCODE NAME method ad-hoc OR app-store OR enterprise OR development uploadSymbols ` Step 3: Export the archive to build the IPA `xcodebuild -exportArchive -archivePath .../SmartPiggy.xcarchive -exportPath $(EXPOR_PATH) -exportOptionsPlist .../ExportOptions.plist` 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: us...@infra.apache.org With regards, Apache Git Services - To unsubscribe, e-mail: commits-unsubscr...@cordova.apache.org For additional commands, e-mail: commits-h...@cordova.apache.org