on 07-12-2021 2:44 PM
I try to build a App with the SAP SDK Assistant for IOS accounting to the Tutorial:
https://developers.sap.com/tutorials/fiori-ios-scpms-starter-mission-02.html
from the Step where I have to add code (Variable Platform / Products) I get a Error Message saying not in Scope.
I continued with the tutorial and have now several Scope Errors and some ESPM Error (please find Screenshot attached).
I restarted Xcode, emptied the Derived Data and rebuilt the App. Also I tried to Implement the framework manually (different Errors & and not sure if I did it correct) and also initialized a pod (also not sure if I did it correct).
Any Idea what could be the Problem ?
thanks & kind regards
Jonas
bildschirmfoto-2021-07-14-um-092840.pngDear Mr. Eidinger,
thank you so much for the reply! Your answer was very helpful and most of the issues are gone now.
Still there is one Issue "No such module 'ESPMContainerFmwk'" in ESPMContainerOffline.
I looked in the folder but there is the file. Also installed the Podfile and deleted the derived data.
Any Idea here ?
Kind regards
Jonas
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi, some changes to the generated app structure were introduced with version 6.0 of SAP BTP SDK for iOS Assistant. As the Assistant is able to generate an app extension for widgets there is a need to share code between targets. Therefore the Assistant generates a shared framework as well as for each destination (set of proxy classes) a framework gets created.
For the tutorial using the destination "com.sap.edm.sampleservice.v2" this means that proxy classes of Enterprise Sales and Procurement Model are located in generated framework named "ESPMContainerFmwk".
The generated ODataController is located in generated framework named "SharedFmwk".
Hence you need the following import statements
import ESPMContainerFmwk
import SharedFmwk
I will ask the tutorial owner to reflect those changes in the code snippets.
Cheers,
Marco
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
80 | |
24 | |
12 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.