Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Code signing error #156

Open
Trikos opened this issue Oct 25, 2020 · 5 comments
Open

Code signing error #156

Trikos opened this issue Oct 25, 2020 · 5 comments

Comments

@Trikos
Copy link

Trikos commented Oct 25, 2020

Hi, using this library on iOS, after setting up everything Im getting these errors:

1 Code Signing Error: Provisioning profile "iOS Team Provisioning Profile: *" doesn't support the In-App Purchase capability.
2 Code Signing Error: Code signing is required for product type 'Application' in SDK 'iOS 14.1'

 BUILD FAILED 


The following build commands failed:
  Check dependencies

Before this one I also get the "doesnt support messaging" I solved it inserting the correct
APP_ENTITLEMENTS.name = DEVELOPMENT_TEAM
APP_ENTITELMENTS.value = MyValue

Does iOS Team Prov. Prof means something or is just a generic name?
My app hasnt the ability to purchase but only the PushNotification.
1 Should I enable from developer.apple.com in the console and add this ability?
2 I dont understand what product 'Application' is.
Hope you can help me. Thank you
(I already added analytics along with messaging because it is required)

EDIT:
Checking my developer console I found that In-App purchase is active but gray out and Push is active in black:
photo_2020-10-25_19-12-29

@larpon
Copy link
Owner

larpon commented Oct 25, 2020

You have to sign your app with a provisioning profile that have the right permissions I guess.

There must be guides or StackOverflow answers for this online?

I haven't built a signed iOS app for years and cannot help with DRM issues, sorry.

@Trikos
Copy link
Author

Trikos commented Oct 25, 2020

I have to sign my app on QT?
Because my xCode is all setted up

@Trikos
Copy link
Author

Trikos commented Oct 26, 2020

I already have an xCode account with all certificates working. I tried to build an app from zero on xCode using cocoa pods and it works flawlessly. So all the certificates are fix

@Trikos
Copy link
Author

Trikos commented Dec 27, 2020

Hi @larpon Can you tell me how to not use the App signed?
Im trying to build it without sign but I get errors:

`
=== BUILD AGGREGATE TARGET Qt Preprocess OF PROJECT App WITH CONFIGURATION Debug ===

Check dependencies

PhaseScriptExecution Qt\ Qmake .xcode/App.build/Debug-iphoneos/Qt\ Preprocess.build/Script-5E618435888B9D49F8540165.sh
cd /Users/Desktop/Nicolo/Larpoon/QtFirebaseExample/build-App-Qt_5_13_2_for_iOS-Debug
/bin/sh -c "/Users/Desktop/Nicolo/Larpoon/QtFirebaseExample/build-App-Qt_5_13_2_for_iOS-Debug/.xcode/App.build/Debug-iphoneos/Qt\ Preprocess.build/Script-5E618435888B9D49F8540165.sh"
make[1]: warning: jobserver unavailable: using -j1. Add +' to parent make rule. make[1]: App.xcodeproj/project.pbxproj' is up to date.

PhaseScriptExecution Qt\ Preprocessors .xcode/App.build/Debug-iphoneos/Qt\ Preprocess.build/Script-7EF0942E79C014DCEC8976BC.sh
cd /Users/Desktop/Nicolo/Larpoon/QtFirebaseExample/build-App-Qt_5_13_2_for_iOS-Debug
/bin/sh -c "/Users/Desktop/Nicolo/Larpoon/QtFirebaseExample/build-App-Qt_5_13_2_for_iOS-Debug/.xcode/App.build/Debug-iphoneos/Qt\ Preprocess.build/Script-7EF0942E79C014DCEC8976BC.sh"
make[1]: warning: jobserver unavailable: using -j1. Add +' to parent make rule. make[1]: Nothing to be done for preprocess'.

=== BUILD TARGET App OF PROJECT App WITH CONFIGURATION Debug ===

Check dependencies
Code Signing Error: Provisioning profile "iOS Team Provisioning Profile: *" doesn't support the In-App Purchase and Push Notifications capability.
Code Signing Error: Provisioning profile "iOS Team Provisioning Profile: *" doesn't include the aps-environment entitlement.
Code Signing Error: Code signing is required for product type 'Application' in SDK 'iOS 14.2'

BUILD FAILED

The following build commands failed:
Check dependencies
(1 failure)
make: *** [xcodebuild-debug-device] Error 65
16:16:04: The process "/usr/bin/make" exited with code 2.
Error while building/deploying project App (kit: Qt 5.13.2 for iOS)
When executing step "Make"
`

@larpon
Copy link
Owner

larpon commented Dec 28, 2020

No idea, sorry 🤷‍♂️

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants