Closed xueligoh closed 4 years ago
Hi @xueligoh ,
I am able to build the app when opening HelloWorld.xcworkspace
in XCode directly vs running cordova build ios
. We're investigating why running cordova build ios
directly does not build your project, but in the meantime I'd suggest using the .xcworkspace
file in XCode directly vs command line.
Hey guys, any update on that? I'm having the same issues as @xueligoh
It appears to be an issue with how imports were changed in the last release (see https://github.com/Appboy/appboy-cordova-sdk/commit/3f9262f736205d8893b183f1afd79d3b86f68550#diff-73820c7b9dca00770bc1c4c543748cd4R2). This was done to address the deprecation warning cordova gave about using the old podspec format (see https://github.com/Appboy/appboy-cordova-sdk/commit/3f9262f736205d8893b183f1afd79d3b86f68550#diff-53f390d375398624afe1cfe1125f42bfL39). I will update this thread with more as the investigation continues.
@cauanicastro are you able to build ios when opening the *.xcworkspace
directly in XCode vs running cordova build ios
?
Awesome! Thank you for looking into that!!
It appears to be an issue with how imports were changed in the last release (see 3f9262f#diff-73820c7b9dca00770bc1c4c543748cd4R2). This was done to address the deprecation warning cordova gave about using the old podspec format (see 3f9262f#diff-53f390d375398624afe1cfe1125f42bfL39). I will update this thread with more as the investigation continues.
Thank you! I can confirm that reverting back to <framework src="Appboy-iOS-SDK" type="podspec" spec="~> 3.20.2" />
in plugin.xml
resolves iOS project building and running using Cordova commands
@eliasku thank you for checking that. To confirm, that was done on the 2.13.0 SDK and no other changes were made to fix? And the exact build commands in https://github.com/Appboy/appboy-cordova-sdk/issues/48#issue-562184820 now work after that change?
@radixdev yes, just revert <podspec>
tag to previous <framework>
. Checked commands: cordova build ios
and cordova run ios
. I'm not familiar with the latest Cordova iOS configuration specs, maybe <podspec>
is not configured properly.
Can't say for another versions or environment, my list:
@radixdev hello.
Sorry, 2 weeks ago I totally messed up and miss something, maybe plugin is not added properly and build was success, but today our team facing the issue again:
1) When building from command-line cordova build ios
- all AppBoy headers are missing and we have 2 compile errors.
2) When building from XCode workspace - we have successful build
Please suggest
Hi all,
We have reverted the plugin.xml tag back to using framework. Please let us know if 2.14.0 fixes your issue.
I'm closing this issue for now. Please let me know if you continue to have issues and we'll debug further.
Hi,
We are facing error with building the cordova app for iOS with appboy-cordova-sdk 2.13.0
Steps carried out:
Error Encountered
Additional information:
Please kindly advise. Thank you.