Technical Articles
iOS SAP TechEd Missions available for public
Hi community,
for those who I’ve met on SAP TechEd in 2019, I’ve promised to make the iOS TechEd missions available after TechEd and here we are.
Feel free to take a look and try them out:
- Implement an Image Classification App for Identifying Product Categories
- Create Your First iOS Application with the SAP Cloud Platform SDK for iOS
I hope you will enjoy working through the missions.
As always Happy Coding!
Thanks Kevin
Your tutorials were added to the overview blog in the section Developer Center. Were they part of the Developer Garage or any UX learning journey hands-on workshop as well?
Hi Denys van Kempen ,
the tutorials were part of the Developer Garage.
Cheers,
Kevin
Thanks, Kevin. I've completed the first Image Classification app mission at https://developers.sap.com/mission.sdk-ios-image-classifier.html
It certainly took me longer than 2hrs 10 min, but I've got it all working. At times I had to go backwards and revisit earlier sections to get things just right.
I did have a few issues, and I think 1 or 2 that could use revision in the mission code:
https://developers.sap.com/tutorials/fiori-ios-scpms-teched19-07.html
As an SAP developer, but inexperienced iOS developer, it wasn't always easy for me to follow your relative coding instructions or know exactly why I was putting code somewhere and how it matters (e.g. "Add the following lines of code inside the class brackets and right below the class definition") but I ultimately figured it out and got the app working to classify laptop and office chair images (although not the resulting category product *images* via lazy loading).
I thought highlighting my issues above might help others who find this mission later. Sharing a public repository might also help everyone get the code exactly right. I've pushed my Xcode project to GitHub here: https://github.com/douglasmaltby/SalesAssistant
Many thanks for this initial foray into the iOS SDK, Xcode and Create ML! It was worth the time from several angles!
Doug
Thank you for the Feedback.
I also completed the 2nd iOS SAP TechEd mission app "MyDeliveries" with Create Your First iOS Application with the SAP Cloud Platform SDK for iOS last weekend. But I haven't yet made the additions of adding dynamic calls for the chart or locations on the graph. I've tagged them in XCode with //FIXME: for later work.
I've put the results MyDeliveries2 (a 2nd iteration after I couldn't found where I messed up the SDK code) in github for reference here: https://github.com/douglasmaltby/MyDeliveries2 . My lesson there was to commit to source control from the beginning of the exercise...
MyDeliveries2 builds and runs perfectly from XCode in the iPhone simulator, but not on my iPhone X with 13.3.1. I get an error "dyld: Library not loaded: @rpath/SAPCommon.framework/SAPCommon" that also says framework code signatures are invalid for the private containers that it does find. Based on what I found at Stackoverflow, I think the root cause of the issue is with Apple and will be resolved in iOS 13.4. Here's the (non-SAP) thread that is the basis of my conclusion: https://stackoverflow.com/questions/60015309/running-ios-apps-causes-runtime-error-for-frameworks-code-signature-invalid
Regardless, thank you for these iOS exercises. They were both highly worthwhile and I look forward to more, especially with the SCP SDK for iOS 5.0 just released yesterday! https://blogs.sap.com/2020/03/06/cp-sdk-for-ios-5.0-released
Again, many thanks!
Doug
Again thank you for running through my missions. I will keep the community posted about more content 🙂