Friday, October 3, 2025

mananully download provisioning files intune cli for upload ipa

  • Manually Manage Profiles and Symlink:
    • Close Xcode.
    • Clear the old location: Ensure the ~/Library/MobileDevice/Provisioning Profiles folder is empty or remove its contents.
    • and clear ~/Library/Developer/Xcode/UserData/Provisioning\ Profiles
    • Create a symbolic link: Open Terminal and execute the following command to link the old location to the new one:

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


Applications/IntuneMAMPackager/Contents/MacOS/IntuneMAMPackager -i /Users/wangwei/Documents/DCYF/Mycases/MyCasesMobileMaui-Git/MyCases/bin/Release/net9.0-ios/ios-arm64/publish/MyCases.ipa -o /Users/wangwei/Documents/DCYF/DCYF-MirrorCases.ipa -p /Users/wangwei/Downloads/DCYFMirrorCasesProvisioningFile.mobileprovision -c "F7 57 26 19 34 51 A0 F8 05 24 74 EF 74 AE 0F F2 5C F9 DD 11" -ac "b2d167a5-add7-433f-bc1f-00dd90f3cd99" -ar "msauth.gov.wa.dcyf.cwit.MirrorCases://auth" -v -b