eas-cli: Adding a Internal distribution profile using eas device:create doesn't work in iOS 17

Summary

After having successfully built my local preview build using “eas build --local” In preview mode I am left with the .ipa that I dragged to my iPhone using Xcode after having installed the provisioning profile. Had I thought it had successfully been installed, I realised that the ‘eas device:create’ process never worked and that my provisioning profile never installed After inspecting the logs of my iPhone 14 Pro Max; I found this error

Failed to parse profile data. Error: NSError:
Desc   : Profil non valide
US Desc: Invalid Profile
Domain : MCProfileErrorDomain
Code   : 1000
Type   : MCFatalError

And another one

Failure occurred while retrieving profile during OTA Profile Enrollment: NSError:
Desc   : Profil non valide
US Desc: Invalid Profile
Domain : MCProfileErrorDomain
Code   : 1000
Type   : MCFatalError
Extra info:
{
    MCPermanentlyRedirectedURLString = "https://expo.dev/register-device/XXXXX?udid=XXXXX";
}

which leads to a never-ending loop of me pressing on “Install profile” and being redirected in Safari to the Expo page, but really nothing installed

What platform(s) does this occur on?

iOS

SDK Version

^49.0.0

Environment

expo-env-info 1.0.5 environment info: System: OS: macOS 13.5.2 Shell: 5.9 - /bin/zsh Binaries: Node: 18.16.0 - /usr/local/bin/node Yarn: 1.22.19 - /usr/local/bin/yarn npm: 9.5.1 - /usr/local/bin/npm Watchman: 2022.08.08.00 - /usr/local/bin/watchman Managers: CocoaPods: 1.11.3 - /usr/local/bin/pod SDKs: iOS SDK: Platforms: DriverKit 23.0, iOS 17.0, macOS 14.0, tvOS 17.0, watchOS 10.0 IDEs: Android Studio: 2021.3 AI-213.7172.25.2113.9014738 Xcode: 15.0/15A240d - /usr/bin/xcodebuild npmPackages: expo: ^49.0.0 => 49.0.10 react: 18.2.0 => 18.2.0 react-dom: 18.2.0 => 18.2.0 react-native: 0.72.5 => 0.72.5 react-native-web: ~0.19.6 => 0.19.8 npmGlobalPackages: eas-cli: 3.12.1 Expo Workflow: bare

Minimal reproducible example

Try to add a device to an internal build using eas device:create; in iOS 17.0.2, the process doesn’t go through.

About this issue

  • Original URL
  • State: closed
  • Created 9 months ago
  • Comments: 15 (3 by maintainers)

Most upvoted comments

Hi there, I tested that even though installation in iPhone UI doesn’t look like it finished I was able to add the device successfully to EAS devices and it’s available on my devices list in the eas device:list command output. I also tested that I can create an internal distribution build and install it on the device successfully.

So functionality-wise it’s working, but the UI feedback isn’t great. We will try to do something about it, but meanwhile, you should be able to successfully use these devices for internal distribution builds.

Having the same issue here: iOS 17.1.1 iPhone 15 Pro Max Install profile screen pops up but doesn’t complete install it redirects to expo saying device is ready for development but the profile stays at ‘downloaded’