I am pretty new to IOS development and I am trying to just use the app personally first on my own. I found this site:
https://www.diawi.com/
Which let you use your app on your phone without all the hassle. The only thing is that I am getting this error when trying to upload my .ipa file.
Missing embedded mobileprovision
I am using https://www.codemagic.io/ to build the .ipa file from my project, because I have no Mac on hand. This is the command it is executing:
flutter build ios --release --no-codesign --split-debug-info=/
As you can see I am using --no-codesign in the flutter build, because you need to have an certificate from apple to use codesign. However, I am not interested, at least for now, to use my app commercially. I just want to use it for myself on my iphone.
Is this possible? If so, how?
Btw, I only use windows.
You can install only signed apps on a physical device. Doesn't matter if it's yours or someone else app.
This makes possible for Apple to cancel your certificate and delete the app from any device in a case the app is breaking a rules of Apple.
Apple has a free option for developers with Apple ID. Just go to Xcode -> Preferences -> Accounts -> Left pane, bottom menu tools bar and click "+" button.
More details from Apple website source
You can learn how to develop apps for Apple platforms for free without
enrolling. With just an Apple ID, you can access Xcode, software
downloads, documentation, sample code, forums, and Feedback Assistant,
as well as test your apps on devices. If you don’t already have an
Apple ID, you can create one here. To distribute apps, join the Apple
Developer Program.
You have to have a signed IPA to install it on your device. For that you need to have an Apple Developer Account.
In my case I do not use Codemagic but Appollo a similar tool. To be able to test the app on my device I do the following (after setting Appollo up) :
appollo build start --build-type ad-hoc
appollo build ipa
and then you just have to send the link you get to your iPhone to install the app on your device.
Or if you want to test in TestFlight run
appollo build start --build-type publication
and then in App Store Connect publish your test flight app.
I suppose there is such a functionality in codemagic too.
Related
Good Morning Dear . I'm a young developer of react native .
In my Company has a new one app but I need the build it for ios device .but I'm not yet have the developer account of apple. I just want to the app can be run on real device of ios no need to upload to the app store . How to I can build it ?
Thank you so much.
for export your app in xcode you can get .ipa format as adhoc, for run this format don't need add app in app store but you need developer account for create certification and provitionProfile for your app. for more info see that: link
some way exist for get build without developer account , but that's maybe cause some problem like , increase application size!
Yes, the app can run on a ios device without a developer accounts. You will need a Mac with Xcode installed. You can follow Expo to start things started.
I've seen a number of similar questions asked, but I'm still not sure they answer my own question. I also read this.
My specific requirements (or lack thereof) are:
I don't want my app to appear on the app store
I just want to install it manually on a number of iOS devices.
I don't mind using the terminal or a third party app.
I don't mind if the user has to manually select "trust this developer/app" from within the iOS device before being able to run the app.
I'm a little confused because what I've read says that I need a developer account, or Enterprise account, to install.
But how is this so? XCode, for example, installs the build perfectly, and I don't have a developer account. Is there not an XCode terminal comman I can execute to simply install the .app file on the device?
Or would this require jail-breaking? If so, how come? XCode does it just fine...
I understand Apple would probably want to restrict this behaviour due to security, but I wanted to ask. Perhaps the only way really is an Apple developer/Enterprise account.
Possible solutions could be:
Fruitstrap => "Install and debug iPhone apps without using Xcode. Designed to work on unjailbroken devices."
Sideloading => But I think this requires revealing your code.
EDIT: for the purpose of building the app on the device as a debug build straight from XCode, you don't need a payed Developer account, you just need to register as a Apple Developer & login to XCode with that account and you should be to build debug builds on your device.
You have a few alternatives here:
1/ export the .ipa file after you build a release version of your app in XCode and distribute it to the devices, you want to install it on. You will however need to sign your app with your certificate of iOS developer. More about it here:
https://wiki.genexus.com/commwiki/servlet/wiki?34616,HowTo%3A+Create+an+.ipa+file+from+XCode
2/ Basically the same thing as above, but you can use some 3rd party service for build distribution (which is easier than distributing .ipa files around. Something like Crashlytics Beta or something. Even TestFlight would work, tho I am not sure if app in store is not required.
Either way, you will have to deal with code signing and need to have a Apple Developer account, unless you distribute it via building it straight to the phone as a debug build.
I have my .mobileProvision and my cert generated using openssl. I have the .ipa file. I hit iOS Deployment Type = Apple App Store so that others could install it. One of my workers in my group is unable to run it on her iPhone.
I am using Adobe Animate to export it. I have a developer through apple. With Android, it's as simple as typing in the password for the cert and handing the .apk file over. Then telling them to go to their android settings and tap "Allow apps from 3rd party developers"
You have several possibilities :
Use TestFlight to invite users downloading your app before release (the procedure is well explained by Apple here)
Manually install the app on tester's iPhone thanks to Xcode (just Run the app on it)
Use third party services such as Installr which allow you to easily install your app on testers' iPhone (up to 3 device with free version)
I think Deployment Type should be something like Ad-Hoc version and not Apple App Store.
Use adhoc so they can install over wifi and i use test fairy instead of testflight.
U still have to get their udid unless u have an enterprise account
My employer doesn't have an iPhone for testing, they are also not enrolled into Apple's developer program, but they recruited me as an iOS developer.
I was told to create an app and I did it with the help of simulator.
Now, they want me to generate an IPA file of that application for their client who is in another country to test, in his iPhone. Is that even possible?
You will certainly need a developer account if you want to run your app on a physical device (unless that device is jailbroken, which I wouldn't recommend). If your employer hired you as an iOS developer, you need to inform them that a requirement to doing iOS development is a developer account.
If you are going to be writing iOS apps to deploy on client device (which you won't have physical access to), you have a couple of options.
You could have your employer pay for the enterprise developer account ($299/year). This allows you to have an In House Distribution profile, which lets you build an IPA that can run on any iOS device without the need to register the UDID for each device in the provisioning profile.
You could use Apple's TestFlight to deploy the app to your clients' devices. This still requires a paid developer account as you are basically creating an app store build and distributing to others as "beta testers". The app goes through a more lax review process, but it still must have been signed with a distribution certificate, which you only can get with a paid account.
Bottom line, if your company is asking you to develop apps professionally, you need to get them to understand that the $99/year fee is part of the process. IF they can't justify that, they shouldn't be hiring out iOS development jobs.
Without Apple developer's account it is not possible. You would not be able to archive your code either. Have a look at these documents :
Apple's documentation : Exporting Your App for Testing (iOS, tvOS, watchOS)
Stackoverflow : How to export an ipa in Xcode 7
you have to enrolled into Apple's developer program, and add all UDID into you app device ID than generate a provisional profile. install it in xcode than create an archive, zip it and upload to diawi.com. Diawi( https://www.diawi.com/ ) is best solution, It will generate a link which you can give to client and they can install it on their device directly.
I have faced same problem at start of my job :)
- but it is not possible to generate ipa without apple developer account.
- and even if you connect device to deploy then device iOS version and XCode iOS version must be same.
you have to enrolled into Apple's developer program and this is not enough. For over-the-air installation you have to use apple's testflight or hockeyapp like third party apps.
I have done my iOS app, but I don't want to submit to App Store.
Shall I pass it to my friend and run on his iPhone without jailbroken?
I heard it has some certain certificate allow other guys to run it.
I have developer account.
would you please provide some materials if have some ways to achieve it in legal.
Edit my question:
what is proper way to run the application on iPhone for testing with my remote designer? That is, he can transfer the application via itune, not xcode.
You have to register his UDID in apple developer portal. Then you can install your app on his phone from Xcode.
You can distribute your application using standard developer account certificate ($99), but it is limited to 100 devices.
Below is the documentation from Apple:
iOS developers enrolled in the Standard Program can also distribute an
app outside of the App Store on up to 100 different devices for
testing purposes only. To use ad hoc distribution, create an archive
of your app, or have a teammate send you an iOS App Store Package
(.ipa) of the archived app.
You distribute your app by providing the .ipa file for users to
install on their devices. Because you select a valid ad hoc
provisioning profile to archive the app, users don’t need to install
the profile on their device, only the .ipa file. Users can use iTunes
to install the app on their devices. If users want to use Xcode to
install the app on their device, share the archive as an .xcarchive
file package.
Detail documentation is found here