Post not yet marked as solved
Hi, I added an ipa file on transporter and got this message:
Verifying or delivering apps requires that certain development tools bundled with Xcode are installed.>>>
I don't understand. This didn't happen before.
Post not yet marked as solved
Hello! I'm an Xcode newbie here. I compiled an app with an Xcode managed certificate and provisioning profile. I can see that the provisioning profile is renewed and I can manually download it. However, it does not embed the new provisioning profile in the app. I would like to know what I am missing or doing wrong.
I'm trying automated signing suggested in WWDC21 session with xcodebuild and authenticationKey. I have unsigned xcarchive, .p8 key generated on portal as suggested in WWDC session, and trying to sign it with:
xcodebuild -exportArchive -archivePath ./myapp.xcarchive -exportPath ./1 -exportOptionsPlist exportoptions.plist -authenticationKeyIssuerID <removed> -authenticationKeyID <removed> -authenticationKeyPath <full path to p8> -allowProvisioningUpdates
However it fails, and I can see in IDEDistributionProvisioning.log the following response from Apple:
Payload:
{"urlEncodedQueryParams":"teamId=<removed>&filter%5BcertificateType%5D=DISTRIBUTION_MANAGED&limit=200"}
2021-09-23 10:19:23 +0000 2021-09-23 10:19:23 +0000 IDEProvisioningRepair(<removed>): 2021-09-23 10:19:23 +0000 IDEProvisioningRepair(<removed>): Received response for B50672C5-10E6-40CF-996A-097BADBD0EEF @ <https://appstoreconnect.apple.com/xcbuild/v1/certificates>. Code = 0
2021-09-23 10:19:23 +0000 2021-09-23 10:19:23 +0000 IDEProvisioningRepair(<removed>): 2021-09-23 10:19:23 +0000 IDEProvisioningRepair(<removed>): Response payload: {
"errors" : [ {
"id" : "8f50dfff-8ca6-442b-aa64-92f0a91730ec",
"status" : "403",
"code" : "FORBIDDEN_ERROR",
"title" : "This request is forbidden for security reasons",
"detail" : "You are not allowed to perform this operation. Please check with one of your Team Admins, or, if you need further assistance, please contact Apple Developer Program Support. https://developer.apple.com/support"
} ]
}
If I'm trying to sign with my Dev account logged in into XCode, xcodebuil uses it instead and signing completes with no issues.
Did I miss something?
Post not yet marked as solved
I am trying to build my app on app center, but Achieve is getting failed, though I works locally on xcode.
The error is: While build getting this error: "xxxxx" requires a provisioning profile with the In-App Purchase and Push Notifications features. Select a provisioning profile in the Signing & Capabilities editor. (in target 'xxxxxx' from project 'xxxxxx')
** ARCHIVE FAILED **
##[error]Error: /usr/bin/xcodebuild failed with return code: 65
I did check that the provisioning profile has in-app purchase and push notification features added.
Any points will be really appreciated. Thank you.
Post not yet marked as solved
Hi Everyone,
I have been stuck on this error for the past week going around all possible solutions I found online and nothing works.
Can you please guide me on how I can solve this?
I am trying to build the app on Xcode and I am getting this error:
/bin/sh -c /Users/rogeranttshibangu/Library/Developer/Xcode/DerivedData/Runner-auyfpoaqieytnldpknrocgjqghkv/Build/Intermediates.noindex/Runner.build/Debug-iphonesimulator/Runner.build/Script-9740EEB61CF901F6004384FC.sh
/bin/sh: /packages/flutter_tools/bin/xcode_backend.sh: No such file or directory
Command PhaseScriptExecution failed with a nonzero exit code
Post not yet marked as solved
Hello!
I am trying to use the new Xcode 13 Cloud Signing feature (authenticationKeyPath & friends) to archive (and eventually upload) my iOS app via a CI service (GitHub actions in this case). My xcodebuild invocation is as such:
xcrun xcodebuild archive \
-workspace '/path/to/MyApp.xcworkspace' \
-scheme 'MyApp - App Store' \
-archivePath '/path/to/output.xcarchive' \
-allowProvisioningUpdates \
-authenticationKeyID 'KEY_ID_HERE' \
-authenticationKeyIssuerID 'ISSUER_ID_HERE' \
-authenticationKeyPath '/complete/path/to/key.p8' \
-destination 'generic/platform=iOS,name=Any iOS Device'
The first run on CI with this invocation succeeds! The second run (i.e. on a clean machine) outputs this error:
error: Revoke certificate: Your account already has an Apple Development signing certificate for this machine, but its private key is not installed in your keychain. Xcode can create a new one after revoking your existing certificate. (in target 'MyApp' from project 'MyApp')
The "Certificates, Identifiers, & Profiles" page does, indeed, list a certificate created by the API key in question. If I revoke this certificate, the next build succeeds and the one after that fails.
I thought the idea with Cloud Signing was to keep from manually installing certificates & provisioning profiles. Am I misunderstanding something?
Is there a modification I can make to this command to make it succeed? Do I need to manually create & install development certificate?
Xcode version: 13.2 beta 2
macOS version: 11 (macOS 12 is not yet supported on GitHub actions)
API key: has admin role
(As a sidenote: I have tried Xcode Cloud, but it suffers random failures & long build times, plus it won't work for all my apps. So that's not currently a viable alternative for me.)
Post not yet marked as solved
I tried to make use of the new cloud signing options to xcodebuild -exportArchive on our CI server, as explained in WWDC21 session 10204, but bumped into the seemingly arbitrary limitation that distribution signing requires an App Store Connect API key with Admin-level access. Why is that?
In this case, I am trying to run the command
$ xcodebuild -exportArchive \
-archivePath build/MyApp.xcarchive \
-exportOptionsPlist exportOptions-AppStore.plist \
-exportPath build \
-allowProvisioningUpdates \
-authenticationKeyPath AuthKey_$KEY_ID.p8 \
-authenticationKeyID $KEY_ID \
-authenticationKeyIssuerID $ISSUER_ID
but using a non-admin $KEY_ID (with Developer or App Manager access only) results in xcodebuild printing this error:
error: exportArchive: Cloud signing permission error
Error Domain=DeveloperAPIServiceErrorDomain Code=5 "Cloud signing permission error" UserInfo={IDEDistributionIssueSeverity=3, NSLocalizedRecoverySuggestion=You haven't been given access to cloud-managed distribution certificates. Please contact your team's Account Holder or an Admin to give you access. If you need further assistance, contact Apple Developer Program Support at https://developer.apple.com/contact/., NSLocalizedDescription=Cloud signing permission error}
...
The only way I have found for the above command to succeed is through the use an API key with Admin access. But in a company with several teams and CI servers sharing one App Store team, scattering unconstrained admin access around like that seems like a strong no-go.
So a feature request, if I may!
Now, the error I'm seeing appears to be the same effective error as what's seen by a developer who haven't got the "Access to Cloud Managed Distribution Certificate" setting checked under their App Store Connect user account.
So would it be possible to somehow enable that access for a given API key as well?
(Even better if API keys could also be limited to specific apps like user accounts can. But I realise it's a known issue as documented in the note in the docs.)
Post not yet marked as solved
Hello
I've been getting this error via Xcode for the past 4 months every time I tried to export an App onto my iPhone. I can't update my Apps or publish new Apps. the message is
“SIGNING FOR BBPLAYER “REQUIRES A DEVELOPMENT TEAM. SELECT A DEVELOPMENT IN THE SIGNING & CAPABILITIES EDITOR" . Even one is already select. I go to preference to check and
everything looks good but every time I try, it just doesn't want to work.
Post not yet marked as solved
Is it possible to restrict the devices to be targeted when distributing Ad Hoc using Xcode 13 and cloud signing?
For example, if devices A, B, and C are registered in "Certificates, Identifiers & Profiles > Devices", then limit the devices to A and B only.
Post not yet marked as solved
The key UIRequiredDeviceCapabilities in the Info.plist may not contain values
I have already tried adding in all targets.
This is what I have in my Info.plist
<array>
<string>armv64</string>
</array>
Expo IOS App
I'am trying to download an app from appCenter (internal distribution) and this integrity message appears. I've searched for possibles solutions but it didn't worked well.
I already tried:
Change my build number
Change my Bundle Identifier
Generate new certs (mobileProvision and .p12)
Update my Expo SDK (44)
None of this topics above worked and i still can't install my app.
Any ideas to solve this problem?
Versions:
Simulator: IOS 15.2 Iphone 13
Mac OS: Monterey 12.1
Expo cli: 5.0.3
Node: 12.13.01
Xcode: 13.2.1
Expo SDK: 44
Post not yet marked as solved
Hi there,
I have a UK VAT registered business and my accountant is asking me whether we are charging VAT on our services (i.e. paid subscriptions) through Apple.
What I can't find is whether Apple charge VAT and the amount we receive from Apple is:
a) Take Home = Total Sales - Apple Commission - VAT
or
b) Take Home = Total Sales - Apple Commission
I understand this will be different in different countries, but I'm specifically interested in the case of a UK company,
Thank in advance!
Post not yet marked as solved
I cannot login back to my apple id in Xcode distribution panel. It says that My session expired and I should log in but it's stuck on this screen.
Kindly assist.
Xcode version: 13.1
OS version: macOS Monterey 12.2
Post not yet marked as solved
Hi Im using Xcode 13 and MacOS Monterey.
When I'm running on debug it displays the correct build. (the current version 1.1)
But, when I'm archiving the project, the build was version 1.0
But on the app it shows 1.1 on version number
What I already did
clean the build folder
delete the derived folder
delete all the archived folder
pod deintegrate and pod upgrade
Are there any possible solutions?
Hello guys!
I faced a problem with building...
My device suddenly updated to iOS 15.4.1, my Xcode was 13.2 and I had to update it to the latest version (13.3.1) to build the app. After the update, I had a few problems which were successfully solved but one of them stopped me for a few hours. The problem is with Bridging Headers or Swift Compiler, I really don't know what I did badly, and what causes problems.
On several forums I often read that is important to set:
Build Settings > Build Options > Build Libraries for Distribution
But in any case it doesn't work, on yes:
error: using bridging headers with module interfaces is unsupported
on no:
(line with import framework SWXMLHash) /Users/blablabla/SSLModel.swift:9:8: error: module compiled with Swift 5.5.1 cannot be imported by the Swift 5.6 compiler: /Users/blablabla2/Build/Products/Debug-iphoneos/SWXMLHash.framework/Modules/SWXMLHash.swiftmodule/arm64-apple-ios.swiftmodule
import SWXMLHash
It will be important that I use Carthage.
What should I do?
Clone all 10 frameworks that I use and re-build them with a new Xcode which includes compiler 5.6? That may be a bad solution... Any answers on similar topics don't help..
Post not yet marked as solved
When I try to archive my game that I built with unity I run into this error.
the build worked with simulatore device.
someone know how to solve it ?
Post not yet marked as solved
In wwdc21-10204 the presenter walks through an example of using the the xcodebuild tool to automate Xcode cloud signing which is useful for CI. Something like the following:
xcodebuild -exportArchive \
-archivePath Build/Foo.xcarchive \
-exportOptionsPlist exportOptions.plist \
-exportPath Build/Foo.ipa \
-authenticationKeyIssuerID XXXX \
-authenticationKeyID XXXX \
-authenticationKeyPath ~/AuthKey_XXXX.p8 \
-allowProvisioningUpdates
code-block
Note how this would not require an account to be logged into Xcode. This works fine for Apple Developer accounts but am I correct that there is no way for this to be done with Apple Enterprise Developer accounts? Presumably it cannot because we cannot create an AppStoreConnect API key with an Enterprise account. As such it would seem the only way to make it work is to have Xcode be logged in with the Enterprise account correct?
Post not yet marked as solved
Example for google.com as an item name, I have two keychain items with the name "Foo", one in KeychainA another in keychainB.
When I run the following which password should be retrieved? Password from KeychainA or KeychainB?
Does it retrieve items from keychains by prioritizing retrieval from 'default' keychain first? Or it's sorted by the keychain name? or it prioritizes items based on date?
security find-generic-password -w -s 'google.com' -a 'Foo'
I asked because we often have certs that are duplicated across keychains and when I run the command above, the item is retrieved from a locked keychain. Which causes an OS prompt and that halts our Jenkins/CI.
Post not yet marked as solved
Hi All,
We are working on a Flutter app. For ios testing, we have uploaded build to TestFlight few times before, but today getting 'Error analyzing app version' when trying to Validate App. Show logs is of no help. How to resolve this issue?
Xcode version is 13.3.1.
App version number is 1.0.0
Build 1.0003
Post not yet marked as solved
This request is forbidden for security reasons: Authentication Error. Xcode 7.3 or later is required to continue developing with your Apple ID.