on 03-30-2017 9:21 AM
I have gone through and installed the SAP Mobile SDK and the Hybrid application toolkit. When going through the Hybrid Application Toolkit setup, in the "Build the companion app", I get the following error and I am not sure how to proceed:
Check dependencies
No profiles for 'com.sap.ide.companion' were found: Xcode couldn't find a provisioning profile matching 'com.sap.ide.companion'.
warning: no rule to process file '/Users/jaymalla/SAP/SAP_HAT_local-1.24.1/WebIdeCompanion/companionapp/CompanionApp/platforms/ios/WebIdeCompanion/Plugins/cordova-plugin-privacyscreen/PrivacyScreenPlugin.h' of type sourcecode.c.h for architecture armv7
warning: no rule to process file '/Users/jaymalla/SAP/SAP_HAT_local-1.24.1/WebIdeCompanion/companionapp/CompanionApp/platforms/ios/WebIdeCompanion/Plugins/cordova-plugin-privacyscreen/PrivacyScreenPlugin.h' of type sourcecode.c.h for architecture arm64
Code signing is required for product type 'Application' in SDK 'iOS 10.2'
** ARCHIVE FAILED **
I have the following installed:
XCode Version 8.2.1
Command Line Tools for XCode 8.2
NodeJS node-v5.4.1
SAP_HAT_local-1.24.1
Cordova 6.5.0.
Is there anything I need to do on the XCode side for the provisioning profile? I do not see any details under provisioning profile under my Apple developer ID.
Also, is it okay to use Cordova 6.5.0 or do I need to downgrade to an earlier version?
Thanks,
Jay
Jay,
The suggested cordova is 6.3.1 - please have look into this link
https://help.sap.com/viewer/8e5c63b6470a4255861c259f3b2d9b41/Cloud/en-US/d2865598e67f4ddabc79e594335...
Also, you can access the latest version HAT (version 1.25) help doc here:
https://help.sap.com/viewer/8e5c63b6470a4255861c259f3b2d9b41/Cloud/en-US/ee5b45f82bd845a2a9668e99213...
Regards,
Karunaharan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Karunaharan - Thanks for your reply. I actually just saw your replies after I submitted my reply to Jamie. Can you please take a look? I did open up the project in Xcode and tweaked the Bundle Identifier and changed the Team and then I could actually deploy this to my iPhone - but that doesn't seem to be the right way.
I will look into your document now. The document I have been going through is an older document "openSAP_mobile2_Week_0_Unit_4_SYDE2_Guide.pdf" from the open.sap.com course - https://open.sap.com/files/5e5ec32f-f743-4c6a-8842-8ab4af467ab7.
But the build in the document is for Android and not iOS. I do have the Hybrid application toolkit running with
XCode Version 8.2.1
Command Line Tools for XCode 8.2
NodeJS node-v5.4.1
SAP_HAT_local-1.24.1
Cordova 6.5.0.
I will downgrade to Cordova to 6.3.1 but I am not sure this will resolve the issue.
Thanks,
Jay
Hi Karunaharan - Thanks for your reply. I actually just saw your replies after I submitted my reply to Jamie. Can you please take a look? I did open up the project in Xcode and tweaked the Bundle Identifier and changed the Team and then I could actually deploy this to my iPhone - but that doesn't seem to be the right way.
I will look into your document now. The document I have been going through is an older document "openSAP_mobile2_Week_0_Unit_4_SYDE2_Guide.pdf" from the open.sap.com course - https://open.sap.com/files/5e5ec32f-f743-4c6a-8842-8ab4af467ab7.
But the build in the document is for Android and not iOS. I do have the Hybrid application toolkit running with
XCode Version 8.2.1
Command Line Tools for XCode 8.2
NodeJS node-v5.4.1
SAP_HAT_local-1.24.1
Cordova 6.5.0.
I will downgrade to Cordova to 6.3.1 but I am not sure this will resolve the issue.
Thanks,
Jay
Hi Karunaharan - Thanks for your reply. I actually just saw your replies after I submitted my reply to Jamie. Can you please take a look? I did open up the project in Xcode and tweaked the Bundle Identifier and changed the Team and then I could actually deploy this to my iPhone - but that doesn't seem to be the right way.
I will look into your document now. The document I have been going through is an older document "openSAP_mobile2_Week_0_Unit_4_SYDE2_Guide.pdf" from the open.sap.com course - https://open.sap.com/files/5e5ec32f-f743-4c6a-8842-8ab4af467ab7.
But the build in the document is for Android and not iOS. I do have the Hybrid application toolkit running with
XCode Version 8.2.1
Command Line Tools for XCode 8.2
NodeJS node-v5.4.1
SAP_HAT_local-1.24.1
Cordova 6.5.0.
I will downgrade to Cordova to 6.3.1 but I am not sure this will resolve the issue.
Thanks, Jay
Guys, you have to change hybrid/www/config.xml <widget id="" to your ID after the app starts to build.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Guys,
Was anyone able to solve this issue? I am facing same issue with multiple HAT Versions as well.
Any help would be appreciated as I have lost like almost two days trying different work around for this 😞
Best Regards
Fenil
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello jay
Were you able to Crack the above issue. I am also facing the same issue.
Thanks
Ram
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Jay
We you able to crack the above issue. I am also facing the same now.
Thanks
Ram
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Jay
Any luck on the above issue. I am also faciing the same Issue.
Thanks
Ram
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Jamie,
Thanks for your reply. I am just trying to set up the Hybrid application toolkit but because of this issue, I get stuck on step 3 - Build Hybrid Companion App. Then I can't proceed to the final step of Check build result - but it seems the rest of the steps were successful.
error-in-build-the-companion-app.jpg(362.3 kB)
I did open up the WebIdeCompanion.xcodeproj under:
/SAP_HAT_local-1.24.1/WebIdeCompanion/companionapp/CompanionApp/platforms/ios in Xcode
It looks the same error that the Cordova build is ru
nning into: "Failed to create provisioning profile" and also "No profiles for 'com.sap.ide.companion' were found"
I made changes to the Bundle Identifier and the Team, and then attached my iPhone. At this point, the Provisioning Profile was set to the Xcode Managed Profile and the Signing Certificate to iPhone Developer with my Apple ID. Then I could deploy this to my iPhone and it worked.
So my question is - is there a way to get this to work from the Hybrid Application Toolkit setup wizard without a work around?
Thanks,
Jay
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Jay,
Are you accessing the latest version of the document? The latest version is and here it is
Suggested cordova is 6.3.1 - please look into this link for more details on Preparing the Cordova Development Environment.
Regards,
Karunaharan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Karunaharan - Thanks for your reply. I actually just saw your replies after I submitted my reply to Jamie. Can you please take a look? I did open up the project in Xcode and tweaked the Bundle Identifier and changed the Team and then I could actually deploy this to my iPhone - but that doesn't seem to be the right way.
I will look into your document now. The document I have been going through is an older document "openSAP_mobile2_Week_0_Unit_4_SYDE2_Guide.pdf" from the open.sap.com course - https://open.sap.com/files/5e5ec32f-f743-4c6a-8842-8ab4af467ab7.
But the build in the document is for Android and not iOS. I do have the Hybrid application toolkit running with
XCode Version 8.2.1
Command Line Tools for XCode 8.2
NodeJS node-v5.4.1
SAP_HAT_local-1.24.1
Cordova 6.5.0.
Should I just downgrade Cordova to 6.3.1 in the meantime?
Thanks,
Jay
Jay,
Are you accessing the latest version of the document? The latest version is and here it is
Suggested cordova is 6.3.1 - please look into this link for more details on Preparing the Cordova Development Environment.
Regards,
Karunaharan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Karunaharan - Thanks for your reply. I actually just saw your replies after I submitted my reply to Jamie. Can you please take a look? I did open up the project in Xcode and tweaked the Bundle Identifier and changed the Team and then I could actually deploy this to my iPhone - but that doesn't seem to be the right way.
I will look into your document now. The document I have been going through is an older document "openSAP_mobile2_Week_0_Unit_4_SYDE2_Guide.pdf" from the open.sap.com course - https://open.sap.com/files/5e5ec32f-f743-4c6a-8842-8ab4af467ab7.
But the build in the document is for Android and not iOS. I do have the Hybrid application toolkit running with
XCode Version 8.2.1
Command Line Tools for XCode 8.2
NodeJS node-v5.4.1
SAP_HAT_local-1.24.1
Cordova 6.5.0.
Should I just downgrade Cordova to 6.3.1 in the meantime?
Thanks,
Jay
Seems you have to create a provisioning profile in your apple developer account for the app to build successfully. You should be able to set one up with a generic app id com.sap. Alternatively you could just ignore it and download the Companion app from the app store if you really need it.
Regards,
Jamie
SAP - Technology RIG
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.