iOS Fastlane build failed while uploading the ipa file to Testflight - ios

I use Fastlane to push a build to the App Store. Xcode installed version on my mac is 12.0 . Fastlane version installed is 2.166.0. And I am running this on a fairly good internet connection. What might be the issue here?
[15:44:34]: [32mReady to upload new build to TestFlight (App: ***********)...[0m
[15:44:36]: Going to upload updated app to App Store Connect
[15:44:36]: [32mThis might take a few minutes. Please don't interrupt the script.[0m
[15:47:04]: [31m[Transporter Error Output]: An error occurred while processing the http request for the webDAV upload.
[15:47:04]: [31m[Transporter Error Output]: An exception has occurred: Authorization Required
[15:47:06]: [31mTransporter transfer failed.
[15:47:06]: [31mAn error occurred while processing the http request for the webDAV upload.
An exception has occurred: Authorization Required

Is 2FA enabled on your Apple ID?
If so, you need to create an app-specific password and use instead.

Related

Network Extension capability missing in dev portal

I have two problems when compiling and installing an application on my iOS device.
Below are the details of the situation I find myself in.
I have an education licence (I work for a University); I log in to my developer.apple.com account, create my developer certificate, create an identity with the necessary capabilities, add the devices I need, and make a profile with all this information.
If I log in from Xcode (14 beta 6) and try to retrieve the profile automatically, I get this error: "The data couldn't be read because it is missing", and below the Try Again button, another error says: No profile for my.app.id was found. Unchecking "Automatically manage signing" and downloading the profile file from the developer portal, everything works: the code is compiled and signed, and a simple hello world app is correctly installed on my iPhone. So there is some problem downloading profiles from the developer portal. Why is this happening?
Apart from this problem (which can be overcome in some way), I cannot install the Wireguard app on my device from its source (https://github.com/WireGuard/wireguard-apple).
If I use the simulator as a target, the code compiles correctly, and the app is installed on the simulator.
However, when I try to install the app on my device, after manually loading the profile, I get that the Wireguard app does not compile because a capability is missing. More precisely, the errors are as follows:
Provisioning profile "myapp" doesn't support the Network Extensions capability
Provisioning profile "myapp" doesn't include the com.apple.developer.networking.networkextension entitlement
The developer.apple.com portal does not have the Network Extension capability, so I don't know how to add it.
I have tried removing the Network Extension capability from the app configuration and using the Private VPN capability instead. The result is that the app is compiled and installed correctly, but when I try opening the vpn, the following logs come out:
2022-09-07 17:21:50.072024+0200 WireGuard[35390:2672224] [] Failed to save configuration docks-2: Error Domain=NEConfigurationErrorDomain Code=10 "permission denied" UserInfo={NSLocalizedDescription=permission denied}
2022-09-07 17:21:50.072167+0200 WireGuard[35390:2671981] [] Failed to save configuration: Error Domain=NEVPNErrorDomain Code=5 "permission denied" UserInfo={NSLocalizedDescription=permission denied}
2022-09-07 17:21:50.072783+0200 WireGuard[35390:2671981] Add: Saving configuration failed: Error Domain=NEVPNErrorDomain Code=5 "permission denied" UserInfo={NSLocalizedDescription=permission denied}
I assume that these logs are due to the lack of the Network Extension capability that Wireguard is using.
Is the lack of this capability on the portal due to the education licence? Or is there an alternative way to solve this problem?
Thank you

App Store Connect Operation Error when Validating App with Xcode 12.5

The server returned an invalid response. This may indicate that a network is interfering with comminication, or that Apple servers are haveing issues. Please try your request again later
Error Image
I am using Xcode 12.5 to validate my flutter app after running
flutter build ipa
my network proxy setting
I have double confirmed that no proxy is in my networking setting

Problem with Openpay.framework 2.0.2 when uploading the build to the appstore

I have compiled my application but when I try to upload it to Appstore Connect I get an error when signing the Openyay.framework.

Expo iOS Build Not Working--"Could Not Receive Latest API Key from App Store Connect"

I am currently in the process of trying to build my first app using Expo-cli. I am on Windows 10. I have an Apple Developer account and am just trying to build for iOS at the moment. However, whenever I run "expo build:ios" I get the following errors:
Connection reset by peer - SSL_connect
>>Error while gathering & validating credentials
>>Error: Reason:Unknown reason, raw:"Could not receive latest API key from App Store Connect, this might be a server issue."
>>Reason:Unknown reason, raw:"Could not receive latest API key from App Store Connect, this might be a server issue."
When I run "set EXPO_DEBUG=true expo build:ios" and enter my Apple credentials, I get the following information:
Error: Reason:Unknown reason, raw:"Could not receive latest API key from App Store Connect, this might be a server issue."
at Object._callee4$ (C:\expo-cli#2.6.14\src\commands\build\auth.js:135:11)
at tryCatch (C:\Users\danie\AppData\Roaming\npm\node_modules\expo-cli\node_modules\regenerator-runtime\runtime.js:62:40)
at Generator.invoke [as _invoke] (C:\Users\danie\AppData\Roaming\npm\node_modules\expo-cli\node_modules\regenerator-runtime\runtime.js:296:22)
at Generator.prototype.(anonymous function) [as next] (C:\Users\danie\AppData\Roaming\npm\node_modules\expo-cli\node_modules\regenerator-runtime\runtime.js:114:21)
at step (C:\Users\danie\AppData\Roaming\npm\node_modules\expo-cli\node_modules\babel-runtime\helpers\asyncToGenerator.js:17:30)
at C:\Users\danie\AppData\Roaming\npm\node_modules\expo-cli\node_modules\babel-runtime\helpers\asyncToGenerator.js:28:13
at process._tickCallback (internal/process/next_tick.js:68:7)
I have tried running the server and build on multiple networks with no luck. I have not found any other questions similar to this on any platform.
Does anyone have any ideas of what I can do to solve this issue?
Thanks in advance!
It could be caused by 2 factor auth, which has been enforced recently. It was recommended by fastlane to create a different Apple account for CI only.
I had exactly the same issue.
Turned out Kaspersky Free Anti-Virus was blocking the connection.
Fixed by exiting Kaspersky - note that just pausing protection didn't help.
Updating to the latest version of Expo-cli solved this for me. It incorporates latest changes from Apple Developer Account API requiring 2FA to access account.
Run npm install -g expo-cli in terminal for project.

Enterprise build is not installing via server but can be installed by dropbox

I am trying to install enterprise app from my server but it is not installing , safari gives error "cannot connect to ", however when i look into device console it says "Could not load download manifest with underlying error: Error Domain=SSErrorDomain Code=2 "Cannot connect to iTunes Store"" , I tried a lot most of available solution but can't find proper solution .
Also when i upload same files (plist and ipa) to dropbox and tried to install via dropbox , app is successfully getting installed .
Please help , what could be problem ,while loading from server .
Exactly. You need HTTPS connection with SSL certificate. Better you go with dropbox or in easiest way go with DIAWI. Just upload app with profile and share your link.

Resources