Closed va1bhav closed 1 year ago
The error happens in the cordova library. Cordova iOS does not seem to support the "new build system". For now, you have to use the "legacy build system".
@wmathurin I have verified that if I create a Ionic cordova application, I am able to build with new build system. But as soon as I add Salesforce hybird SDK, build does not work without "legacy build system". Could you please verify?
That's correct. NB: We don't officially support Ionic.
@wmathurin Thank you for your response, I built a vanilla cordova project to verify the same and the issue still persists with Salesforce SDK only. Could you please look into this if this can be fixed in next version? Thank you!
Hi any update about this? I'm facing the same issue. Cordova Packages:
cli: 11.0.0
common: 4.0.2
create: 4.0.0
lib: 11.0.0
common: 4.0.2
fetch: 3.0.1
serve: 4.0.0
Project Installed Platforms:
ios: 6.2.0
Project Installed Plugins:
com.salesforce: 10.2.0
cordova-plugin-device: 2.0.2
cordova-plugin-file: 7.0.0
cordova-plugin-ionic-keyboard: 2.2.0
cordova-plugin-statusbar: 2.4.3
Environment:
OS: macOS Monterey 12.6 (21G115) (darwin 21.6.0) x64
Node: v16.17.0
npm: 8.15.0
ios Environment:
xcodebuild:
Xcode 14.0 Build version 14A309
Please try Mobile SDK 10.2 (released this morning) on Xcode 14. Legacy build system has been removed from Xcode 14, and we have tweaked our generation script to create an application that builds without it.
@va1bhav did it work for you? We are still facing this issue, despite Mobile SDK 10.2.
@JeroenSchu I'm still facing this issue, After i added this plugin the xcode is throwing so many errors. If i use the default location for pre-user workspace settings it's throw me the error 'After adding Salesforce mobile SDK. Build fails with "New Build system" with error received in Xcode: Build input file cannot be found: '/Users/vaibhav/Downloads/sampleApp/platforms/ios/CordovaLib/Cordova/Info.plist' ', and if i choose the workspace relative location getting another error, CDVWebViewEngine too many errors emmited, stopping now.
What version of Xcode are you using ?
Xcode 14.0 Build version 14A309 I tried to add the plugin using cordova command, after that i run the pod command -- This is failed , getting the same error again. After that i tried forcehybrid,
Do you mind opening a new issue with the details of what goes wrong when you archive?
@wmathurin any updates ., i have created a new issue already-- https://github.com/forcedotcom/SalesforceMobileSDK-CordovaPlugin/issues/608
I am building an ionic application for a client using SDK 9.2. With New Build system in Xcode.
Scenario 1: Before adding Salesforce mobile SDK. Build works as expected with "New Build system" which is default Xcode setting. Scenario 2: After adding Salesforce mobile SDK. Build fails with "New Build system" with error received in Xcode: Build input file cannot be found: '/Users/vaibhav/Downloads/sampleApp/platforms/ios/CordovaLib/Cordova/Info.plist'
Scenario 3: After adding Salesforce mobile SDK. Build succeeds with "Legacy build system" which is deprecated.
Error