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

Xcode 16 issues with Provisioning Profiles #795

Open
1 task
knepe opened this issue Sep 24, 2024 · 4 comments
Open
1 task

Xcode 16 issues with Provisioning Profiles #795

knepe opened this issue Sep 24, 2024 · 4 comments

Comments

@knepe
Copy link

knepe commented Sep 24, 2024

Issue details

Recently I upgraded Xcode to latest, 16.0. After this I cannot see new/updated Provisioning Profile in the RoboVM menu -> Create IPA (using Android Studio with latest plugin). It does not find the profile if I specify it in the gradle file with iosProvisioningProfile either. I think (just guessing as I dont know much about this) that they changed the location of where they store the profiles from ~/Library/MobileDevice/Provisioning Profiles to ~/Library/Developer/Xcode/UserData/Provisioning Profiles and maybe that is why RoboVM cant find it as it looks in the old directory? I can see my new profiles in ~/Library/Developer/Xcode/UserData/Provisioning Profiles but not in ~/Library/MobileDevice/Provisioning Profiles, and if I try to copy the new profiles to ~/Library/MobileDevice/Provisioning Profiles they get autodeleted instantly.

Reproduction steps/code

Upgrade to Xcode 16.0 and create a new Provisioning Profile in developer.apple.com and Download/import it in Xcode and try to use it when signing with RoboVM

Configuration

MacOS 15.0
Android Studio 2024.1.2 Patch 1
RoboVM Intellij plugin 2.3.22-SNAPSHOT
RoboVM 2.3.22
Gradle 8.1.4

Build Tools:

  • [ x] IDEA plugin
  • Eclipse plugin
  • [ x] Gradle plugin

Versions:

Please provide the version of RoboVM, XCode and JDK used

  • Robovm: 2.3.22
  • XCode: 16.0
  • JDK:

Build Targets:
Not relevant


Stacktrace

@knepe
Copy link
Author

knepe commented Sep 25, 2024

This need to also search in the new directory I think?

@knepe
Copy link
Author

knepe commented Sep 25, 2024

A workaround that worked for me was to:

  1. move out the provisioning profiles from the old directory
  2. remove the old the directory
  3. create it again
  4. copy all profiles (old ones and new ones from Library/Developer/Xcode/UserData/Provisioning Profiles) into old directory again

Then it does not delete them instantly and I can sign my apps

@hapaboyjr
Copy link

How do you list the provisioning profiles?

@dkimitsa
Copy link
Contributor

@hapaboyjr
you can just link new location to old one

ln -s ~/Library/MobileDevice/Provisioning\ Profiles ~/Library/Developer/Xcode/UserData/Provisioning\ Profiles

as a fix is proposed and reviewed #797

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

3 participants