iOS Question Compile-Problem with Xcode 11

D

Deleted member 103

Guest
Hi,

I get stuck after this error message.
Can someone explain what I can do?
My last working B4i version was 5.91.
This app does not use the in-app purchase function.

B4i Version: 6.50
Parsing code. (0.10s)
Building folders structure. (0.30s)
Compiling code. (0.51s)
Compiling layouts code. (0.06s)
Compiling debugger engine code. (0.01s)
Building Xcode project (0.20s)
Sending data to remote compiler. Error
Out: Command line invocation:
/Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild -configuration Release PRODUCT_NAME=Solitario CONFIGURATION_BUILD_DIR=/Users/<user id>xxxxx/Documents/B4iBuild-Server/UploadedProjects/<user id>/Payload "CODE_SIGN_IDENTITY=iPhone Developer: xxxxxxxxxxxxxx (yyyyyyyyyy)" "OTHER_CODE_SIGN_FLAGS=--keychain <user id>" PROVISIONING_PROFILE=fffffff-760c-4ef6-8e6a-aaaaaaa -arch arm64

Build settings from command line:
ARCHS = arm64
CODE_SIGN_IDENTITY = iPhone Developer: xxxxxxxxxxxxxxxx (yyyyyyyyyyyyyyyyy)
CONFIGURATION_BUILD_DIR = /Users/<user id>xxxxx/Documents/B4iBuild-Server/UploadedProjects/<user id>/Payload
OTHER_CODE_SIGN_FLAGS = --keychain <user id>
PRODUCT_NAME = Solitario
PROVISIONING_PROFILE = fffffff-760c-4ef6-8e6a-aaaaaaa

note: Using new build system
note: Planning build
note: Constructing build description
error: Provisioning profile "developer" doesn't support the In-App Purchase capability. (in target 'B4iProject' from project 'B4iProject')
warning: MobileCoreServices has been renamed. Use CoreServices instead. (in target 'B4iProject' from project 'B4iProject')


Error: ** BUILD FAILED **
 
D

Deleted member 103

Guest
Same problem time ago

I know that.
But it is the case that I was able to use Xcode 10.2 again, but now you are not allowed to.
 
Upvote 0
D

Deleted member 103

Guest
So, something with B4i-6.50 and Xcode 11.4 no longer works properly.
With B4i-6.00 with Xcode 10.2 and the same CertificateFile and ProvisionFile everything works perfectly.
Has anyone had the same problem and solved it? Or am I the only one with this problem?
Here again the error message.
...
note: Using new build system
note: Planning build
note: Constructing build description
error: Provisioning profile "developer" doesn't support the In-App Purchase capability. (in target 'B4iProject' from project 'B4iProject')


Error: ** BUILD FAILED **
 
Upvote 0

Semen Matusovskiy

Well-Known Member
Licensed User
You are not alone, who uses latest releases. I do not use App Purchase also and never saw similar message.
I'd delete all PlistExtra and will look results. If will not help, I'd produce new certificate/mobileprovision.
 
Upvote 0
D

Deleted member 103

Guest
I'm sure you know that it is related to a new requirement in Xcode 11.
No, unfortunately I don't know anything about xcode 11.
For me only B4i is important.

I am now trying to add Firebase to my apple-id and create a new provision profile.
 
Upvote 0
D

Deleted member 103

Guest
The IAP capability comes from Firebase. Just add it to the app id and download an updated provision profile.
Unfortunately it is not possible / allowed to add Firebase to my apple-id.

I have now forwarded the problem / bug in Xcode 11 to Apple.
You should update all apps with Xcode 11 by June 30, 2020, but Apple makes it very difficult for us. :mad:
 
Upvote 0
D

Deleted member 103

Guest
I just created an app with a specific provision profile and now I can compile.
That means you should create a specific provision profile for each app?
That can not be! What did Apple think?
 
Upvote 0
D

Deleted member 103

Guest
If you used a wildcard app id then switch to an explicit app id. All of this shouldn't take you more than 10 minutes.
Sure, I can do it.
But if it's a bug in Xcode 11, why shouldn't Apple fix that?
 
Upvote 0
D

Deleted member 103

Guest
It is only relevant for apps that use FirebaseAdMob and it is not a big issue.
Unfortunately, this is not true, because I also have the problem with apps without FirebaseAdMob.
Only for apps that do not use In-app purchase and FirebaseAdMob, there are no problems.
A wildcard app id can only be used in these apps.

It doesn't take more than 2 minutes to create an app id and provision profile.
I know it only takes 2 minutes. The problem is that it takes several hours to troubleshoot to find the right approach.
 
Upvote 0
D

Deleted member 103

Guest
Hi Erel,

can you please tell me from whom this error message comes, from B4i or from Xcode?
I ask because Apple doesn't know this error message, at least that's what Apple writes to me.

...
note: Using new build system
note: Planning build
note: Constructing build description
error: Provisioning profile "developer" doesn't support the In-App Purchase capability. (in target 'B4iProject' from project 'B4iProject')


Error: ** BUILD FAILED **
 
Upvote 0
Top