Closed gptlang closed 10 months ago
My is to be able to get my own app onto my phone via AltStore.
What I did instead was:
fyne package
ipatool
App.app
in Payload
after unzipping the IPAapp.ipa
Would still be nice if this could work though
You are passing a filename instead of the name of the provisioning profile. You need to have double clicked it to install, then pass the name that you gave the profile which is stored inside the file.
In addition do not export the certificate but simply pass its name on the parameter, it will be looked up through your keychain.
For some reason, I can only open the provisioning profiles in XCode.
Am I looking at the right ones?
~/Library/MobileDevice/Provisioning\ Profiles/08f8feac-9ab3-420c-ab7d-7f41a5546fd7.mobileprovision
Note: My paid developer account expired. I don't have access to "Certificates, Identifiers & Profiles"
That is the right directory. Quickview will show you the name of the profile if you press spacebar in Finder.
If your account has expired then the certificates may no longer work.
Success with new error:
/var/folders/2l/zhsxm4ks3tb7c9pd981t_nsm0000gn/T/fyne-work-3829971956/main.xcodeproj: warning: The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 9.0, but the range of supported deployment target versions is 12.0 to 17.0.99. (in target 'main' from project 'main')
/var/folders/2l/zhsxm4ks3tb7c9pd981t_nsm0000gn/T/fyne-work-3829971956/main.xcodeproj: error: Provisioning profile "iOS Team Provisioning Profile: dev.duti.Testing" is Xcode managed, but signing settings require a manually managed profile. (in target 'main' from project 'main')
** BUILD FAILED **
Xcode says that the certificate is valid for 6 more days
How did you create that profile? It sounds like you didn't do so using their provisioning and certification service online?
It was made via xcode. Looks like this requires an actual paid developer account. My workflow works for me so I'll close this issue.
Workaround: Build app, put in "Payload" folder, zip it, rename to ipa, send it off to AltStore for provisioning. Stuff can be unsigned and missing, it doesn't matter.
I hope your app got published ok. Is there a doc you could share that shows how no signing is ok for this type of upload?
Checklist
Describe the bug
How to reproduce
git clone https://github.com/fyne-io/calculator
~/Library/MobileDevice/Provisioning\ Profiles
openssl pkcs12 -info -in DeveloperCert.p12 -nodes -legacy
, then saving the certificate into a fileScreenshots
No response
Example code
See https://github.com/fyne-io/calculator
Fyne version
2.4.2
Go compiler version
go1.21.4
Operating system and version
MacOS Sonoma 14.1.2
Additional Information
fyne package -os ios -appID com.example.myapp
works and producesCalculator.app
. The issue is exclusively with release.The path specified does not exist (
/tmp/fyne-work-3356407224/main.xcodeproj: cannot open
/tmp/fyne-work-3356407224/main.xcodeproj' (No such file or directory)`)